Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/141078
Change subject: rancid: also create system group for system user
......................................................................
rancid: also create system group for system user
since I027c780ac5f6fe we use the standard puppet type
to create the user, which means now we also have to create
the primary group for it
currently on netmon1001:
root@netmon1001:~# id rancid
uid=997(rancid) gid=1001(rancid) groups=1001(rancid),1004(systemusers)
Change-Id: Icb0784519093fbceeb55e68d9e589cc3715b0522
---
M manifests/misc/rancid.pp
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/78/141078/1
diff --git a/manifests/misc/rancid.pp b/manifests/misc/rancid.pp
index 82e63ad..5623c3b 100644
--- a/manifests/misc/rancid.pp
+++ b/manifests/misc/rancid.pp
@@ -11,8 +11,15 @@
ensure => present,
}
+ group { 'rancid':
+ ensure => present,
+ name => 'rancid',
+ system => true,
+ }
+
user { 'rancid':
shell => '/bin/sh',
+ gid => 'rancid',
managehome => true,
system => true,
}
--
To view, visit https://gerrit.wikimedia.org/r/141078
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb0784519093fbceeb55e68d9e589cc3715b0522
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits