/[adm]/puppet/deployment/backups/manifests/init.pp
ViewVC logotype

Contents of /puppet/deployment/backups/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2850 - (show annotations) (download)
Sun Sep 16 21:24:06 2012 UTC (12 years ago) by boklm
File size: 584 byte(s)
add krampouezh in backups
1 class backups {
2 class server {
3
4 $backups_dir = '/backups'
5 $confdir = "${backups_dir}/conf"
6
7 class { 'rsnapshot::base':
8 confdir => $confdir,
9 }
10
11 file { $backups_dir:
12 ensure => directory,
13 owner => root,
14 group => root,
15 mode => 700,
16 }
17
18 rsnapshot::backup{ 'alamut':
19 snapshot_root => "${backups_dir}/alamut",
20 backup => [ 'root@alamut.mageia.org:/srv/wiki wiki' ],
21 }
22
23 rsnapshot::backup{ 'krampouezh':
24 snapshot_root => "${backups_dir}/krampouezh",
25 backup => [ 'root@krampouezh.mageia.org:/home/irc_bots/meetings meetbot' ],
26 }
27 }
28 }

  ViewVC Help
Powered by ViewVC 1.1.30