Dzahn has submitted this change and it was merged.

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(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



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: merged
Gerrit-Change-Id: Iee11f0a51fa9c07196c0fb726be1dcfa60d42211
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to