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 (
|
||||
$manage_shorewall = false,
|
||||
$manage_munin = false,
|
||||
$manage_nagios = false,
|
||||
$backup_cron = false,
|
||||
$optimize_cron = false,
|
||||
$nagios_notcp = false
|
||||
$manage_shorewall = false,
|
||||
$manage_munin = false,
|
||||
$manage_nagios = false,
|
||||
$backup_cron = false,
|
||||
$optimize_cron = false,
|
||||
$backup_dir = '/var/backups/mysql',
|
||||
$manage_backup_dir = true,
|
||||
$nagios_notcp = false
|
||||
) {
|
||||
case $::operatingsystem {
|
||||
gentoo: { include mysql::server::gentoo }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
class mysql::server::cron::backup {
|
||||
if $mysql::server::manage_backup_dir
|
||||
if $mysql::server::manage_backup_dir {
|
||||
file { 'mysql_backup_dir':
|
||||
path => $mysql::server::backup_dir
|
||||
path => $mysql::server::backup_dir,
|
||||
ensure => directory,
|
||||
before => Cron['mysql_backup_cron'],
|
||||
owner => root, group => 0, mode => 0700;
|
||||
|
|
Loading…
Reference in a new issue