Is there any way to enumerate an array of all users within a group within Puppet, either as a fact or something so I can do something like this?
$users = enumusers('wheel')
each($users) |$user| {
dostuff{"stuff:$user":
user=>$user
}
}
Users are managed through LDAP, but I be able to have Puppet pick up LDAP users and make all of them consistent.