ArielGlenn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/61976


Change subject: must... define.. icinga group
......................................................................

must... define.. icinga group

Change-Id: I2090cfd670c136ce4e12589842c561b8d9bf031b
---
M manifests/misc/icinga.pp
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/76/61976/1

diff --git a/manifests/misc/icinga.pp b/manifests/misc/icinga.pp
index 51bb346..b1a8d52 100644
--- a/manifests/misc/icinga.pp
+++ b/manifests/misc/icinga.pp
@@ -5,6 +5,11 @@
   include nagios::group
   # where does the dialout user group come from? it should be included here 
somehow
 
+  group { 'icinga':
+    name       => 'icinga',
+    ensure     => present;
+  }
+
   user { 'icinga':
     name       => 'icinga',
     home       => '/home/icinga',
@@ -12,7 +17,7 @@
     system     => true,
     managehome => false,
     shell      => "/bin/false",
-    require    => Group['nagios'],
+    require    => [ Group['icinga'], Group['nagios'] ],
     groups     => [ 'dialout', 'nagios' ]
   }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/61976
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2090cfd670c136ce4e12589842c561b8d9bf031b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>

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

Reply via email to