[PUP-3982] Ensure puppet service supports conditional restart Created: 2014/10/21  Updated: 2015/04/09  Resolved: 2015/02/24

Status: Closed
Project: Puppet
Component/s: None
Affects Version/s: None
Fix Version/s: PUP 4.0.0

Type: Task Priority: Normal
Reporter: Past Haus Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MCO-591 Ensure mco service supports condition... Closed
Relates
Template:
Epic Link: Puppet Agent 1.0
Story Points: 3
Sprint: Client 2015-02-18, Client 2015-03-04

 Description   

To ensure clean upgrades, calling conditional restart/try-restart/condrestart in the post will be a better experience. Currently, only puppet and mcollective have services that will need to updated. Debian and redhat support this behavior, I don't know about OSX, solaris, or AIX for this.



 Comments   
Comment by Past Haus [ 2015/02/09 ]

Branan Riley I have a gift for you.

Comment by Branan Riley [ 2015/02/10 ]

I based this on nate wolfe's branch, but he doesn't want to merge it in (trying to keep his branch focused on just making things work).

Once his code is merged I'll rebase this and open a PR against puppetlabs master

Comment by Kylo Ginsberg [ 2015/02/21 ]

I moved this to Ready for Test based on CI passing this build: https://jenkins.puppetlabs.com/view/All%20in%20One%20Agent/view/Integrated%20Acceptance/job/platform_aio-component_intn-sys_master/70/

Unfortunately artifacts weren't preserved due to downstream CI pipeline woes, so we'll need to sort those out before this can actually be tested.

Comment by Josh Cooper [ 2015/02/23 ]

Builds are available in http://builds.puppetlabs.lan/puppet-agent/bc00b6e7106846aae0af5b915976a8d192e53803/

Comment by Eric Thompson [ 2015/02/24 ]

verified on aio package install from SHA
on ubuntu14.04

root@b54z1pi8p0a9hyk:~# /etc/init.d/puppet condrestart
root@b54z1pi8p0a9hyk:~# /etc/init.d/puppet condrestart2
Usage: /etc/init.d/puppet {start|stop|status|restart|condrestart|force-reload|reload}

Generated at Thu Nov 21 03:55:26 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.