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 failing with "err: Could not retrieve catalog: Failed to realize virtual resources User[bob] on node test". Is this even possible, if not in version .24 or .25, in future versions? Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.