From fbbad9b7395ad44b356000c097ad66f10b479675 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 Sep 2015 16:12:07 -0300 Subject: Create backup resources --- manifests/role/web.pp | 2 +- manifests/subsystem/backup.pp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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) } -- cgit v1.2.3