/[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 2844 - (show annotations) (download)
Sun Sep 16 20:32:55 2012 UTC (12 years, 1 month ago) by boklm
File size: 414 byte(s)
add backups module
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 }

  ViewVC Help
Powered by ViewVC 1.1.30