You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks more like an Linux issue than Puppet problem. Executing following sequence
groupadd deployer
gpasswd -a deployer deployer
won't modify /etc/group file (in same shell session), unless the group is already defined. In order to bypass the problem I'm using a nasty sed expression to update /etc/group (which would have been done upon next puppet run)
sed -i.bak -e 's/^\\(deployer\\)\\(.*\\)/\\1\\2deployer/g' /etc/group
When creating a new group its members are not updated in
/etc/group
, the result looks like thisalthough the second command should output
deployer:x:1002:deployer
. This change is made after second Puppet run.Minimal code to reproduce the issue:
The text was updated successfully, but these errors were encountered: