Andrew Bogott has submitted this change and it was merged.
Change subject: Fixed the path to icinga cmd file all around +file
......................................................................
Fixed the path to icinga cmd file all around +file
Change-Id: I9c5805405aa7a0624f1bf4a5939ae9c902e1baf8
---
M files/icinga/icinga.cfg
M files/icinga/submit_check_result
M manifests/misc/icinga.pp
3 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Andrew Bogott: Looks good to me, approved
jenkins-bot: Verified
diff --git a/files/icinga/icinga.cfg b/files/icinga/icinga.cfg
index ee296c9..a069c64 100644
--- a/files/icinga/icinga.cfg
+++ b/files/icinga/icinga.cfg
@@ -174,7 +174,7 @@
# Debian Users: In case you didn't read README.Debian yet, _NOW_ is the
# time to do it.
-command_file=/var/lib/nagios/rw/nagios.cmd
+command_file=/var/spool/icinga/cmd
diff --git a/files/icinga/submit_check_result b/files/icinga/submit_check_result
index 10c04e3..1d1d2c9 100755
--- a/files/icinga/submit_check_result
+++ b/files/icinga/submit_check_result
@@ -26,7 +26,7 @@
echocmd="/bin/echo"
-CommandFile="/var/lib/nagios/rw/nagios.cmd"
+CommandFile="/var/spool/icinga/cmd"
# get the current date/time in seconds since UNIX epoch
datetime=`date +%s`
diff --git a/manifests/misc/icinga.pp b/manifests/misc/icinga.pp
index 54299a7..e9e414b 100644
--- a/manifests/misc/icinga.pp
+++ b/manifests/misc/icinga.pp
@@ -249,7 +249,7 @@
group => 'www-data',
mode => '0775';
- '/var/lib/nagios/rw':
+ '/var/spool/icinga/':
ensure => directory,
owner => 'icinga',
group => 'nagios',
@@ -284,7 +284,7 @@
command => '/bin/chmod -R a+w /var/lib/nagios';
'fix_icinga_command_file':
- command => '/bin/chmod a+rw /var/lib/nagios/rw/nagios.cmd';
+ command => '/bin/chmod a+rw /var/spool/icinga/cmd';
}
}
--
To view, visit https://gerrit.wikimedia.org/r/52726
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9c5805405aa7a0624f1bf4a5939ae9c902e1baf8
Gerrit-PatchSet: 7
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Lcarr <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits