Deploy naigos plugins with puppet.

(imported from commit ddc4db430ed2b9b7512f28d3f54dd6dfe7f5b264)
This commit is contained in:
Luke Faraone 2013-05-29 15:01:42 -04:00
parent 742d3bb511
commit 711b1eeeac
2 changed files with 18 additions and 1 deletions

View File

@ -31,6 +31,15 @@ class humbug::app_frontend {
mode => 644,
source => "puppet:///modules/humbug/nginx/humbug-include/",
}
file { "/usr/lib/nagios/plugins/":
require => Package[nagios],
recurse => true,
purge => false,
owner => "root",
group => "root",
mode => 644,
source => "puppet:///modules/humbug/nagios_plugins/",
}
file { "/etc/memcached.conf":
require => Package[memcached],
ensure => file,

View File

@ -90,7 +90,15 @@ class humbug::base {
group => 'root',
mode => 644,
}
file { "/usr/lib/nagios/plugins/":
require => Package[nagios],
recurse => true,
purge => false,
owner => "root",
group => "root",
mode => 644,
source => "puppet:///modules/humbug/nagios_plugins/",
}
service { 'ssh':
ensure => running,
subscribe => File['/etc/ssh/sshd_config'],