aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'deployment')
-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' ],
+ }
}
}