summaryrefslogtreecommitdiff
path: root/global
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2015-04-23 15:27:04 +0200
committerJohan Lundberg <lundberg@nordu.net>2015-04-23 15:27:04 +0200
commit72387f9d6457a9c07bfe01bfbc574aa8c66285bf (patch)
tree485cc20a5d72728f2f4c249658a017d890dc2a1e /global
parenta60382a9ef96e350036c693ddf7b6be3ec5083fd (diff)
Moving nagios config to class sunet::nagios.
Diffstat (limited to 'global')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp16
1 files changed, 1 insertions, 15 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index c7bc59c..5c31b43 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -697,21 +697,7 @@ node 'cdr1.sunet.se' {
}
node 'sto-tug-kvm2.swamid.se' {
- package {'nagios-nrpe-server':
- ensure => 'installed',
- } ->
- ufw::allow { "allow-nrpe-v4":
- from => '109.105.111.111',
- ip => 'any',
- proto => 'tcp',
- port => 5666
- }
- ufw::allow { "allow-nrpe-v6":
- from => '2001:948:4:6::111',
- ip => 'any',
- proto => 'tcp',
- port => 5666
- }
+ class { 'sunet::nagios': }
file {'/var/docker':
ensure => 'directory',
} ->