Issue #4022 has been updated by John Ferlito.

Status changed from Rejected to Re-opened

I wonder if we should have another cron type say cron_vars?

environment variables in cron jobs don't really belong to a job but belong to 
the job as a whole. Defining them here means that you can have conflicting 
variable as is pointed out in the documentation. Maybe we should have something 
like

cron_vars { "root":
   user => root,
   environment => { 'PATH' => '/bin', 'MAILTO' => '[email protected]'}
}
----------------------------------------
Feature #4022: Crontab environment variables
https://projects.puppetlabs.com/issues/4022

Author: Oliver Hookins
Status: Re-opened
Priority: Normal
Assignee: 
Category: cron
Target version: 
Affected Puppet version: 0.25.5
Keywords: 
Branch: 


It would be very useful to be able to specify cron environment variables in the 
Puppet-managed per-user crontabs.

For example:

MAILTO="[email protected]"

It is possible to add this by hand and Puppet doesn't mess with it, but it 
should be possible to manage this aspect as well with a built in type (rather 
than by Augeas for example).


-- 
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