summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-08 12:05:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-08 12:05:19 -0300
commitacb1fc61809fcedfe102c3d718d0a97a89d4bc35 (patch)
tree3e926e53fb8e8ca57fc7b7d7b77c8ca67749e0f9 /manifests
parent338c33de61aac06143e10942ac178e405fe673b0 (diff)
downloadpuppet-websites-acb1fc61809fcedfe102c3d718d0a97a89d4bc35.tar.gz
puppet-websites-acb1fc61809fcedfe102c3d718d0a97a89d4bc35.tar.bz2
Create apache::module resources
Diffstat (limited to 'manifests')
-rw-r--r--manifests/resources.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp
index 15550cd..409bebd 100644
--- a/manifests/resources.pp
+++ b/manifests/resources.pp
@@ -1,12 +1,14 @@
class websites::resources {
# Retrieve configured instances
$sites = hiera('apache::sites', {})
+ $modules = hiera('apache::modules', {})
$databases = hiera('database::instances', {})
$ikiwikis = hiera('ikiwiki::instances', {})
$domains = hiera('domain_check::instances', {})
# Apply instances
create_resources('apache::site', $sites)
+ create_resources('apache::module', $modules)
create_resources('database::instance', $databases)
create_resources('ikiwiki::instance', $ikiwikis)
create_resources('domain_check::instance', $domains)