24 lines
568 B
Puppet
24 lines
568 B
Puppet
class mysql::server {
|
|
|
|
case $operatingsystem {
|
|
gentoo: { include mysql::server::gentoo }
|
|
centos: { include mysql::server::centos }
|
|
debian: { include mysql::server::debian }
|
|
default: { include mysql::server::base }
|
|
}
|
|
|
|
if $use_munin {
|
|
case $operatingsystem {
|
|
debian: { include mysql::server::munin::debian }
|
|
default: { include mysql::server::munin::default }
|
|
}
|
|
}
|
|
|
|
if $use_nagios {
|
|
include mysql::server::nagios
|
|
}
|
|
|
|
if $use_shorewall {
|
|
include shorewall::rules::mysql
|
|
}
|
|
}
|