Issue #14082 has been updated by Charlie Sharpsteen.

Status changed from Needs Decision to Duplicate

Closing as a duplicate of #1453.

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

* Author: Andreas John
* Status: Duplicate
* 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 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.


Reply via email to