diff options
author | Micah Anderson <micah@leap.se> | 2013-08-29 15:05:15 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-08-29 15:37:11 -0400 |
commit | 323ceff1ea60bd3463821fc2295ffb790d822165 (patch) | |
tree | ec8b08460b0b9103efd51bfce7b8721d1e9e0228 /puppet/modules/site_apache/manifests | |
parent | b093daf38d1bf33170382349ae8326e800ed70cd (diff) |
create individual classes for the apache modules so they can be included more than once in different locations, depending on what services are configured on a node (#3612)
Change-Id: Iff064d3d67baa132fb5198fea741522ab4e71770
Diffstat (limited to 'puppet/modules/site_apache/manifests')
-rw-r--r-- | puppet/modules/site_apache/manifests/module/alias.pp | 5 | ||||
-rw-r--r-- | puppet/modules/site_apache/manifests/module/headers.pp | 5 | ||||
-rw-r--r-- | puppet/modules/site_apache/manifests/module/rewrite.pp | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/puppet/modules/site_apache/manifests/module/alias.pp b/puppet/modules/site_apache/manifests/module/alias.pp new file mode 100644 index 00000000..c1f5e185 --- /dev/null +++ b/puppet/modules/site_apache/manifests/module/alias.pp @@ -0,0 +1,5 @@ +class site_apache::module::alias ( $ensure = present ) +{ + + apache::module { 'alias': ensure => $ensure } +} diff --git a/puppet/modules/site_apache/manifests/module/headers.pp b/puppet/modules/site_apache/manifests/module/headers.pp new file mode 100644 index 00000000..f7caa28c --- /dev/null +++ b/puppet/modules/site_apache/manifests/module/headers.pp @@ -0,0 +1,5 @@ +class site_apache::module::headers ( $ensure = present ) +{ + + apache::module {'headers': ensure => $ensure } +} diff --git a/puppet/modules/site_apache/manifests/module/rewrite.pp b/puppet/modules/site_apache/manifests/module/rewrite.pp new file mode 100644 index 00000000..7ad00a0c --- /dev/null +++ b/puppet/modules/site_apache/manifests/module/rewrite.pp @@ -0,0 +1,5 @@ +class site_apache::module::rewrite ( $ensure = present ) +{ + + apache::module { 'rewrite': ensure => $ensure } +} |