fix typo
This commit is contained in:
parent
59ec83a3cc
commit
60ec42a15f
2 changed files with 10 additions and 8 deletions
|
@ -4,6 +4,8 @@ class mysql::server (
|
||||||
$manage_nagios = false,
|
$manage_nagios = false,
|
||||||
$backup_cron = false,
|
$backup_cron = false,
|
||||||
$optimize_cron = false,
|
$optimize_cron = false,
|
||||||
|
$backup_dir = '/var/backups/mysql',
|
||||||
|
$manage_backup_dir = true,
|
||||||
$nagios_notcp = false
|
$nagios_notcp = false
|
||||||
) {
|
) {
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
|
|
|
@ -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