diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:50 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:50 -0300 |
commit | 298d43a828b10a194196fb90f6f65944f14901a5 (patch) | |
tree | fecbbc2f31994b44707b558221677c97d84baaf2 /manifests/resources.pp | |
parent | 737b596d073acad8ddcd26ac8a1c7e4a0dafd4b3 (diff) | |
download | puppet-websites-298d43a828b10a194196fb90f6f65944f14901a5.tar.gz puppet-websites-298d43a828b10a194196fb90f6f65944f14901a5.tar.bz2 |
Diffstat (limited to 'manifests/resources.pp')
-rw-r--r-- | manifests/resources.pp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp index 44ef67c..498d498 100644 --- a/manifests/resources.pp +++ b/manifests/resources.pp @@ -1,12 +1,12 @@ class websites::resources { # Retrieve configured instances - $sites = hiera('apache::sites', {}) - $modules = hiera('apache::modules', {}) - $configs = hiera('apache::configs', {}) - $databases = hiera('database::instances', {}) - $database_configs = hiera('database::configs', {}) - $ikiwikis = hiera('ikiwiki::instances', {}) - $domains = hiera('domain_check::instances', {}) + $sites = lookup('apache::sites', undef, undef, {}) + $modules = lookup('apache::modules', undef, undef, {}) + $configs = lookup('apache::configs', undef, undef, {}) + $databases = lookup('database::instances', undef, undef, {}) + $database_configs = lookup('database::configs', undef, undef, {}) + $ikiwikis = lookup('ikiwiki::instances', undef, undef, {}) + $domains = lookup('domain_check::instances', undef, undef, {}) # Apply instances create_resources('apache::site', $sites) |