[Puppet Users] Re: User Modification

2009-12-08 Thread jcbollinger
On Dec 7, 4:13 pm, jokeeffe wrote: > It probably doesn't need to be virtual but I thought I read in the > documentation that it was better to do so. The best practices documentation has at times recommended declaring users virtually. I don't know whether it still does now, but even when it di

[Puppet Users] Re: User Modification

2009-12-07 Thread jokeeffe
Thanks for the reply, It probably doesn't need to be virtual but I thought I read in the documentation that it was better to do so. Basically, at my organization, admins come and go. I was hoping to use puppet to get rid of all logins of admins that no longer work for the company. So, I was hopin

[Puppet Users] Re: User Modification

2009-12-07 Thread jcbollinger
On Dec 6, 1:55 pm, jokeeffe wrote: > I'm trying to do something like this using puppet 0.24.8. > > define removeuser() { >   @ user { $name: >       ensure => absent >   } > >   realize User["$name"] > > } > > $removelist = ["bob", "bill", "billy"] > @ removeuser { $removelist : } > > It's faili