ArielGlenn has submitted this change and it was merged.

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

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



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

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

Reply via email to