Puppetrun doesn't work in Puppet version > 3.x
In the foreman interface, you're still able to use the puppetrun-method. However, this is deprecated in Puppet v3 and up and is superceded by 'puppet kick'.
16:56:34 < Dominic> peterva: could you file a bug please? I think it'll need a few small updates to use puppet kick instead of puppetrun, update sudoers rules etc.
fixes #2065 - use version dependent puppetrun/kick path
Specify wildcard in sudoers rules to enable "puppet kick <host>", else sudo
doesn't permit additional arguments.
#3 Updated by Dominic Cleal over 9 years ago
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
Drew Blessing wrote:
I believe puppet kick is deprecated as of 3.0 as well. Per Eric Sorenson at PuppetLabs the preferred method going forward is MCollective for central stuff like this. [[http://puppetlabs.com/blog/say-hello-to-puppet-3/]]
Agreed, MCollective is the way forward. This change is only to re-enable the current kick functionality, but we should be looking to integrate with the mco puppetd plugin in the future.
#4 Updated by Dominic Cleal over 9 years ago
- Status changed from Assigned to Ready For Testing
The proxy already has the required logic thanks to #1066.