diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-06-22 01:24:42 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-06-22 01:24:42 +0300 |
commit | d358e0361aeb0c4ecbbcd090568fbd2269364a35 (patch) | |
tree | ac1f348552211fd262c4632f5b779bfcc97aed84 /deployment/backups | |
parent | 5a5bb180e3b8421a9cdb2a3669209f3cccd2aa84 (diff) | |
download | puppet-d358e0361aeb0c4ecbbcd090568fbd2269364a35.tar puppet-d358e0361aeb0c4ecbbcd090568fbd2269364a35.tar.gz puppet-d358e0361aeb0c4ecbbcd090568fbd2269364a35.tar.bz2 puppet-d358e0361aeb0c4ecbbcd090568fbd2269364a35.tar.xz puppet-d358e0361aeb0c4ecbbcd090568fbd2269364a35.zip |
puppet-lint fixes
Diffstat (limited to 'deployment/backups')
-rw-r--r-- | deployment/backups/manifests/init.pp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/deployment/backups/manifests/init.pp b/deployment/backups/manifests/init.pp index 1638286d..b89d1186 100644 --- a/deployment/backups/manifests/init.pp +++ b/deployment/backups/manifests/init.pp @@ -1,28 +1,28 @@ class backups { class server { - $backups_dir = '/backups' - $confdir = "${backups_dir}/conf" + $backups_dir = '/backups' + $confdir = "${backups_dir}/conf" - class { 'rsnapshot::base': - confdir => $confdir, - } + class { 'rsnapshot::base': + confdir => $confdir, + } - file { $backups_dir: - ensure => directory, - owner => root, - group => root, - mode => 700, - } + file { $backups_dir: + ensure => directory, + owner => root, + group => root, + mode => '0700', + } - rsnapshot::backup{ 'alamut': - snapshot_root => "${backups_dir}/alamut", - backup => [ 'root@alamut.mageia.org:/srv/wiki wiki' ], - } + rsnapshot::backup{ 'alamut': + snapshot_root => "${backups_dir}/alamut", + backup => [ 'root@alamut.mageia.org:/srv/wiki wiki' ], + } - rsnapshot::backup{ 'krampouezh': - snapshot_root => "${backups_dir}/krampouezh", - backup => [ 'root@krampouezh.mageia.org:/home/irc_bots/meetings meetbot' ], - } + rsnapshot::backup{ 'krampouezh': + snapshot_root => "${backups_dir}/krampouezh", + backup => [ 'root@krampouezh.mageia.org:/home/irc_bots/meetings meetbot' ], + } } } |