Skip to content
Browse files

Adding support for Ubuntu

I don't expect Ubuntu to be any different from Debian, but just in case...
  • Loading branch information...
1 parent 9d1e4d7 commit a6315dd06b524e97f59062656135be0117a8239f @jesusaurus jesusaurus committed Mar 4, 2012
Showing with 7 additions and 0 deletions.
  1. +4 −0 manifests/init.pp
  2. +3 −0 manifests/ubuntu.pp
View
4 manifests/init.pp
@@ -30,6 +30,10 @@
$nagios_cfgdir = '/etc/nagios3'
include nagios::debian
}
+ 'ubuntu': {
+ $nagios_cfgdir = '/etc/nagios3'
+ include nagios::ubuntu
+ }
default: { fail("No such operatingsystem: ${::operatingsystem} yet defined") }
}
}
View
3 manifests/ubuntu.pp
@@ -0,0 +1,3 @@
+class nagios::ubuntu inherits nagios::debian {
+
+}

0 comments on commit a6315dd

Please sign in to comment.
Something went wrong with that request. Please try again.