From 198d758b55e7670ce11a95383f3e354ef15ca443 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 3 Nov 2015 15:43:48 -0200 Subject: Adds hwinfo variable --- manifests/init.pp | 8 +++++--- 1 file 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, } -- cgit v1.2.3