Issue #11383 has been updated by Charlie Sharpsteen.

This seems related to #3220 as it falls into the category of `resources{ 
'cron': purge => true}` doesn't clean everything up.

----------------------------------------
Bug #11383: cron type and provider only return resources for ENV["USER"] or 
"root", not all users
https://projects.puppetlabs.com/issues/11383#change-87899

* Author: Nick Jenkin
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: cron
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
When using resources { cron: purge => true }, only the root users crontab is 
purged.

This works:
<pre>
cron {"foo":
        command => "ls",
        ensure => present,
        user => root,
}
</pre>

(and then proceed to comment the above out):
`notice: /Cron[foo]/ensure: removed`

This does not work:
<pre>
cron {"bar":
        command => "ls",
        ensure => present,
        user => nick,
}
</pre>

This crontab will still exist if commented out.

Broken in 2.6 and latest stable.


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