Issue #11383 has been updated by Michael Stahnke.

Target version changed from 2.6.x to 2.7.x

2.6.x is closed.  Moving to 2.7.x
----------------------------------------
Bug #11383: cron type and provider only return resources for ENV["USER"] or 
"root", not all users
https://projects.puppetlabs.com/issues/11383

Author: Nick Jenkin
Status: Accepted
Priority: Normal
Assignee: 
Category: cron
Target version: 2.7.x
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 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