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