diff options
-rw-r--r-- | manifests/role/web.pp | 2 | ||||
-rw-r--r-- | manifests/subsystem/backup.pp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/manifests/role/web.pp b/manifests/role/web.pp index 3c0355f..4cd1719 100644 --- a/manifests/role/web.pp +++ b/manifests/role/web.pp @@ -23,8 +23,8 @@ class nodo::role::web inherits nodo::base::virtual { include nodo::utils::web # Put your custom sites and users here + include websites require ::site_users::virtual - require ::site_websites # Reprepro configuration $reprepro = hiera('nodo::web::reprepro', false) diff --git a/manifests/subsystem/backup.pp b/manifests/subsystem/backup.pp index 2efa24a..b85dc0f 100644 --- a/manifests/subsystem/backup.pp +++ b/manifests/subsystem/backup.pp @@ -23,4 +23,8 @@ class nodo::subsystem::backup { } default: { } } + + # Setup rsync instances + $rsync = hiera('backup::rsync', {}) + create_resources('backup::rsync', $rsync) } |