Project

General

Profile

Bug #2065

Puppetrun doesn't work in Puppet version > 3.x

Added by Peter van Arkel over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

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'.

====
20121220/#theforeman@freenode
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.


Related issues

Related to Foreman - Feature #2116: Use MCollective to trigger Puppet runsClosed2013-01-08

Associated revisions

Revision cfff236a (diff)
Added by Dominic Cleal over 9 years ago

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.

Revision aeb9463f (diff)
Added by Dominic Cleal over 9 years ago

refs #2065 - provide version dependent puppetrun/kick path

History

#1 Updated by Dominic Cleal over 9 years ago

  • Category set to Puppet integration
  • Target version set to 1.1

I think we'll need to detect puppet kick versus puppetrun in a similar way to puppetmasterd/puppet master and puppetca. sudoers rules in the installer will also need updating.

#2 Updated by Drew Blessing over 9 years ago

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/]]

#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

#5 Updated by Dominic Cleal over 9 years ago

  • Status changed from Ready For Testing to Resolved

Both merged.

Also available in: Atom PDF