Issue #1529 has been updated by Luke Kanies.

Sam Rowe wrote:
> Luke Kanies wrote:
> > Sam has convinced me.  
> > 
> > My first thought was that we could just generate cron instances with ensure 
> > => absent
> 
> Crontab is just a file right? Why not generate a file instance w/ 
> ensure=>absent?

Well, part of the problem is that Puppet doesn't actually know where the 
crontabs are - we rely on the crontab command to figure it out and manage it 
for us.  And if we do directly remove the file, then we need to restart crond, 
which is also not very portable.

In other words, cron is really annoying. :/
----------------------------------------
Feature #1529: User provider should run 'crontab -r' before deleting a user
http://projects.reductivelabs.com/issues/1529

Author: Sam Rowe
Status: Accepted
Priority: Normal
Assigned to: Luke Kanies
Category: user
Target version: 0.26.0
Complexity: Unknown
Affected version: 0.24.5
Keywords: 


HP-UX, Solaris and RHEL (and I'm told Debian) all fail to do this themselves 
when deleting a user.


-- 
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://reductivelabs.com/redmine/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