summaryrefslogtreecommitdiff
path: root/manifests/irc_bot
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-01-23 11:19:52 -0500
committerMicah Anderson <micah@riseup.net>2013-01-23 11:19:52 -0500
commite2523693528ca629158a06e53f4262393837dc21 (patch)
tree235e49dddc6405acb75a40fd9281ba02b855a46c /manifests/irc_bot
parent7c87e747774433d84bc59641bbd8bcc7cc4ab58e (diff)
lint irc_bot/base.pp
Diffstat (limited to 'manifests/irc_bot')
-rw-r--r--manifests/irc_bot/base.pp22
1 files changed, 11 insertions, 11 deletions
diff --git a/manifests/irc_bot/base.pp b/manifests/irc_bot/base.pp
index 89a11d7..fff9da4 100644
--- a/manifests/irc_bot/base.pp
+++ b/manifests/irc_bot/base.pp
@@ -2,34 +2,34 @@ class nagios::irc_bot::base {
file {
'/usr/local/bin/riseup-nagios-client.pl':
source => 'puppet:///modules/nagios/irc_bot/riseup-nagios-client.pl',
- owner => root, group => 0, mode => '0755';
+ owner => root, group => 0, mode => '0755';
'/usr/local/bin/riseup-nagios-server.pl':
source => 'puppet:///modules/nagios/irc_bot/riseup-nagios-server.pl',
- owner => root, group => 0, mode => '0755';
+ owner => root, group => 0, mode => '0755';
'/etc/init.d/nagios-nsa':
content => template("nagios/irc_bot/${::operatingsystem}/nagios-nsa.sh.erb"),
require => File['/usr/local/bin/riseup-nagios-server.pl'],
- owner => root, group => 0, mode => '0755';
+ owner => root, group => 0, mode => '0755';
'/etc/nagios_nsa.cfg':
- ensure => present,
+ ensure => present,
content => template('nagios/irc_bot/nsa.cfg.erb'),
- owner => nagios, group => 0, mode => '0400',
- notify => Service['nagios-nsa'];
+ owner => nagios, group => 0, mode => '0400',
+ notify => Service['nagios-nsa'];
}
package { 'libnet-irc-perl':
ensure => present,
}
- service { "nagios-nsa":
- ensure => "running",
+ service { 'nagios-nsa':
+ ensure => 'running',
hasstatus => true,
- require => [ File["/etc/nagios_nsa.cfg"],
- Package["libnet-irc-perl"],
- Service['nagios'] ],
+ require => [ File['/etc/nagios_nsa.cfg'],
+ Package['libnet-irc-perl'],
+ Service['nagios'] ],
}
nagios_command {