diff options
-rw-r--r-- | manifests/init.pp | 8 |
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, } |