Issue #709 has been updated by Luke Kanies.

Assigned to deleted (Luke Kanies)
Target version set to Statler

I see a cron sweep in our future.
----------------------------------------
Bug #709: crontab type seems to detect the current environment lines wrong
http://projects.puppetlabs.com/issues/709

Author: Karl Pietri
Status: Re-opened
Priority: Normal
Assigned to: 
Category: cron
Target version: Statler
Patch: None
Affected version: 0.24.7
Keywords: 
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 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.

Reply via email to