Realizing doesn't allow overrides. To remove the user:

@user ahab { ensure => absent }
realize User['ahab']

This may mean you need to use inheritence for the class the user is defined in, 
creating a child class for the nodes you want to remove him on.

On Sep 26, 2012, at 11:53 AM, erkan yanar wrote:
> Moin,
> I started to virtualise user. Works fine so far.
> Playing a bit a problem popped up.
> 
> given:
> User 'ahab' realized on a bunch of nodes node01 .. node08.
> 
> How do I delete a realized user on a node?
> I was hoping to do something like
> realize(User['ahab']){ensure => absent }
> As this is not working, I wonder how to delete a realized virtual user.
> 
> Regards
> Erkan
> 
> 
> -- 
> über den grenzen muß die freiheit wohl wolkenlos sein
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

-- 
Jo Rhett
Net Consonance : net philanthropy to improve open source and internet projects.



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to