diff --git a/manifests/hypervisor/group.pp b/manifests/hypervisor/group.pp index 28d5620..a76c636 100644 --- a/manifests/hypervisor/group.pp +++ b/manifests/hypervisor/group.pp @@ -47,6 +47,11 @@ define proxmox::hypervisor::group ( $group = $title, $role, $acl_path = '/', $pe command => "pveum aclmod ${acl_path} -group ${group} -role ${role}", unless => "grep '@${group}' ${permission_file}", } + -> + # Create user(s) and add it to this group + proxmox::hypervisor::user { $users: + group => $group, + } } # The permissions file