climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject [07/51] [abbrv] [partial] Adding Jinwon's custom RCMET
Date Fri, 09 May 2014 02:03:16 GMT
http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_log_config.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_log_config.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_log_config.rb.svn-base
new file mode 100755
index 0000000..fa8a484
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_log_config.rb.svn-base
@@ -0,0 +1,24 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: log_config 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+if platform?("centos", "redhat", "fedora", "suse")
+  apache_module "log_config"
+else
+  include_recipe "apache2"
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_mime.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_mime.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_mime.rb.svn-base
new file mode 100755
index 0000000..16aee1a
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_mime.rb.svn-base
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: mime 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "mime" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_negotiation.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_negotiation.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_negotiation.rb.svn-base
new file mode 100755
index 0000000..348e11f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_negotiation.rb.svn-base
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: negotiation 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "negotiation" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_php5.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_php5.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_php5.rb.svn-base
new file mode 100755
index 0000000..b6ae2c0
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_php5.rb.svn-base
@@ -0,0 +1,32 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: php5 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+case node[:platform]
+when "debian", "ubuntu"
+  package "libapache2-mod-php5" do
+    action :install
+  end  
+when "centos", "redhat", "fedora"
+  package "php" do
+    action :install
+    notifies :run, resources(:execute => "generate-module-list"), :immediately
+  end
+end
+
+apache_module "php5"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy.rb.svn-base
new file mode 100755
index 0000000..fff7627
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy.rb.svn-base
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_ajp.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_ajp.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_ajp.rb.svn-base
new file mode 100755
index 0000000..617a2c2
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_ajp.rb.svn-base
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy_ajp"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_balancer.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_balancer.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_balancer.rb.svn-base
new file mode 100755
index 0000000..dc62a71
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_balancer.rb.svn-base
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy_balancer"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_connect.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_connect.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_connect.rb.svn-base
new file mode 100755
index 0000000..f41954f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_connect.rb.svn-base
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy_connect"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_http.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_http.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_http.rb.svn-base
new file mode 100755
index 0000000..ddff3ea
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_proxy_http.rb.svn-base
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy_http 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy_http"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_python.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_python.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_python.rb.svn-base
new file mode 100755
index 0000000..feaca03
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_python.rb.svn-base
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: python 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+package "libapache2-mod-python"
+
+apache_module "python"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_rewrite.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_rewrite.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_rewrite.rb.svn-base
new file mode 100755
index 0000000..df388a6
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_rewrite.rb.svn-base
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: rewrite 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "rewrite"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_setenvif.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_setenvif.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_setenvif.rb.svn-base
new file mode 100755
index 0000000..4048a5f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_setenvif.rb.svn-base
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: setenvif 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "setenvif" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_ssl.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_ssl.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_ssl.rb.svn-base
new file mode 100755
index 0000000..e82b9d1
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_ssl.rb.svn-base
@@ -0,0 +1,42 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: ssl 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+if platform?("centos", "redhat", "fedora")
+  package "mod_ssl" do
+    action :install
+    notifies :run, resources(:execute => "generate-module-list"), :immediately
+  end
+
+  file "#{node[:apache][:dir]}/conf.d/ssl.conf" do
+    action :delete
+    backup false 
+  end
+end
+
+ports = node[:apache][:listen_ports].include?("443") ? node[:apache][:listen_ports] : [node[:apache][:listen_ports], "443"].flatten
+
+template "#{node[:apache][:dir]}/ports.conf" do
+  source "ports.conf.erb"
+  variables :apache_listen_ports => ports
+  notifies :restart, resources(:service => "apache2")
+end
+
+apache_module "ssl" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_status.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_status.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_status.rb.svn-base
new file mode 100755
index 0000000..3e71727
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_status.rb.svn-base
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: status 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "status" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_wsgi.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_wsgi.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_wsgi.rb.svn-base
new file mode 100755
index 0000000..f54919f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_wsgi.rb.svn-base
@@ -0,0 +1,27 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: python 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+case node[:platform]
+when "debian","ubuntu"
+  package "libapache2-mod-wsgi"
+when "redhat","centos","fedora"
+  package "mod_wsgi"
+end
+
+apache_module "wsgi"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/default.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/default.rb b/src/main/vm/src/cookbooks/apache2/recipes/default.rb
new file mode 100755
index 0000000..7aef323
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/default.rb
@@ -0,0 +1,191 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: default
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+package "apache2" do
+  case node[:platform]
+  when "centos","redhat","fedora","suse"
+    package_name "httpd"
+  when "debian","ubuntu"
+    package_name "apache2"
+  end
+  action :install
+end
+
+service "apache2" do
+  case node[:platform]
+  when "centos","redhat","fedora","suse"
+    service_name "httpd"
+    # If restarted/reloaded too quickly httpd has a habit of failing.
+    # This may happen with multiple recipes notifying apache to restart - like
+    # during the initial bootstrap.
+    restart_command "/sbin/service httpd restart && sleep 1"
+    reload_command "/sbin/service httpd reload && sleep 1"
+  when "debian","ubuntu"
+    service_name "apache2"
+  end
+  supports value_for_platform(
+    "debian" => { "4.0" => [ :restart, :reload ], "default" => [ :restart, :reload, :status ] },
+    "ubuntu" => { "default" => [ :restart, :reload, :status ] },
+    "centos" => { "default" => [ :restart, :reload, :status ] },
+    "redhat" => { "default" => [ :restart, :reload, :status ] },
+    "fedora" => { "default" => [ :restart, :reload, :status ] },
+    "default" => { "default" => [:restart, :reload ] }
+  )
+  action :enable
+end
+
+if platform?("centos", "redhat", "fedora", "suse")
+  directory node[:apache][:log_dir] do
+    mode 0755
+    action :create
+  end
+  
+  cookbook_file "/usr/local/bin/apache2_module_conf_generate.pl" do
+    source "apache2_module_conf_generate.pl"
+    mode 0755
+    owner "root"
+    group "root"
+  end
+
+  %w{sites-available sites-enabled mods-available mods-enabled}.each do |dir|
+    directory "#{node[:apache][:dir]}/#{dir}" do
+      mode 0755
+      owner "root"
+      group "root"
+      action :create
+    end
+  end
+    
+  execute "generate-module-list" do
+    if node[:kernel][:machine] == "x86_64" 
+      libdir = "lib64"
+    else 
+      libdir = "lib"
+    end
+    command "/usr/local/bin/apache2_module_conf_generate.pl /usr/#{libdir}/httpd/modules /etc/httpd/mods-available"
+    
+    action :run
+  end
+  
+  %w{a2ensite a2dissite a2enmod a2dismod}.each do |modscript|
+    template "/usr/sbin/#{modscript}" do
+      source "#{modscript}.erb"
+      mode 0755
+      owner "root"
+      group "root"
+    end  
+  end
+
+  # installed by default on centos/rhel, remove in favour of mods-enabled
+  file "#{node[:apache][:dir]}/conf.d/proxy_ajp.conf" do
+    action :delete
+    backup false
+  end
+  file "#{node[:apache][:dir]}/conf.d/README" do
+    action :delete
+    backup false
+  end
+  
+  # welcome page moved to the default-site.rb temlate
+  file "#{node[:apache][:dir]}/conf.d/welcome.conf" do
+    action :delete
+    backup false
+  end
+end
+
+directory "#{node[:apache][:dir]}/ssl" do
+  action :create
+  mode 0755
+  owner "root"
+  group "root"
+end
+
+template "apache2.conf" do
+  case node[:platform]
+  when "centos","redhat","fedora"
+    path "#{node[:apache][:dir]}/conf/httpd.conf"
+  when "debian","ubuntu"
+    path "#{node[:apache][:dir]}/apache2.conf"
+  end
+  source "apache2.conf.erb"
+  owner "root"
+  group "root"
+  mode 0644
+  notifies :restart, resources(:service => "apache2")
+end
+
+template "security" do
+  path "#{node[:apache][:dir]}/conf.d/security"
+  source "security.erb"
+  owner "root"
+  group "root"
+  mode 0644
+  backup false
+  notifies :restart, resources(:service => "apache2")
+end
+
+template "charset" do
+  path "#{node[:apache][:dir]}/conf.d/charset"
+  source "charset.erb"
+  owner "root"
+  group "root"
+  mode 0644
+  backup false
+  notifies :restart, resources(:service => "apache2")
+end
+
+template "#{node[:apache][:dir]}/ports.conf" do
+  source "ports.conf.erb"
+  group "root"
+  owner "root"
+  variables :apache_listen_ports => node[:apache][:listen_ports]
+  mode 0644
+  notifies :restart, resources(:service => "apache2")
+end
+
+template "#{node[:apache][:dir]}/sites-available/default" do
+  source "default-site.erb"
+  owner "root"
+  group "root"
+  mode 0644
+  notifies :restart, resources(:service => "apache2")
+end
+
+include_recipe "apache2::mod_status"
+include_recipe "apache2::mod_alias"
+include_recipe "apache2::mod_auth_basic"
+include_recipe "apache2::mod_authn_file"
+include_recipe "apache2::mod_authz_default"
+include_recipe "apache2::mod_authz_groupfile"
+include_recipe "apache2::mod_authz_host"
+include_recipe "apache2::mod_authz_user"
+include_recipe "apache2::mod_autoindex"
+include_recipe "apache2::mod_dir"
+include_recipe "apache2::mod_env"
+include_recipe "apache2::mod_mime"
+include_recipe "apache2::mod_negotiation"
+include_recipe "apache2::mod_setenvif"
+include_recipe "apache2::mod_log_config" if platform?("centos", "redhat", "suse")
+
+# uncomment to get working example site on centos/redhat/fedora
+#apache_site "default"
+
+service "apache2" do
+  action :start
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/god_monitor.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/god_monitor.rb b/src/main/vm/src/cookbooks/apache2/recipes/god_monitor.rb
new file mode 100755
index 0000000..b3c49eb
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/god_monitor.rb
@@ -0,0 +1,33 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: god_monitor
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_service = service "apache2" do
+  action :nothing
+end
+
+start_command = apache_service.start_command
+stop_command = apache_service.stop_command
+restart_command = apache_service.restart_command
+
+god_monitor "apache2" do
+  config "apache2.god.erb"
+  start (start_command)?start_command : "/etc/init.d/#{apache_service.service_name} start"
+  restart (restart_command)?restart_command : "/etc/init.d/#{apache_service.service_name} restart"
+  stop (stop_command)?stop_command : "/etc/init.d/#{apache_service.service_name} stop"
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_alias.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_alias.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_alias.rb
new file mode 100755
index 0000000..a4618ed
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_alias.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: alias 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "alias" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_basic.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_basic.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_basic.rb
new file mode 100755
index 0000000..d30264f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_basic.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: auth_basic 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "auth_basic"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_digest.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_digest.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_digest.rb
new file mode 100755
index 0000000..5aef926
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_digest.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: auth_digest 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "auth_digest"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_openid.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_openid.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_openid.rb
new file mode 100755
index 0000000..83cc220
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_openid.rb
@@ -0,0 +1,59 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: mod_auth_openid
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+%w{ apache2-prefork-dev libopkele-dev libopkele3 }.each do |pkg|
+  package pkg
+end
+
+remote_file "/tmp/mod_auth_openid-0.4.tar.gz" do
+  source "http://butterfat.net/releases/mod_auth_openid/mod_auth_openid-0.4.tar.gz"
+  mode 0644
+end
+
+bash "install mod_auth_openid" do
+  cwd "/tmp"
+  code <<-EOH
+  tar zxvf mod_auth_openid-0.4.tar.gz
+  cd mod_auth_openid-0.4 && ./configure
+  perl -pi -e "s/-i -a -n 'authopenid'/-i -n 'authopenid'/g" Makefile
+  make && make install
+  EOH
+  not_if { File.exists?("/usr/lib/apache2/modules/mod_auth_openid.so") }
+end
+
+file "/var/cache/apache2/mod_auth_openid.db" do
+  owner node[:apache][:user]
+  mode 0600
+end
+
+template "#{node[:apache][:dir]}/mods-available/authopenid.load" do
+  source "mods/authopenid.load.erb"
+  owner "root"
+  group "root"
+  mode 0644
+end
+
+apache_module "authopenid"
+
+template "/usr/local/bin/mod_auth_openid.rb" do
+  source "mod_auth_openid.rb.erb"
+  owner node[:apache][:user]
+  group node[:apache][:user]
+  mode 0750
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_authn_file.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_authn_file.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_authn_file.rb
new file mode 100755
index 0000000..872caa7
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_authn_file.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: authn_file 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "authn_file"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_authnz_ldap.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_authnz_ldap.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_authnz_ldap.rb
new file mode 100755
index 0000000..0310d24
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_authnz_ldap.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: authnz_ldap 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "authnz_ldap"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_default.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_default.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_default.rb
new file mode 100755
index 0000000..123536d
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_default.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: authz_default 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "authz_default"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_groupfile.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_groupfile.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_groupfile.rb
new file mode 100755
index 0000000..b2833b2
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_groupfile.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: authz_groupfile 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "authz_groupfile"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_host.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_host.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_host.rb
new file mode 100755
index 0000000..87c1a4b
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_host.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: authz_host 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "authz_host"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_user.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_user.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_user.rb
new file mode 100755
index 0000000..8dd46df
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_user.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: authz_user 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "authz_user"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_autoindex.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_autoindex.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_autoindex.rb
new file mode 100755
index 0000000..622a66e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_autoindex.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: autoindex 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "autoindex" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_cgi.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_cgi.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_cgi.rb
new file mode 100755
index 0000000..6c15a05
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_cgi.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: cgi 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "cgi"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_dav.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_dav.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_dav.rb
new file mode 100755
index 0000000..fef656a
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_dav.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: dav 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "dav"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_dav_svn.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_dav_svn.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_dav_svn.rb
new file mode 100755
index 0000000..ce50d54
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_dav_svn.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: dav_svn 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+package "libapache2-svn"
+
+apache_module "dav_svn"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_deflate.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_deflate.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_deflate.rb
new file mode 100755
index 0000000..b568f30
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_deflate.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: deflate 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "deflate" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_dir.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_dir.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_dir.rb
new file mode 100755
index 0000000..9930c3a
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_dir.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: dir 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "dir" do 
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_env.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_env.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_env.rb
new file mode 100755
index 0000000..d345503
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_env.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: env 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "env"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_expires.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_expires.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_expires.rb
new file mode 100755
index 0000000..9e5042e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_expires.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: expires 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "expires"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_fcgid.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_fcgid.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_fcgid.rb
new file mode 100755
index 0000000..ea7ec3e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_fcgid.rb
@@ -0,0 +1,46 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: fcgid 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+if platform?("debian", "ubuntu")
+  package "libapache2-mod-fcgid"
+elsif platform?("centos", "redhat", "fedora")
+  package "mod_fcgid" do
+    notifies :run, resources(:execute => "generate-module-list"), :immediately
+  end
+
+  file "#{node[:apache][:dir]}/conf.d/fcgid.conf" do
+    action :delete
+    backup false 
+  end
+elsif platform?("suse")
+  apache_lib_path = node[:architecture] == "i386" ? "/usr/lib/httpd" : "/usr/lib64/httpd"
+  package "httpd-devel"
+  bash "install-fcgid" do
+    code <<-EOH
+(cd /tmp; wget http://superb-east.dl.sourceforge.net/sourceforge/mod-fcgid/mod_fcgid.2.2.tgz)
+(cd /tmp; tar zxvf mod_fcgid.2.2.tgz)
+(cd /tmp; perl -pi -e 's!/usr/local/apache2!#{apache_lib_path}!g' ./mod_fcgid.2.2/Makefile)
+(cd /tmp/mod_fcgid.2.2; make install)
+EOH
+  end
+end
+
+apache_module "fcgid" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_headers.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_headers.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_headers.rb
new file mode 100755
index 0000000..5e6b94d
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_headers.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: headers 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "headers"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_ldap.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_ldap.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_ldap.rb
new file mode 100755
index 0000000..0877694
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_ldap.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: ldap 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "ldap"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_log_config.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_log_config.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_log_config.rb
new file mode 100755
index 0000000..fa8a484
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_log_config.rb
@@ -0,0 +1,24 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: log_config 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+if platform?("centos", "redhat", "fedora", "suse")
+  apache_module "log_config"
+else
+  include_recipe "apache2"
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_mime.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_mime.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_mime.rb
new file mode 100755
index 0000000..16aee1a
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_mime.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: mime 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "mime" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_negotiation.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_negotiation.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_negotiation.rb
new file mode 100755
index 0000000..348e11f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_negotiation.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: negotiation 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "negotiation" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_php5.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_php5.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_php5.rb
new file mode 100755
index 0000000..b6ae2c0
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_php5.rb
@@ -0,0 +1,32 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: php5 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+case node[:platform]
+when "debian", "ubuntu"
+  package "libapache2-mod-php5" do
+    action :install
+  end  
+when "centos", "redhat", "fedora"
+  package "php" do
+    action :install
+    notifies :run, resources(:execute => "generate-module-list"), :immediately
+  end
+end
+
+apache_module "php5"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy.rb
new file mode 100755
index 0000000..fff7627
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_ajp.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_ajp.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_ajp.rb
new file mode 100755
index 0000000..617a2c2
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_ajp.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy_ajp"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_balancer.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_balancer.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_balancer.rb
new file mode 100755
index 0000000..dc62a71
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_balancer.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy_balancer"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_connect.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_connect.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_connect.rb
new file mode 100755
index 0000000..f41954f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_connect.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy_connect"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_http.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_http.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_http.rb
new file mode 100755
index 0000000..ddff3ea
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_http.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: proxy_http 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "proxy_http"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_python.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_python.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_python.rb
new file mode 100755
index 0000000..feaca03
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_python.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: python 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+package "libapache2-mod-python"
+
+apache_module "python"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_rewrite.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_rewrite.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_rewrite.rb
new file mode 100755
index 0000000..df388a6
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_rewrite.rb
@@ -0,0 +1,20 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: rewrite 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "rewrite"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_setenvif.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_setenvif.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_setenvif.rb
new file mode 100755
index 0000000..4048a5f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_setenvif.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: setenvif 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "setenvif" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_ssl.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_ssl.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_ssl.rb
new file mode 100755
index 0000000..e82b9d1
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_ssl.rb
@@ -0,0 +1,42 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: ssl 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+if platform?("centos", "redhat", "fedora")
+  package "mod_ssl" do
+    action :install
+    notifies :run, resources(:execute => "generate-module-list"), :immediately
+  end
+
+  file "#{node[:apache][:dir]}/conf.d/ssl.conf" do
+    action :delete
+    backup false 
+  end
+end
+
+ports = node[:apache][:listen_ports].include?("443") ? node[:apache][:listen_ports] : [node[:apache][:listen_ports], "443"].flatten
+
+template "#{node[:apache][:dir]}/ports.conf" do
+  source "ports.conf.erb"
+  variables :apache_listen_ports => ports
+  notifies :restart, resources(:service => "apache2")
+end
+
+apache_module "ssl" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_status.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_status.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_status.rb
new file mode 100755
index 0000000..3e71727
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_status.rb
@@ -0,0 +1,22 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: status 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apache_module "status" do
+  conf true
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/mod_wsgi.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/mod_wsgi.rb b/src/main/vm/src/cookbooks/apache2/recipes/mod_wsgi.rb
new file mode 100755
index 0000000..f54919f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/mod_wsgi.rb
@@ -0,0 +1,27 @@
+#
+# Cookbook Name:: apache2
+# Recipe:: python 
+#
+# Copyright 2008-2009, Opscode, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+case node[:platform]
+when "debian","ubuntu"
+  package "libapache2-mod-wsgi"
+when "redhat","centos","fedora"
+  package "mod_wsgi"
+end
+
+apache_module "wsgi"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/templates/.svn/all-wcprops
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/templates/.svn/all-wcprops b/src/main/vm/src/cookbooks/apache2/templates/.svn/all-wcprops
new file mode 100755
index 0000000..e1280dc
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/templates/.svn/all-wcprops
@@ -0,0 +1,5 @@
+K 25
+svn:wc:ra_dav:version-url
+V 101
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates
+END

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/templates/.svn/entries
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/templates/.svn/entries b/src/main/vm/src/cookbooks/apache2/templates/.svn/entries
new file mode 100755
index 0000000..2d85b31
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/templates/.svn/entries
@@ -0,0 +1,31 @@
+10
+
+dir
+1485921
+https://svn.apache.org/repos/asf/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates
+https://svn.apache.org/repos/asf
+
+
+
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+13f79535-47bb-0310-9956-ffa450edef68
+
+default
+dir
+

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/templates/default/.svn/all-wcprops
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/templates/default/.svn/all-wcprops b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/all-wcprops
new file mode 100755
index 0000000..a0f0b19
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/all-wcprops
@@ -0,0 +1,83 @@
+K 25
+svn:wc:ra_dav:version-url
+V 109
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default
+END
+charset.erb
+K 25
+svn:wc:ra_dav:version-url
+V 121
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/charset.erb
+END
+a2ensite.erb
+K 25
+svn:wc:ra_dav:version-url
+V 122
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/a2ensite.erb
+END
+apache2.god.erb
+K 25
+svn:wc:ra_dav:version-url
+V 125
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/apache2.god.erb
+END
+ports.conf.erb
+K 25
+svn:wc:ra_dav:version-url
+V 124
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/ports.conf.erb
+END
+mod_auth_openid.rb.erb
+K 25
+svn:wc:ra_dav:version-url
+V 132
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/mod_auth_openid.rb.erb
+END
+web_app.conf.erb
+K 25
+svn:wc:ra_dav:version-url
+V 126
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/web_app.conf.erb
+END
+a2dismod.erb
+K 25
+svn:wc:ra_dav:version-url
+V 122
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/a2dismod.erb
+END
+a2enmod.erb
+K 25
+svn:wc:ra_dav:version-url
+V 121
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/a2enmod.erb
+END
+port_apache.erb
+K 25
+svn:wc:ra_dav:version-url
+V 125
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/port_apache.erb
+END
+default-site.erb
+K 25
+svn:wc:ra_dav:version-url
+V 126
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/default-site.erb
+END
+a2dissite.erb
+K 25
+svn:wc:ra_dav:version-url
+V 123
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/a2dissite.erb
+END
+apache2.conf.erb
+K 25
+svn:wc:ra_dav:version-url
+V 126
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/apache2.conf.erb
+END
+security.erb
+K 25
+svn:wc:ra_dav:version-url
+V 122
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default/security.erb
+END

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/templates/default/.svn/entries
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/templates/default/.svn/entries b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/entries
new file mode 100755
index 0000000..13ae497
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/entries
@@ -0,0 +1,473 @@
+10
+
+dir
+1485921
+https://svn.apache.org/repos/asf/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/templates/default
+https://svn.apache.org/repos/asf
+
+
+
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+13f79535-47bb-0310-9956-ffa450edef68
+
+charset.erb
+file
+
+
+
+
+2013-05-24T10:13:53.000000Z
+e6fbb8adf631932851d6cc522c1e48d7
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+269
+
+a2ensite.erb
+file
+
+
+
+
+2013-05-24T10:13:53.000000Z
+56579df79e6ff12511cc2a1522fd7af2
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1020
+
+mods
+dir
+
+apache2.god.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+0bf184a24259c8943c1357d5197df969
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+486
+
+ports.conf.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+09ed7d522079615834a13990bdef2542
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+147
+
+mod_auth_openid.rb.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+e438e3ed68630263c50bf6d93eb32ed8
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+215
+
+web_app.conf.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+b5395d7925e5f3f2040a49b829d24f9b
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1263
+
+a2dismod.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+802640853e3c8243e9229bddabe5d971
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+629
+
+a2enmod.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+5555e79ad578ad44cc00b3dd7ad85e53
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1120
+
+port_apache.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+6012594d39fef96f9392e69c6dd8801f
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+72
+
+default-site.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+2ab19e5f7f0d33adc82004877b792ecb
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2001
+
+a2dissite.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+6d7682704bba38227a18a7336ad0f8b9
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+810
+
+apache2.conf.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+b4930933223f4be047c732f2101f4f47
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+8491
+
+security.erb
+file
+
+
+
+
+2013-05-24T10:13:54.000000Z
+ebc22b863b112905b2de1c3af87ba341
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1566
+

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2dismod.erb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2dismod.erb.svn-base b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2dismod.erb.svn-base
new file mode 100755
index 0000000..06fb6b3
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2dismod.erb.svn-base
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+SYSCONFDIR='<%= node[:apache][:dir] %>'
+
+if [ -z $1 ]; then
+        echo "Which module would you like to disable?"
+        echo -n "Your choices are: "
+        ls $SYSCONFDIR/mods-enabled/*.load | \
+        sed -e "s,$SYSCONFDIR/mods-enabled/,,g" | sed -e 's/\.load$//g;' | xargs echo
+        echo -n "Module name? "
+        read MODNAME
+else
+        MODNAME=$1
+fi
+
+if ! [ -e $SYSCONFDIR/mods-enabled/$MODNAME.load ]; then
+        echo "This module is already disabled, or does not exist!"
+        exit 1
+fi
+
+rm -f $SYSCONFDIR/mods-enabled/$MODNAME.*
+echo "Module $MODNAME disabled; reload apache to fully disable."
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2dissite.erb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2dissite.erb.svn-base b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2dissite.erb.svn-base
new file mode 100755
index 0000000..41feda5
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2dissite.erb.svn-base
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+
+SYSCONFDIR='<%= node[:apache][:dir] %>'
+
+if [ -z $1 ]; then
+        echo "Which site would you like to disable?"
+        echo -n "Your choices are: "
+        ls $node[:apache][:dir]/sites-enabled/* | \
+        sed -e "s,$SYSCONFDIR/sites-enabled/,,g" | xargs echo
+        echo -n "Site name? "
+        read SITENAME
+else
+        SITENAME=$1
+fi
+
+if [ $SITENAME = "default" ]; then
+        PRIORITY="000"
+fi
+
+if ! [ -e $SYSCONFDIR/sites-enabled/$SITENAME -o \
+       -e $SYSCONFDIR/sites-enabled/"$PRIORITY"-"$SITENAME" ]; then
+        echo "This site is already disabled, or does not exist!"
+        exit 1
+fi
+
+if ! rm $SYSCONFDIR/sites-enabled/$SITENAME 2>/dev/null; then
+        rm -f $SYSCONFDIR/sites-enabled/"$PRIORITY"-"$SITENAME"
+fi
+echo "Site $SITENAME disabled; reload apache to disable."
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2enmod.erb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2enmod.erb.svn-base b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2enmod.erb.svn-base
new file mode 100755
index 0000000..a59c72f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2enmod.erb.svn-base
@@ -0,0 +1,37 @@
+#!/bin/sh -e
+
+SYSCONFDIR='<%= node[:apache][:dir] %>'
+
+if [ -z $1 ]; then
+        echo "Which module would you like to enable?"
+        echo -n "Your choices are: "
+        ls $SYSCONFDIR/mods-available/*.load | \
+        sed -e "s,$SYSCONFDIR/mods-available/,,g" | sed -e 's/\.load$//g;' | xargs echo
+        echo -n "Module name? "
+        read MODNAME
+else
+        MODNAME=$1
+fi
+
+#figure out if we're on a prefork or threaded mpm
+if [ -x /usr/sbin/apache2 ]; then
+        PREFORK=`/usr/sbin/apache2 -l | grep prefork || true`
+fi
+
+if [ -e $SYSCONFDIR/mods-enabled/$MODNAME.load && -e $SYSCONFDIR/mods-enabled/$MODNAME.conf ]; then
+        echo "This module is already enabled!"
+        exit 0 
+fi
+
+if ! [ -e $SYSCONFDIR/mods-available/$MODNAME.load ]; then
+        echo "This module does not exist!"
+        exit 1
+fi
+
+for i in conf load; do 
+        if [ -e $SYSCONFDIR/mods-available/$MODNAME.$i -a ! -e $SYSCONFDIR/mods-enabled/$MODNAME.$i ]; then
+        ln -sf $SYSCONFDIR/mods-available/$MODNAME.$i $SYSCONFDIR/mods-enabled/$MODNAME.$i;
+        fi
+done
+
+echo "Module $MODNAME installed; reload apache to enable."
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2ensite.erb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2ensite.erb.svn-base b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2ensite.erb.svn-base
new file mode 100755
index 0000000..4288869
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/templates/default/.svn/text-base/a2ensite.erb.svn-base
@@ -0,0 +1,38 @@
+#!/bin/sh -e
+
+SYSCONFDIR='<%= node[:apache][:dir] %>'
+
+if [ -z $1 ]; then
+        echo "Which site would you like to enable?"
+        echo -n "Your choices are: "
+        ls $SYSCONFDIR/sites-available/* | \
+        sed -e "s,$SYSCONFDIR/sites-available/,,g" | xargs echo
+        echo -n "Site name? "
+        read SITENAME
+else
+        SITENAME=$1
+fi
+
+if [ $SITENAME = "default" ]; then
+        PRIORITY="000"
+fi
+
+if [ -e $SYSCONFDIR/sites-enabled/$SITENAME -o \
+     -e $SYSCONFDIR/sites-enabled/"$PRIORITY"-"$SITENAME" ]; then
+        echo "This site is already enabled!"
+        exit 0
+fi
+
+if ! [ -e $SYSCONFDIR/sites-available/$SITENAME ]; then
+        echo "This site does not exist!"
+        exit 1
+fi
+
+if [ $SITENAME = "default" ]; then
+        ln -sf $SYSCONFDIR/sites-available/$SITENAME \
+               $SYSCONFDIR/sites-enabled/"$PRIORITY"-"$SITENAME"
+else
+        ln -sf $SYSCONFDIR/sites-available/$SITENAME $SYSCONFDIR/sites-enabled/$SITENAME
+fi
+
+echo "Site $SITENAME installed; reload apache to enable."
\ No newline at end of file


Mime
View raw message