diff options
-rw-r--r-- | manifests/resources.pp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp index 286d257..44ef67c 100644 --- a/manifests/resources.pp +++ b/manifests/resources.pp @@ -1,17 +1,19 @@ class websites::resources { # Retrieve configured instances - $sites = hiera('apache::sites', {}) - $modules = hiera('apache::modules', {}) - $configs = hiera('apache::configs', {}) - $databases = hiera('database::instances', {}) - $ikiwikis = hiera('ikiwiki::instances', {}) - $domains = hiera('domain_check::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', {}) # Apply instances create_resources('apache::site', $sites) create_resources('apache::module', $modules) create_resources('apache::config', $configs) create_resources('database::instance', $databases) + create_resources('database::config', $database_configs) create_resources('ikiwiki::instance', $ikiwikis) create_resources('domain_check::instance', $domains) |