diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-25 12:26:35 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-25 12:26:35 +0000 |
commit | 2e55ffd6ed7bee3d2a358da1fdd0de66e8c777c2 (patch) | |
tree | f9147113e937e6f50213a9f57498ba2f436ef9fe | |
parent | fe7c84751929b955d65e7f607edc36f01d9d1fc4 (diff) | |
download | puppet-2e55ffd6ed7bee3d2a358da1fdd0de66e8c777c2.tar puppet-2e55ffd6ed7bee3d2a358da1fdd0de66e8c777c2.tar.gz puppet-2e55ffd6ed7bee3d2a358da1fdd0de66e8c777c2.tar.bz2 puppet-2e55ffd6ed7bee3d2a358da1fdd0de66e8c777c2.tar.xz puppet-2e55ffd6ed7bee3d2a358da1fdd0de66e8c777c2.zip |
split webapp_other in a separate file
-rw-r--r-- | modules/apache/manifests/init.pp | 7 | ||||
-rw-r--r-- | modules/apache/manifests/webapp_other.pp | 7 |
2 files changed, 7 insertions, 7 deletions
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), + } +} |