[Puppet Users] puppetrun as non root

2010-03-02 Thread Matt
Hi all,

Trying to get puppetrun executed from a php app and have hit a wall with
permissions.

If I run it as root it works fine, and if I run the .php file as root it
also works.  But executing under apache causes a authentication error on the
puppet client.

puppet clients namespaceauth.conf
[puppetrunner]
allow puppet.local
[puppetbucket]
allow *.local
[puppetreports]
allow *.local
[resource]
allow puppet.local

puppetd --version - 0.25.1

notice: Denying unauthenticated client puppet.local(192.168.0.2) access to
puppetrunner.run

Any idea how I can get the client to trust the puppetmaster when puppetrun
is run as a user other than root?

Thanks,

Matt

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] puppetrun as non root

2010-03-02 Thread Matt
Trying this now Ohad :-S

On 2 March 2010 15:57, Ohad Levy ohadl...@gmail.com wrote:

 sudo puppetrun for apache? :)


On Tue, Mar 2, 2010 at 11:27 PM, Matt mattmora...@gmail.com wrote:

 Hi all,

 Trying to get puppetrun executed from a php app and have hit a wall with
 permissions.

 If I run it as root it works fine, and if I run the .php file as root it
 also works.  But executing under apache causes a authentication error on the
 puppet client.

 puppet clients namespaceauth.conf
 [puppetrunner]
 allow puppet.local
 [puppetbucket]
 allow *.local
 [puppetreports]
 allow *.local
 [resource]
 allow puppet.local

 puppetd --version - 0.25.1

 notice: Denying unauthenticated client puppet.local(192.168.0.2) access to
 puppetrunner.run

 Any idea how I can get the client to trust the puppetmaster when puppetrun
 is run as a user other than root?

 Thanks,

 Matt

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To post to this group, send email to puppet-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.compuppet-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To post to this group, send email to puppet-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.compuppet-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.