diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/labelmount.pp | 8 | ||||
-rw-r--r-- | manifests/mysql.pp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/manifests/labelmount.pp b/manifests/labelmount.pp index ba810f9..d9158c4 100644 --- a/manifests/labelmount.pp +++ b/manifests/labelmount.pp @@ -24,22 +24,22 @@ define backupninja::labelmount($order = 10, $dest ) { include backupninja::client - file { "${backup::client::configdir}/${order}_${name}.labelmount": + file { "${backupninja::client::configdir}/${order}_${name}.labelmount": ensure => $ensure, content => template('backupninja/labelmount.conf.erb'), owner => root, group => root, mode => 0600, - require => File["${backup::client::configdir}"] + require => File["${backupninja::client::configdir}"] } - file { "${backup::client::configdir}/99_${name}.umount": + file { "${backupninja::client::configdir}/99_${name}.umount": ensure => $ensure, content => template('backupninja/umount.conf.erb'), owner => root, group => root, mode => 0600, - require => File["${backup::client::configdir}"] + require => File["${backupninja::client::configdir}"] } # Copy over the handler scripts themselves, since they're not in the diff --git a/manifests/mysql.pp b/manifests/mysql.pp index e2e7442..d056d61 100644 --- a/manifests/mysql.pp +++ b/manifests/mysql.pp @@ -28,7 +28,7 @@ define backupninja::mysql($order = 10, $configfile = '/etc/mysql/debian.cnf' ) { include backupninja::client - file { "${backup::client::configdir}/${order}_${name}.mysql": + file { "${backupninja::client::configdir}/${order}_${name}.mysql": ensure => $ensure, content => template('backupninja/mysql.conf.erb'), owner => root, |