module-mysql/manifests/server.pp

28 lines
698 B
ObjectPascal
Raw Normal View History

2009-10-03 15:19:11 +02:00
class mysql::server {
2009-10-03 15:19:11 +02:00
case $operatingsystem {
gentoo: { include mysql::server::gentoo }
centos: { include mysql::server::centos }
2009-12-10 18:22:25 +01:00
debian: { include mysql::server::debian }
2009-10-03 15:19:11 +02:00
default: { include mysql::server::base }
}
2009-10-03 15:19:11 +02:00
if $use_munin {
case $operatingsystem {
debian: { include mysql::server::munin::debian }
default: { include mysql::server::munin::default }
}
2009-10-03 15:19:11 +02:00
}
if $use_nagios {
case $nagios_check_mysql {
false: { info("We don't do nagioschecks for mysql on ${fqdn}" ) }
default: { include mysql::server::nagios }
}
}
2009-10-03 15:19:11 +02:00
if $use_shorewall {
2009-10-04 20:37:50 +02:00
include shorewall::rules::mysql
2009-10-03 15:19:11 +02:00
}
}