aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-17 15:43:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-17 15:43:07 -0300
commit767e51ef0627c3a6f756efd56a9892de75faf357 (patch)
tree839e501892a04a8fd17d84b7e4feccca213b851f
parentc4c471c90233945a690d6d69c2cc535ea4ead1f8 (diff)
downloadpuppet-nodo-767e51ef0627c3a6f756efd56a9892de75faf357.tar.gz
puppet-nodo-767e51ef0627c3a6f756efd56a9892de75faf357.tar.bz2
Create nginx::site entries
-rw-r--r--manifests/resources.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp
index e6b6df9..e415ce4 100644
--- a/manifests/resources.pp
+++ b/manifests/resources.pp
@@ -31,4 +31,8 @@ class nodo::resources {
# Hosts
$hosts = hiera('hosts::jobs', {})
create_resources('host', $hosts)
+
+ # Nginx entries
+ $nginx = hiera('nginx::sites', {})
+ create_resources('nginx::site', $nginx)
}