summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nagios
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-12-02 10:13:11 -0500
committerMicah Anderson <micah@leap.se>2014-12-02 10:19:29 -0500
commita3af7019efe6f5ff3daeeff474a8c31b1b3318c8 (patch)
tree834906c890a05e9d0dfcdb66878a390b4b64c6a6 /puppet/modules/site_nagios
parent77b04f641582d6995449305100b7a93d61b219d9 (diff)
minor linting
Change-Id: Idf550ed004bcb42d6e19ac0a2c5286f52a390935
Diffstat (limited to 'puppet/modules/site_nagios')
-rw-r--r--puppet/modules/site_nagios/manifests/add_service.pp2
-rw-r--r--puppet/modules/site_nagios/manifests/server.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_nagios/manifests/add_service.pp b/puppet/modules/site_nagios/manifests/add_service.pp
index 1b67d14e..97c0b30d 100644
--- a/puppet/modules/site_nagios/manifests/add_service.pp
+++ b/puppet/modules/site_nagios/manifests/add_service.pp
@@ -9,7 +9,7 @@ define site_nagios::add_service (
nagios_service {
"${name}_ssh":
use => 'generic-service',
- check_command => "check_ssh_port!$ssh_port",
+ check_command => "check_ssh_port!${ssh_port}",
service_description => 'SSH',
host_name => $hostname;
"${name}_cert":
diff --git a/puppet/modules/site_nagios/manifests/server.pp b/puppet/modules/site_nagios/manifests/server.pp
index b195c880..37bd77fb 100644
--- a/puppet/modules/site_nagios/manifests/server.pp
+++ b/puppet/modules/site_nagios/manifests/server.pp
@@ -16,7 +16,7 @@ class site_nagios::server inherits nagios::base {
include nagios::defaults::timeperiods
include nagios::defaults::plugins
- class {'nagios':
+ class { 'nagios':
# don't manage apache class from nagios, cause we already include
# it in site_apache::common
httpd => 'absent',