Puppet: System Administration Automated

Support

Ticket #593 (assigned defect)

Opened 2 years ago

Last modified 7 months ago

Puppet's cron type struggles with vixie-cron

Reported by: rainhead Assigned to: luke (accepted)
Priority: normal Milestone: elmo
Component: cron Version: 0.22.3
Severity: normal Keywords: cron
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Unknown

Description (Last modified by luke)

After making a few changes to my cron job in my manifest, my crontab begins to look like:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Thu Apr 12 12:16:01 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
# HEADER This file was autogenerated at Thu Apr 12 12:16:01 -0700 2007 by puppet.
# HEADER While it can still be managed manually, it is definitely notrecommended.
# HEADER Note particularly that the comments starting with 'Puppet Name' should
# HEADER not be deleted, as doing so could cause duplicate cron jobs.
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Wed Apr 11 16:42:40 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Tue Apr 10 13:49:45 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Thu Apr  5 17:36:42 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXWxMPKB installed on Thu Apr  5 17:08:07 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
# Puppet Name: websync
*/10 * * * * <snip>

If puppet would put its notice just before the first job it manages, I think it would avoid this problem.

Change History

04/19/07 21:28:15 changed by luke

  • stage changed from Unreviewed to Accepted.

06/18/07 21:58:31 changed by luke

  • status changed from new to assigned.
  • milestone set to elmo.

04/24/08 06:53:46 changed by luke

  • component changed from types to cron.
  • description changed.