Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/141074
Change subject: pmacct - also create group for systemuser
......................................................................
pmacct - also create group for systemuser
after Ib674b02ce64f8a0 it now uses the default
puppet type instead of generic::systemuser,
which means we also need to create the group
currently on rhenium:
id pmacct
uid=997(pmacct) gid=1001(pmacct) groups=1001(pmacct),1002(systemusers)
Change-Id: I0533a4da4ddf06d10fb7dcec96588190839f4576
---
M modules/pmacct/manifests/install.pp
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/74/141074/1
diff --git a/modules/pmacct/manifests/install.pp
b/modules/pmacct/manifests/install.pp
index 19b8da2..08dedbc 100644
--- a/modules/pmacct/manifests/install.pp
+++ b/modules/pmacct/manifests/install.pp
@@ -12,9 +12,16 @@
}
# User creation (not done by package)
+ group { 'pmacct':
+ ensure => present,
+ name => 'pmacct',
+ system => true,
+ }
+
user { 'pmacct':
home => '/var/lib/pmacct',
shell => '/bin/bash',
+ gid => 'pmacct',
managehome => true,
system => true,
require => Package['pmacct'],
--
To view, visit https://gerrit.wikimedia.org/r/141074
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0533a4da4ddf06d10fb7dcec96588190839f4576
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