fix typo
This commit is contained in:
parent
59ec83a3cc
commit
60ec42a15f
2 changed files with 10 additions and 8 deletions
|
@ -1,10 +1,12 @@
|
||||||
class mysql::server (
|
class mysql::server (
|
||||||
$manage_shorewall = false,
|
$manage_shorewall = false,
|
||||||
$manage_munin = false,
|
$manage_munin = false,
|
||||||
$manage_nagios = false,
|
$manage_nagios = false,
|
||||||
$backup_cron = false,
|
$backup_cron = false,
|
||||||
$optimize_cron = false,
|
$optimize_cron = false,
|
||||||
$nagios_notcp = false
|
$backup_dir = '/var/backups/mysql',
|
||||||
|
$manage_backup_dir = true,
|
||||||
|
$nagios_notcp = false
|
||||||
) {
|
) {
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
gentoo: { include mysql::server::gentoo }
|
gentoo: { include mysql::server::gentoo }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
class mysql::server::cron::backup {
|
class mysql::server::cron::backup {
|
||||||
if $mysql::server::manage_backup_dir
|
if $mysql::server::manage_backup_dir {
|
||||||
file { 'mysql_backup_dir':
|
file { 'mysql_backup_dir':
|
||||||
path => $mysql::server::backup_dir
|
path => $mysql::server::backup_dir,
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
before => Cron['mysql_backup_cron'],
|
before => Cron['mysql_backup_cron'],
|
||||||
owner => root, group => 0, mode => 0700;
|
owner => root, group => 0, mode => 0700;
|
||||||
|
|
Loading…
Reference in a new issue