aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-04-02 11:05:37 +0000
committerMichael Scherer <misc@mageia.org>2012-04-02 11:05:37 +0000
commitcc26741edadc4fa7da2b5854c674b29a324e6100 (patch)
tree4f13ee25cc5d8de08019db98088a99da33165519 /modules/apache
parentf6c93e0bda5c042d0ee3d25348df04d069997fb3 (diff)
downloadpuppet-cc26741edadc4fa7da2b5854c674b29a324e6100.tar
puppet-cc26741edadc4fa7da2b5854c674b29a324e6100.tar.gz
puppet-cc26741edadc4fa7da2b5854c674b29a324e6100.tar.bz2
puppet-cc26741edadc4fa7da2b5854c674b29a324e6100.tar.xz
puppet-cc26741edadc4fa7da2b5854c674b29a324e6100.zip
split vhost_catalyst_app in a separate file
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/manifests/init.pp10
-rw-r--r--modules/apache/manifests/vhost/catalyst_app.pp14
2 files changed, 14 insertions, 10 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index bac1858d..5bfaa004 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -1,14 +1,4 @@
class apache {
- define vhost_catalyst_app($script, $location = '', $process = 4, $use_ssl = false, $vhost = false) {
-
- include apache::mod::fastcgi
- apache::vhost::base { $name:
- vhost => $vhost,
- use_ssl => $use_ssl,
- content => template("apache/vhost_catalyst_app.conf"),
- }
- }
-
define vhost_simple($location) {
include apache::base
apache::vhost::base { $name:
diff --git a/modules/apache/manifests/vhost/catalyst_app.pp b/modules/apache/manifests/vhost/catalyst_app.pp
new file mode 100644
index 00000000..54a00fb2
--- /dev/null
+++ b/modules/apache/manifests/vhost/catalyst_app.pp
@@ -0,0 +1,14 @@
+define apache::vhost::catalyst_app( $script,
+ $location = '',
+ $process = 4,
+ $use_ssl = false,
+ $vhost = false) {
+ include apache::mod::fastcgi
+ apache::vhost::base { $name:
+ vhost => $vhost,
+ use_ssl => $use_ssl,
+ content => template('apache/vhost_catalyst_app.conf'),
+ }
+}
+
+