From 2e55ffd6ed7bee3d2a358da1fdd0de66e8c777c2 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 25 Mar 2012 12:26:35 +0000 Subject: split webapp_other in a separate file --- modules/apache/manifests/init.pp | 7 ------- modules/apache/manifests/webapp_other.pp | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 modules/apache/manifests/webapp_other.pp diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 87a96f58..3bc298f8 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -166,11 +166,4 @@ class apache { } } - define webapp_other($webapp_file) { - include apache::base - $webappname = $name - apache::config { "/etc/httpd/conf/webapps.d/$webappname.conf": - content => template($webapp_file), - } - } } diff --git a/modules/apache/manifests/webapp_other.pp b/modules/apache/manifests/webapp_other.pp new file mode 100644 index 00000000..277558b5 --- /dev/null +++ b/modules/apache/manifests/webapp_other.pp @@ -0,0 +1,7 @@ +define apache::webapp_other($webapp_file) { + include apache::base + $webappname = $name + apache::config { "/etc/httpd/conf/webapps.d/$webappname.conf": + content => template($webapp_file), + } +} -- cgit v1.2.1