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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
sudo puppetrun for apache? :) On Tue, Mar 2, 2010 at 11:27 PM, Matt <mattmoran76@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-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Trying this now Ohad :-S On 2 March 2010 15:57, Ohad Levy <ohadlevy@gmail.com> wrote:> sudo puppetrun for apache? :) >On Tue, Mar 2, 2010 at 11:27 PM, Matt <mattmoran76@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-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@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-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.