remove hiera
This commit is contained in:
parent
e4ca510b7c
commit
cd68caf662
1 changed files with 14 additions and 14 deletions
|
@ -1,27 +1,27 @@
|
||||||
class mysql::server {
|
class mysql::server (
|
||||||
|
$manage_shorewall = false,
|
||||||
|
$manage_munin = false,
|
||||||
|
$manage_nagios = false
|
||||||
|
) {
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
gentoo: { include mysql::server::gentoo }
|
gentoo: { include mysql::server::gentoo }
|
||||||
centos: { include mysql::server::centos }
|
centos: { include mysql::server::centos }
|
||||||
debian: { include mysql::server::debian }
|
debian: { include mysql::server::debian }
|
||||||
default: { include mysql::server::base }
|
default: { include mysql::server::base }
|
||||||
}
|
}
|
||||||
|
|
||||||
if hiera('use_munin',false) {
|
if $mysql::manage_munin {
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
debian: { include mysql::server::munin::debian }
|
debian: { include mysql::server::munin::debian }
|
||||||
default: { include mysql::server::munin::default }
|
default: { include mysql::server::munin::default }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if hiera('use_nagios',false) {
|
if $mysql::manage_nagios {
|
||||||
case hiera('nagios_check_mysql',false) {
|
include mysql::server::nagios
|
||||||
false: { info("We don't do nagioschecks for mysql on ${::fqdn}" ) }
|
}
|
||||||
default: { include mysql::server::nagios }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if hiera('use_shorewall',false) {
|
if $mysql::manage_shorewall {
|
||||||
include shorewall::rules::mysql
|
include shorewall::rules::mysql
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue