993f7c5f78
Naming it after what it installs. Also, split the target cronjob into a define. Change-Id: I73a4383f529c60bc35c60241dfc91508965d755e Reviewed-on: https://review.openstack.org/10885 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
9 lines
239 B
Puppet
9 lines
239 B
Puppet
define bup::site($backup_user, $backup_server) {
|
|
cron { "bup-$name":
|
|
user => root,
|
|
hour => "5",
|
|
minute => "37",
|
|
command => "tar -X /etc/bup-excludes -cPf - / | bup split -r $backup_user@$backup_server: -n root -q",
|
|
}
|
|
}
|