diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-03-06 13:09:37 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-03-06 13:09:37 -0300 |
commit | 4de3323b04fc3f7e9a2fd90ec9f9abbb7c2ffad5 (patch) | |
tree | bd0346b8f0c7a0041b774bbc9868c6b82d220b93 /manifests | |
parent | 4c4823c1b622352706ae7ccba591c24bb08acbf5 (diff) | |
download | puppet-websites-4de3323b04fc3f7e9a2fd90ec9f9abbb7c2ffad5.tar.gz puppet-websites-4de3323b04fc3f7e9a2fd90ec9f9abbb7c2ffad5.tar.bz2 |
Trying to read resources using hiera_hash
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/resources.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp index 15550cd..455bf38 100644 --- a/manifests/resources.pp +++ b/manifests/resources.pp @@ -1,9 +1,9 @@ class websites::resources { # Retrieve configured instances - $sites = hiera('apache::sites', {}) - $databases = hiera('database::instances', {}) - $ikiwikis = hiera('ikiwiki::instances', {}) - $domains = hiera('domain_check::instances', {}) + $sites = hiera_hash('apache::sites', {}) + $databases = hiera_hash('database::instances', {}) + $ikiwikis = hiera_hash('ikiwiki::instances', {}) + $domains = hiera_hash('domain_check::instances', {}) # Apply instances create_resources('apache::site', $sites) |