Skip to content

Commit

Permalink
Adding support for Ubuntu
Browse files Browse the repository at this point in the history
I don't expect Ubuntu to be any different from Debian, but just in case...
  • Loading branch information
Jonathan committed Mar 4, 2012
1 parent 9d1e4d7 commit a6315dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/init.pp
Expand Up @@ -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") }
}
}
3 changes: 3 additions & 0 deletions manifests/ubuntu.pp
@@ -0,0 +1,3 @@
class nagios::ubuntu inherits nagios::debian {

}

0 comments on commit a6315dd

Please sign in to comment.