Issue #656 has been updated by Adrien Thebo. Status changed from Accepted to Merged - Pending Release Target version set to 3.2.0 Branch set to https://github.com/puppetlabs/puppet/pull/1564
Merged into master as 29c7d03. This should be released in 3.2.0. Thanks again for the contribution! -Adrien ---------------------------------------- Bug #656: cron entries with newlines keep being updated https://projects.puppetlabs.com/issues/656#change-87658 * Author: Tobu - * Status: Merged - Pending Release * Priority: Normal * Assignee: * Category: cron * Target version: 3.2.0 * Affected Puppet version: 0.24.7 * Keywords: cronfixit * Branch: https://github.com/puppetlabs/puppet/pull/1564 ---------------------------------------- Here is the puppet snippet I use: <pre> class standalone-puppet { $logdest = "/var/log/puppet/cron.log" cron { hourly-puppet: command => "/usr/bin/puppet \ --use-nodes /etc/puppet/manifests/site.pp \ --logdest $logdest", user => root, minute => 48, } } </pre> Every time puppet runs and updates the cronjob, on debian, it updates the cron entry: <pre> notice: //default/standalone-puppet/Cron[hourly-puppet]/command: command changed '/usr/bin/puppet --use-nodes /etc/puppet/manifests/site.pp --logdest /var/log/puppet/cron.log' to '/usr/bin/puppet --use-nodes /etc/puppet/manifests/site.pp --logdest /var/log/puppet/cron.log' </pre> I'm not sure the problem is on puppet or crontab's side, but it would be nice to prevent this. Also, maybe there is a better technique for writing long strings - here documents? -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
