summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-04-12 14:57:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-04-12 14:57:38 -0300
commit80439b64295de9cc57a748f162bf112c04536a8e (patch)
treed53b545b48d7d125a39228662c1050b6e248e7d4
parent155236c08d0910e8e1600a56450cf95ad057b409 (diff)
downloadpuppet-websites-80439b64295de9cc57a748f162bf112c04536a8e.tar.gz
puppet-websites-80439b64295de9cc57a748f162bf112c04536a8e.tar.bz2
Manage apache::config resources
-rw-r--r--manifests/resources.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp
index 409bebd..286d257 100644
--- a/manifests/resources.pp
+++ b/manifests/resources.pp
@@ -2,6 +2,7 @@ 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', {})
@@ -9,6 +10,7 @@ class websites::resources {
# Apply instances
create_resources('apache::site', $sites)
create_resources('apache::module', $modules)
+ create_resources('apache::config', $configs)
create_resources('database::instance', $databases)
create_resources('ikiwiki::instance', $ikiwikis)
create_resources('domain_check::instance', $domains)