When I call grid_pool_accounts { 'lhcb':} I get the error:
Error: Failed to apply catalog: Parameter gid failed on Group[lhcbsgm,lhcb]: Invalid GID 7002,7000 at /etc/puppet/environments/production/modules/grid_pool_accounts/manifests/pool_group.pp:10
This is because the function get_pool_gid() returns the last group id that matches 'lhcb' which gives 7002,7000 which is passed directly to a Puppet group definition in pool_group.pp which is an invalid GID.
I can't see where the secondary groups are created either. Is this functionality missing?
At Birmingham we have a set of users in our users.conf like:
When I call
grid_pool_accounts { 'lhcb':}
I get the error:This is because the function
get_pool_gid()
returns the last group id that matches 'lhcb' which gives7002,7000
which is passed directly to a Puppetgroup
definition inpool_group.pp
which is an invalid GID.I can't see where the secondary groups are created either. Is this functionality missing?