fix for running puppet as nonroot

18 views
Skip to first unread message

Corey Osman

unread,
Nov 6, 2013, 12:56:48 AM11/6/13
to Puppet Users
Hi,

For those of you running puppet as non root and are using puppet to manage itself via service, exec or want to use the moo puppet command I have found a fix and submitted a pull request to fix this problem in puppet core. This problem is only unique to non root installations.


See http://projects.puppetlabs.com/issues/23053


Example usage in puppet.

# Due to this bug we cannot control puppet with puppet
service{"puppet":
ensure => “running",
provider => "init",
hasstatus => true,
hasrestart => true,
path => $initd_dir,
}

Example usage in mcollective:

mco puppet …

Just thought I would share as I am sure others are running into this issue.



Corey


Reply all
Reply to author
Forward
0 new messages