Skip to content

2.7.x - merge 2.6.x branch up#334

Merged
jeffmccune merged 4 commits intopuppetlabs:2.7.xfrom
slippycheeze:feature/2.7.x/merge-2.6.x-branch
Jan 13, 2012
Merged

2.7.x - merge 2.6.x branch up#334
jeffmccune merged 4 commits intopuppetlabs:2.7.xfrom
slippycheeze:feature/2.7.x/merge-2.6.x-branch

Conversation

@slippycheeze
Copy link
Copy Markdown
Contributor

This merges the changes on the 2.6.x branch up into the 2.7.x branch, including a hand-merge correcting an additional failure in the spec tests due to SystemExit needing to be caught in the newer branch.

ripienaar and others added 4 commits January 11, 2012 17:21
The Puppet::Daemon instance sets up the pid file when it starts
but it's up to the user of that object to arrange for stop to be
called

There are signal handlers setup to call stop but in a onetime run
those are never called

This change arrange for the stop method to be called after a onetime
run is done but do not hand the task of exiting the application over
to that so that the agent application can handle the report status
based exit codes
(#5246) Puppetd does not remove it's pidfile when it exits
The 2.6 spec tests didn't catch the SystemExit exception thrown by the call to
Kernel#exit in the one-time agent, while the 2.7 branch demands that.  This
adds the extra expectation to ensure that the specs pass.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
jeffmccune pushed a commit that referenced this pull request Jan 13, 2012
@jeffmccune jeffmccune merged commit b79be3b into puppetlabs:2.7.x Jan 13, 2012
hlindberg pushed a commit to hlindberg/puppet that referenced this pull request Oct 16, 2014
melissa pushed a commit to melissa/puppet that referenced this pull request Mar 30, 2018
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