aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-03 15:43:48 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-03 15:43:48 -0200
commit198d758b55e7670ce11a95383f3e354ef15ca443 (patch)
treeeb7f4deae3dcd3113bd54a146e6561a3a41333fc
parent17146526b14a4400380c69dc1e157e4e0d3f4c4e (diff)
downloadpuppet-backup-198d758b55e7670ce11a95383f3e354ef15ca443.tar.gz
puppet-backup-198d758b55e7670ce11a95383f3e354ef15ca443.tar.bz2
Adds hwinfo variable
-rw-r--r--manifests/init.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 464d620..7c55083 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -23,7 +23,8 @@
class backup(
$when = hiera('backup::when', 'everyday at 01:00'),
$audit_rsync = hiera('backup::audit_rsync', True),
- $reportwarning = hiera('backup::reportwarning', True)
+ $reportwarning = hiera('backup::reportwarning', True),
+ $hwinfo = hiera('backup::hwinfo::ensure, 'installed')
) {
include backup::params
@@ -37,8 +38,9 @@ class backup(
}
class { 'backupninja::server':
- backupdir => $backup::params::backupdir,
- backupdir_ensure => $backup::params::backupdir_ensure,
+ backupdir => $backup::params::backupdir,
+ backupdir_ensure => $backup::params::backupdir_ensure,
+ ensure_hwinfo_version => $hwinfo,
}
package { "debconf-utils": ensure => installed, }