aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-05-12 20:55:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-05-12 20:55:18 -0300
commit3d8b9d2cc69f688aeec26f420b272535c627deea (patch)
tree818d5a3581bd53a8b63d4a01e6e73aaece1a7d5f
parent822caa710f770cb419521877979330fa086f35c1 (diff)
downloadpuppet-nodo-3d8b9d2cc69f688aeec26f420b272535c627deea.tar.gz
puppet-nodo-3d8b9d2cc69f688aeec26f420b272535c627deea.tar.bz2
Fix LUKS backup config at nodo::base::host
-rw-r--r--manifests/base/host.pp10
1 files changed, 8 insertions, 2 deletions
diff --git a/manifests/base/host.pp b/manifests/base/host.pp
index e44b1cf..96c2e63 100644
--- a/manifests/base/host.pp
+++ b/manifests/base/host.pp
@@ -23,8 +23,14 @@ class nodo::base::host {
# Backup
backupninja::sys { "sys":
ensure => present,
- doluks => $::is_virtual,
- dolvm => $::is_virtual,
+ doluks => $::is_virtual ? {
+ true => false,
+ false => true,
+ },
+ dolvm => $::is_virtual ? {
+ true => false,
+ false => true,
+ },
#dombr => $::is_virtual,
#dobios => $::is_virtual,
}