Displaying 1 result from an estimated 1 matches for "remove_nonus".
2009 Dec 06
3
User Modification
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