From: Silvio Rhatto Date: Sat, 26 Sep 2015 19:12:07 +0000 (-0300) Subject: Create backup resources X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fbbad9b7395ad44b356000c097ad66f10b479675;p=puppet-nodo.git Create backup resources --- 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) }