Skip to content

(#15717) Restore puppet kick functionality#1200

Merged
joshcooper merged 2 commits intopuppetlabs:3.0.xfrom
zaphod42:ticket/3.0.x/15717-puppet-kick-broken
Oct 4, 2012
Merged

(#15717) Restore puppet kick functionality#1200
joshcooper merged 2 commits intopuppetlabs:3.0.xfrom
zaphod42:ticket/3.0.x/15717-puppet-kick-broken

Conversation

@zaphod42
Copy link
Contributor

@zaphod42 zaphod42 commented Oct 2, 2012

The puppet kick functionality in 3.0.0 had been broken in two ways:

  1. Through not having the puppet/run file loaded
  2. Through not admiting the new :pluginsync option during initialization

This pull request fixes both of those problems and allows puppet kick to work
again, but leaves it deprecated

Commit 81c73fd had accidentally removed
any requires of the `puppet/run` file and so the code needed for kick
was not being loaded. This adds loading of that file back into the agent
application.
Commit 62420c6 changed the way that
agents decided to perform a pluginsync to have a flag passed in. The
initialize method of Puppet::Run tries to validate the options passed in
and failed when it recieved the new option. This makes the new option
validate and restores the ability to use puppet kick.
@ahpook
Copy link
Contributor

ahpook commented Oct 2, 2012

+1 I tested locally and it works here

@joshcooper joshcooper merged commit 7d0e1bd into puppetlabs:3.0.x Oct 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants