Issue #14082 has been reported by Andreas John.

----------------------------------------
Bug #14082: Ressource cron should set undefined attributes in crontab to * 
instead of leaving them untouched.
https://projects.puppetlabs.com/issues/14082

Author: Andreas John
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Hi,
if I have cron ressource like this:

    cron{ "blah":
        command => 'blubb',
        user    => "root",
        hour    => "2",
        minute  => "0",
        weekday => "5",
        ensure  => "present",
    
    }

and remove a property (e.g. weekday):

       cron{ "blah":
        command => 'blubb',
        user    => "root",
        hour    => "2",
        minute  => "0",
<del>        weekday => "5",</del>
        ensure  => "present",
    
    }

I would expect puppet to set the weekday to "*", but instead it leaves it 
untouched, i.e. it stays at "5" in my 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