Issue #3938 has been updated by Markus Roberts. Status changed from Investigating to Needs more information Assignee deleted (Markus Roberts) Target version changed from 0.25.6 to unplanned
So far as I know the crontab provider has never worked the way you describe (via interprocess pipes). Can you give a more information about the specific observed problem? ---------------------------------------- Bug #3938: cron resource unreliable http://projects.puppetlabs.com/issues/3938 Author: Marcin Deranek Status: Needs more information Priority: Normal Assignee: Category: cron Target version: unplanned Affected version: 0.24.8 Keywords: cron Branch: Currently we had an accident with cron resource object. One night non-puppet maintained cronjobs (puppet maintained "survived") disappeared from crontab. After some investigation we most likely found the cause: this has to do with a way how crontab entries are added/modified on Linux platform. As far as I can see puppet opens pipe to crontab command and passes entries to it over pipe. When pipe get broken/closed for whatever reason crontab considers that as the end of crontab and updates it. In case when puppetd gets killed it might happen that pipe get broken in the middle and all non-puppet maintained entries will vanish - this is what happened to us (weekly rotatelogs cronjob). Part of the problem is described in http://projects.puppetlabs.com/issues/2462#note-7 as cron resource had '*' in it which triggered crontab update at every puppetd run - we haven't changed resource although puppet considered resource as changed every time. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
