projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
schroot does not depend on the db.d.o repository. do not put schroot on hold for...
[mirror/dsa-puppet.git]
/
modules
/
nagios
/
manifests
/
server.pp
diff --git
a/modules/nagios/manifests/server.pp
b/modules/nagios/manifests/server.pp
index
666faad
..
e91f7f2
100644
(file)
--- a/
modules/nagios/manifests/server.pp
+++ b/
modules/nagios/manifests/server.pp
@@
-15,61
+15,83
@@
class nagios::server {
file { '/etc/nagios-plugins/config':
ensure => directory,
file { '/etc/nagios-plugins/config':
ensure => directory,
+ recurse => remote,
+ source => 'puppet:///files/empty/',
require => Package['nagios3'],
notify => Service['nagios3'],
}
file { '/etc/nagios3':
ensure => directory,
require => Package['nagios3'],
notify => Service['nagios3'],
}
file { '/etc/nagios3':
ensure => directory,
+ recurse => remote,
+ source => 'puppet:///files/empty/',
require => Package['nagios3'],
notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d':
ensure => directory,
require => Package['nagios3'],
notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d':
ensure => directory,
- mode => '0755',
+ recurse => remote,
+ source => 'puppet:///files/empty/',
+ require => Package['nagios3'],
+ notify => Service['nagios3'],
}
file { '/etc/nagios-plugins/config/local-dsa-checkcommands.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/checkcommands.cfg',
}
file { '/etc/nagios-plugins/config/local-dsa-checkcommands.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/checkcommands.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios-plugins/config/local-dsa-eventhandlers.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/eventhandlers.cfg',
}
file { '/etc/nagios-plugins/config/local-dsa-eventhandlers.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/eventhandlers.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/cgi.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/cgi.cfg',
}
file { '/etc/nagios3/cgi.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/cgi.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/nagios.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/nagios.cfg',
}
file { '/etc/nagios3/nagios.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/nagios.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/contacts.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/conf.d/contacts.cfg',
}
file { '/etc/nagios3/puppetconf.d/contacts.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/conf.d/contacts.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/generic-host.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/conf.d/generic-host.cfg',
}
file { '/etc/nagios3/puppetconf.d/generic-host.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/conf.d/generic-host.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/generic-service.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/conf.d/generic-service.cfg',
}
file { '/etc/nagios3/puppetconf.d/generic-service.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/conf.d/generic-service.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/timeperiods.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/conf.d/timeperiods.cfg',
}
file { '/etc/nagios3/puppetconf.d/timeperiods.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/static/conf.d/timeperiods.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/auto-dependencies.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-dependencies.cfg',
}
file { '/etc/nagios3/puppetconf.d/auto-dependencies.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-dependencies.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-hostextinfo.cfg',
}
file { '/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-hostextinfo.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/auto-hostgroups.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-hostgroups.cfg',
}
file { '/etc/nagios3/puppetconf.d/auto-hostgroups.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-hostgroups.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/auto-hosts.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-hosts.cfg',
}
file { '/etc/nagios3/puppetconf.d/auto-hosts.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-hosts.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-serviceextinfo.cfg',
}
file { '/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-serviceextinfo.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/auto-servicegroups.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-servicegroups.cfg',
}
file { '/etc/nagios3/puppetconf.d/auto-servicegroups.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-servicegroups.cfg',
+ notify => Service['nagios3'],
}
file { '/etc/nagios3/puppetconf.d/auto-services.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-services.cfg',
}
file { '/etc/nagios3/puppetconf.d/auto-services.cfg':
source => 'puppet:///modules/nagios/dsa-nagios/generated/auto-services.cfg',
+ notify => Service['nagios3'],
}
}
}
}