Issue #709 has been updated by Charlie Sharpsteen. Status changed from Accepted to Closed
Can not reproduce this either. Closing. ---------------------------------------- Bug #709: crontab type seems to detect the current environment lines wrong https://projects.puppetlabs.com/issues/709#change-87875 * Author: Karl Pietri * Status: Closed * Priority: Normal * Assignee: * Category: cron * Target version: * Affected Puppet version: 0.24.7 * Keywords: cronfixit * Branch: ---------------------------------------- <pre> notice: //node1/baseserverrole/webserverrole/webcron/rcron[ntpd_check]/Cron[ntpd_check]/environment: environment changed '[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]' to '[email protected]' </pre> The cron provider seems to think there are more MAILTO's then actually are. As listing the crontab shows: <pre> # Puppet Name: ntpd_check [email protected] */5 * * * * /root/bin/ntpmon > /dev/null 2>&1 </pre> This happens everytime puppetd --test is run. puppet config: <pre> rCron{ ntpd_check: command=>"/root/bin/ntpmon > /dev/null 2>&1", minute=>"*/5", require=>RFile[[rootbinntpmon]] } define rCron($command,$minute=absent,$hour=absent,$monthday=absent,$month=absent,$weekday=absent,$environment="[email protected]"){ cron{ $name: command=>$command, minute=>$minute, hour=>$hour, month=>$month, monthday=>$monthday, weekday=>$weekday, environment=>$environment, user=>root } } </pre> -- 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.
