Puppet: System Administration Automated

Support

Ticket #1174 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Redhat init script uses wrong pidfile

Reported by: ianburrell Assigned to: luke
Priority: normal Milestone:
Component: client Version: 0.23.2
Severity: normal Keywords:
Cc: Triage Stage: Ready for checkin
Attached Patches: Code Complexity: Trivial

Description

The pidfile defined in the redhat init script (conf/redhat/client.init) is /var/run/puppet/puppet.pid. But the puppetd creates /var/run/puppet/puppetd.pid.

The result is that condrestart target does not do anything even when the daemon is running.

I have attached a patch that fixes the problem. This is broken in 0.23.2 and git head.

Attachments

puppet_redhat_init_pidfile.patch (433 bytes) - added by ianburrell on 04/02/08 02:16:17.

Change History

04/02/08 02:16:17 changed by ianburrell

  • attachment puppet_redhat_init_pidfile.patch added.

04/02/08 02:42:01 changed by jamtur01

  • owner changed from community to luke.
  • complexity changed from Unknown to Trivial.
  • stage changed from Unreviewed to Ready for checkin.

Pushed patch in commit [335972edb68a532a61392ace006b0401e3cca810] in branch 0.24.x

04/08/08 17:31:32 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

Merged and pushed.