aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/backups
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-06-22 01:24:42 +0300
committerThomas Backlund <tmb@mageia.org>2015-06-22 01:24:42 +0300
commitd358e0361aeb0c4ecbbcd090568fbd2269364a35 (patch)
treeac1f348552211fd262c4632f5b779bfcc97aed84 /deployment/backups
parent5a5bb180e3b8421a9cdb2a3669209f3cccd2aa84 (diff)
downloadpuppet-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.pp38
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' ],
+ }
}
}