diff options
Diffstat (limited to 'manifests/base')
-rw-r--r-- | manifests/base/host.pp | 4 | ||||
-rw-r--r-- | manifests/base/kvm.pp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/manifests/base/host.pp b/manifests/base/host.pp index f3c23de..07c2d5b 100644 --- a/manifests/base/host.pp +++ b/manifests/base/host.pp @@ -35,6 +35,10 @@ class nodo::base::host { # Backup backupninja::sys { "sys": ensure => present, + doluks => $::is_virtual, + dolvm => $::is_virtual, + #dombr => $::is_virtual, + #dobios => $::is_virtual, } # Monitoring diff --git a/manifests/base/kvm.pp b/manifests/base/kvm.pp index 06a7d10..09ae344 100644 --- a/manifests/base/kvm.pp +++ b/manifests/base/kvm.pp @@ -2,4 +2,9 @@ class nodo::base::kvm inherits nodo::base::host { class { [ 'nodo::subsystem::fstab', 'nodo::subsystem::crypttab' ]: type => 'kvm', } + + Backupninja::Sys['sys'] { + doluks => true, + dolvm => true, + } } |