Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/143798
Change subject: misc/statistics - also add system group
......................................................................
misc/statistics - also add system group
since we replaced generic::systemuser with user
we also need to add the system group for a system user
because this is not happening automatically anymore
Change-Id: Iee11f0a51fa9c07196c0fb726be1dcfa60d42211
---
M manifests/misc/statistics.pp
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/98/143798/1
diff --git a/manifests/misc/statistics.pp b/manifests/misc/statistics.pp
index 93c32be..3c2d9a8 100644
--- a/manifests/misc/statistics.pp
+++ b/manifests/misc/statistics.pp
@@ -2,6 +2,12 @@
$username = 'stats'
$homedir = "/var/lib/${username}"
+ group { $username:
+ ensure => present,
+ name => $username,
+ system => true,
+ }
+
user { $username:
home => $homedir,
groups => ['wikidev'],
--
To view, visit https://gerrit.wikimedia.org/r/143798
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee11f0a51fa9c07196c0fb726be1dcfa60d42211
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