climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject [08/51] [abbrv] [partial] Adding Jinwon's custom RCMET
Date Fri, 09 May 2014 02:03:17 GMT
http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/definitions/apache_module.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/definitions/apache_module.rb b/src/main/vm/src/cookbooks/apache2/definitions/apache_module.rb
new file mode 100755
index 0000000..2bd739e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/definitions/apache_module.rb
@@ -0,0 +1,43 @@
+#
+# Cookbook Name:: apache2
+# Definition:: apache_module
+#
+# 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.
+#
+
+define :apache_module, :enable => true, :conf => false do
+  include_recipe "apache2"
+ 
+  if params[:conf]
+    apache_conf params[:name]
+  end
+ 
+  if params[:enable]
+    execute "a2enmod #{params[:name]}" do
+      command "/usr/sbin/a2enmod #{params[:name]}"
+      notifies :restart, resources(:service => "apache2")
+      not_if do (File.symlink?("#{node[:apache][:dir]}/mods-enabled/#{params[:name]}.load") and
+            ((File.exists?("#{node[:apache][:dir]}/mods-available/#{params[:name]}.conf"))?
+              (File.symlink?("#{node[:apache][:dir]}/mods-enabled/#{params[:name]}.conf")):(true)))
+      end
+    end    
+  else
+    execute "a2dismod #{params[:name]}" do
+      command "/usr/sbin/a2dismod #{params[:name]}"
+      notifies :restart, resources(:service => "apache2")
+      only_if do File.symlink?("#{node[:apache][:dir]}/mods-enabled/#{params[:name]}.load") end
+    end
+  end
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/definitions/apache_site.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/definitions/apache_site.rb b/src/main/vm/src/cookbooks/apache2/definitions/apache_site.rb
new file mode 100755
index 0000000..7316e01
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/definitions/apache_site.rb
@@ -0,0 +1,40 @@
+#
+# Cookbook Name:: apache2
+# Definition:: apache_site
+#
+# 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.
+#
+
+define :apache_site, :enable => true do
+  include_recipe "apache2"
+  
+  if params[:enable]
+    execute "a2ensite #{params[:name]}" do
+      command "/usr/sbin/a2ensite #{params[:name]}"
+      notifies :restart, resources(:service => "apache2")
+      not_if do 
+        File.symlink?("#{node[:apache][:dir]}/sites-enabled/#{params[:name]}") or
+          File.symlink?("#{node[:apache][:dir]}/sites-enabled/000-#{params[:name]}")
+      end
+      only_if do File.exists?("#{node[:apache][:dir]}/sites-available/#{params[:name]}") end
+    end
+  else
+    execute "a2dissite #{params[:name]}" do
+      command "/usr/sbin/a2dissite #{params[:name]}"
+      notifies :restart, resources(:service => "apache2")
+      only_if do File.symlink?("#{node[:apache][:dir]}/sites-enabled/#{params[:name]}") end
+    end
+  end
+end

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/definitions/web_app.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/definitions/web_app.rb b/src/main/vm/src/cookbooks/apache2/definitions/web_app.rb
new file mode 100755
index 0000000..b532708
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/definitions/web_app.rb
@@ -0,0 +1,49 @@
+#
+# Cookbook Name:: apache2
+# Definition:: web_app
+#
+# 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.
+#
+
+define :web_app, :template => "web_app.conf.erb" do
+  
+  application_name = params[:name]
+
+  include_recipe "apache2"
+  include_recipe "apache2::mod_rewrite"
+  include_recipe "apache2::mod_deflate"
+  include_recipe "apache2::mod_headers"
+  
+  template "#{node[:apache][:dir]}/sites-available/#{application_name}.conf" do
+    source params[:template]
+    owner "root"
+    group "root"
+    mode 0644
+    if params[:cookbook]
+      cookbook params[:cookbook]
+    end
+    variables(
+      :application_name => application_name,
+      :params => params
+    )
+    if File.exists?("#{node[:apache][:dir]}/sites-enabled/#{application_name}.conf")
+      notifies :reload, resources(:service => "apache2"), :delayed
+    end
+  end
+  
+  apache_site "#{params[:name]}.conf" do
+    enable enable_setting
+  end
+end

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

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/files/.svn/entries
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/files/.svn/entries b/src/main/vm/src/cookbooks/apache2/files/.svn/entries
new file mode 100755
index 0000000..e6841a4
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/files/.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/files
+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/files/default/.svn/all-wcprops
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/files/default/.svn/all-wcprops b/src/main/vm/src/cookbooks/apache2/files/default/.svn/all-wcprops
new file mode 100755
index 0000000..422e5f5
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/files/default/.svn/all-wcprops
@@ -0,0 +1,11 @@
+K 25
+svn:wc:ra_dav:version-url
+V 105
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/files/default
+END
+apache2_module_conf_generate.pl
+K 25
+svn:wc:ra_dav:version-url
+V 137
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/files/default/apache2_module_conf_generate.pl
+END

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/files/default/.svn/entries
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/files/default/.svn/entries b/src/main/vm/src/cookbooks/apache2/files/default/.svn/entries
new file mode 100755
index 0000000..01301bf
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/files/default/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+1485921
+https://svn.apache.org/repos/asf/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/files/default
+https://svn.apache.org/repos/asf
+
+
+
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+13f79535-47bb-0310-9956-ffa450edef68
+
+apache2_module_conf_generate.pl
+file
+
+
+
+
+2013-05-24T10:13:51.000000Z
+72b1767bbcfe18d79d2c834c41ed5db3
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+848
+

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/files/default/.svn/text-base/apache2_module_conf_generate.pl.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/files/default/.svn/text-base/apache2_module_conf_generate.pl.svn-base b/src/main/vm/src/cookbooks/apache2/files/default/.svn/text-base/apache2_module_conf_generate.pl.svn-base
new file mode 100755
index 0000000..83f849e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/files/default/.svn/text-base/apache2_module_conf_generate.pl.svn-base
@@ -0,0 +1,41 @@
+#!/usr/bin/perl
+
+=begin
+
+Generates Ubuntu style module.load files.
+ 
+./apache2_module_conf_generate.pl /usr/lib64/httpd/modules /etc/httpd/mods-available
+
+ARGV[0] is the apache modules directory, ARGV[1] is where you want 'em.
+
+=cut
+
+use File::Find;
+
+use strict;
+use warnings;
+
+die "Must have '/path/to/modules' and '/path/to/modules.load'"
+  unless $ARGV[0] && $ARGV[1];
+
+find(
+  {
+    wanted => sub {
+      return 1 if $File::Find::name !~ /\.so$/;
+      my $modfile = $_;
+      $modfile =~ /(lib|mod_)(.+)\.so$/;
+      my $modname  = $2;
+      my $filename = "$ARGV[1]/$modname.load";
+      unless ( -f $filename ) {
+        open( FILE, ">", $filename ) or die "Cannot open $filename";
+        print FILE "LoadModule " . $modname . "_module $File::Find::name\n";
+        close(FILE);
+      }
+    },
+    follow => 1,
+  },
+  $ARGV[0]
+);
+
+exit 0;
+

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/files/default/apache2_module_conf_generate.pl
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/files/default/apache2_module_conf_generate.pl b/src/main/vm/src/cookbooks/apache2/files/default/apache2_module_conf_generate.pl
new file mode 100755
index 0000000..83f849e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/files/default/apache2_module_conf_generate.pl
@@ -0,0 +1,41 @@
+#!/usr/bin/perl
+
+=begin
+
+Generates Ubuntu style module.load files.
+ 
+./apache2_module_conf_generate.pl /usr/lib64/httpd/modules /etc/httpd/mods-available
+
+ARGV[0] is the apache modules directory, ARGV[1] is where you want 'em.
+
+=cut
+
+use File::Find;
+
+use strict;
+use warnings;
+
+die "Must have '/path/to/modules' and '/path/to/modules.load'"
+  unless $ARGV[0] && $ARGV[1];
+
+find(
+  {
+    wanted => sub {
+      return 1 if $File::Find::name !~ /\.so$/;
+      my $modfile = $_;
+      $modfile =~ /(lib|mod_)(.+)\.so$/;
+      my $modname  = $2;
+      my $filename = "$ARGV[1]/$modname.load";
+      unless ( -f $filename ) {
+        open( FILE, ">", $filename ) or die "Cannot open $filename";
+        print FILE "LoadModule " . $modname . "_module $File::Find::name\n";
+        close(FILE);
+      }
+    },
+    follow => 1,
+  },
+  $ARGV[0]
+);
+
+exit 0;
+

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/metadata.json
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/metadata.json b/src/main/vm/src/cookbooks/apache2/metadata.json
new file mode 100755
index 0000000..a9280ea
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/metadata.json
@@ -0,0 +1,497 @@
+{
+    "suggestions": {
+    },
+    "attributes": {
+      "apache/traceenable": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "On",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Determine behavior of TRACE requests",
+        "display_name": "Apache Trace Enable"
+      },
+      "apache/serversignature": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "On",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Configure footer on server-generated documents",
+        "display_name": "Apache Server Signature"
+      },
+      "apache/contact": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "ops@example.com",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Email address of webmaster",
+        "display_name": "Apache Contact"
+      },
+      "apache/icondir": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "/usr/share/apache2/icons",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Directory location for icons",
+        "display_name": "Apache Icondir"
+      },
+      "apache/user": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "www-data",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "User Apache runs as",
+        "display_name": "Apache User"
+      },
+      "apache/worker/threadsperchild": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "64",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Constant number of worker threads in each server process",
+        "display_name": "Apache Worker MPM ThreadsPerChild"
+      },
+      "apache/worker/maxclients": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "1024",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Maximum number of simultaneous connections",
+        "display_name": "Apache Worker MPM MaxClients"
+      },
+      "apache/worker": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "type": "hash",
+        "recipes": [
+
+        ],
+        "description": "Hash of Apache prefork tuning attributes.",
+        "display_name": "Apache Worker"
+      },
+      "apache/keepaliverequests": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "100",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Number of requests allowed on a persistent connection",
+        "display_name": "Apache Keepalive Requests"
+      },
+      "apache/timeout": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "300",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Connection timeout value",
+        "display_name": "Apache Timeout"
+      },
+      "apache/worker/maxrequestsperchild": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "0",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Maximum number of request a child process will handle",
+        "display_name": "Apache Worker MPM MaxRequestsPerChild"
+      },
+      "apache/dir": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "/etc/apache2",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Location for Apache configuration",
+        "display_name": "Apache Directory"
+      },
+      "apache/prefork/serverlimit": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "400",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Upper limit on configurable server processes",
+        "display_name": "Apache Prefork MPM ServerLimit"
+      },
+      "apache/prefork/minspareservers": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "16",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Minimum number of spare server processes",
+        "display_name": "Apache Prefork MPM MinSpareServers"
+      },
+      "apache/allowed_openids": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Array of OpenIDs allowed to authenticate",
+        "display_name": "Apache Allowed OpenIDs"
+      },
+      "apache/binary": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "/usr/sbin/apache2",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Apache server daemon program",
+        "display_name": "Apache Binary"
+      },
+      "apache/prefork/startservers": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "16",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Number of MPM servers to start",
+        "display_name": "Apache Prefork MPM StartServers"
+      },
+      "apache/listen_ports": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": [
+          "80",
+          "443"
+        ],
+        "type": "array",
+        "recipes": [
+
+        ],
+        "description": "Ports that Apache should listen on",
+        "display_name": "Apache Listen Ports"
+      },
+      "apache/prefork/maxrequestsperchild": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "10000",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Maximum number of request a child process will handle",
+        "display_name": "Apache Prefork MPM MaxRequestsPerChild"
+      },
+      "apache/keepalivetimeout": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "5",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Time to wait for requests on persistent connection",
+        "display_name": "Apache Keepalive Timeout"
+      },
+      "apache/keepalive": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "On",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "HTTP persistent connections",
+        "display_name": "Apache Keepalive"
+      },
+      "apache": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "type": "hash",
+        "recipes": [
+
+        ],
+        "description": "Hash of Apache attributes",
+        "display_name": "Apache Hash"
+      },
+      "apache/worker/maxsparethreads": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "192",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Maximum number of spare worker threads",
+        "display_name": "Apache Worker MPM MaxSpareThreads"
+      },
+      "apache/worker/startservers": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "4",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Initial number of server processes to start",
+        "display_name": "Apache Worker MPM StartServers"
+      },
+      "apache/prefork/maxclients": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "400",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Maximum number of simultaneous connections",
+        "display_name": "Apache Prefork MPM MaxClients"
+      },
+      "apache/prefork": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "type": "hash",
+        "recipes": [
+
+        ],
+        "description": "Hash of Apache prefork tuning attributes.",
+        "display_name": "Apache Prefork"
+      },
+      "apache/servertokens": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "Prod",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Server response header",
+        "display_name": "Apache Server Tokens"
+      },
+      "apache/log_dir": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "/etc/apache2",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Location for Apache logs",
+        "display_name": "Apache Log Directory"
+      },
+      "apache/worker/minsparethreads": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "64",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Minimum number of spare worker threads",
+        "display_name": "Apache Worker MPM MinSpareThreads"
+      },
+      "apache/prefork/maxspareservers": {
+        "required": "optional",
+        "calculated": false,
+        "choice": [
+
+        ],
+        "default": "32",
+        "type": "string",
+        "recipes": [
+
+        ],
+        "description": "Maximum number of spare server processes",
+        "display_name": "Apache Prefork MPM MaxSpareServers"
+      }
+    },
+    "maintainer_email": "cookbooks@opscode.com",
+    "conflicting": {
+    },
+    "dependencies": {
+    },
+    "recipes": {
+      "apache2::mod_dav": "Apache module 'dav'",
+      "apache2::mod_proxy_ajp": "Apache module 'proxy_ajp'",
+      "apache2::mod_php5": "Apache module 'php5'",
+      "apache2::mod_mime": "Apache module 'mime' with config file",
+      "apache2::mod_deflate": "Apache module 'deflate' with config file",
+      "apache2::mod_ssl": "Apache module 'ssl' with config file, adds port 443 to listen_ports",
+      "apache2::mod_setenvif": "Apache module 'setenvif' with config file",
+      "apache2::mod_python": "Apache module 'python'",
+      "apache2::mod_negotiation": "Apache module 'negotiation' with config file",
+      "apache2::mod_cgi": "Apache module 'cgi'",
+      "apache2::mod_authz_groupfile": "Apache module 'authz_groupfile'",
+      "apache2::mod_auth_basic": "Apache module 'auth_basic'",
+      "apache2::mod_rewrite": "Apache module 'rewrite'",
+      "apache2::mod_dav_svn": "Apache module 'dav_svn'",
+      "apache2::mod_autoindex": "Apache module 'autoindex' with config file",
+      "apache2::mod_authz_host": "Apache module 'authz_host'",
+      "apache2::mod_headers": "Apache module 'headers'",
+      "apache2::mod_authz_user": "Apache module 'authz_user'",
+      "apache2::mod_proxy_connect": "Apache module 'proxy_connect'",
+      "apache2::mod_proxy": "Apache module 'proxy' with config file",
+      "apache2::mod_fcgid": "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file",
+      "apache2::mod_authnz_ldap": "Apache module 'authnz_ldap'",
+      "apache2::mod_auth_digest": "Apache module 'auth_digest'",
+      "apache2::mod_env": "Apache module 'env'",
+      "apache2::mod_status": "Apache module 'status' with config file",
+      "apache2::mod_proxy_http": "Apache module 'proxy_http'",
+      "apache2::mod_log_config": "Apache module 'log_config'",
+      "apache2::mod_ldap": "Apache module 'ldap'",
+      "apache2::mod_expires": "Apache module 'expires'",
+      "apache2::mod_alias": "Apache module 'alias' with config file",
+      "apache2": "Main Apache configuration",
+      "apache2::mod_authn_file": "Apache module 'authn_file'",
+      "apache2::mod_auth_openid": "Apache module 'authopenid'",
+      "apache2::mod_proxy_balancer": "Apache module 'proxy_balancer'",
+      "apache2::mod_dir": "Apache module 'dir' with config file",
+      "apache2::mod_authz_default": "Apache module 'authz_default'"
+    },
+    "providing": {
+    },
+    "platforms": {
+      "debian": [
+
+      ],
+      "centos": [
+
+      ],
+      "ubuntu": [
+
+      ],
+      "redhat": [
+
+      ]
+    },
+    "license": "Apache 2.0",
+    "version": "0.12.2",
+    "replacing": {
+    },
+    "groupings": {
+    },
+    "name": "apache2",
+    "recommendations": {
+    },
+    "description": "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions",
+    "maintainer": "Opscode, Inc.",
+    "long_description": "= DESCRIPTION:\n\nComplete Debian/Ubuntu style Apache2 configuration.\n\n= REQUIREMENTS:\n\nDebian or Ubuntu preferred.\n\nRed Hat/CentOS and Fedora can be used but will be converted to a Debian/Ubuntu style Apache as it's far easier to manage with chef. \n\n= ATTRIBUTES:\n\nThe file attributes/apache.rb contains the following attribute types:\n\n* platform specific locations and settings.\n* general settings\n* prefork attributes\n* worker attributes\n\nGeneral settings and prefork/worker attributes are tunable.\n\n= USAGE:\n\nInclude the apache2 recipe to install Apache2 and get 'sane' default settings. Configuration is modularized through Apache vhost sites a la Debian style configuration.\n\nFor Red Hat, CentOS and Fedora you should first disable selinux as it's not supported (yet), then remove the stock httpd and all it's dependencies prior to attempting to use this recipe. Many packages in these distributions drop conflicting configs into conf.d, all o
 f which haven't been accounted for yet. Starting from scratch will also make it far easier to debug.\n\n== Defines:\n\n* apache_module: sets up an Apache module.\n* apache_conf: sets up a config file for an apache module.\n* apache_site: sets up a vhost site. The conf file must be available.\n* web_app: copies the template for a web app and enables it as a site via apache_site.\n\n== Web Apps:\n\nVarious applications that can be set up with Apache as the front end, such as PHP, Django, Rails and others can use the web_app define to set up the template and the Apache site. The define is kind of dumb, so the template needs have the application implementation settings, since we don't know what your app is or what is needed from Apache.\n\nWe only prototype one parameter for the web_app define, \"template\". This is used to specify the name of the template to use in the current cookbook. When you use web_app, you can set up any parameters you want to use in your template. They will get 
 passed to the template through the params hash. For example, the sample web_app.conf.erb template in this cookbook makes use of these.\n\n* docroot\n* server_name\n* server_aliases\n\nThese are available as @params[:docroot], @params[:server_name], @params[:server_aliases] within the template. \n\nIf 'cookbook' and 'template' are not specified, the current cookbook's templates/default/web_app.conf.erb will be used. If this template is not suitable for your application, copy it to your cookbook and customize as needed.\n\n== God Monitor:\n\nThere's a new recipe, apache2::god_monitor. You will need to make sure to include the 'god' recipe before using the apache2::god_monitor recipe in your cookbook.\n\n== OpenID Auth\n\nInstalls the mod_auth_openid module from source. Specify an array of OpenIDs that are allowed to authenticate with the attribute apache[:allowed_openids]. Use the following in a vhost to protect with OpenID authentication:\n\n    AuthOpenIDEnabled On\n    AuthOpenIDDB
 Location /var/cache/apache2/mod_auth_openid.db\n    AuthOpenIDUserProgram /usr/local/bin/mod_auth_openid.rb\n\nChange the DBLocation as appropriate for your platform. You'll need to change the file in the recipe to match. The UserProgram is optional if you don't want to limit access by certain OpenIDs.\n\n= LICENSE & AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
+  }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/metadata.rb
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/metadata.rb b/src/main/vm/src/cookbooks/apache2/metadata.rb
new file mode 100755
index 0000000..51f2977
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/metadata.rb
@@ -0,0 +1,197 @@
+maintainer        "Opscode, Inc."
+maintainer_email  "cookbooks@opscode.com"
+license           "Apache 2.0"
+description       "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions"
+long_description  IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
+version           "0.12.2"
+recipe            "apache2", "Main Apache configuration"
+recipe            "apache2::mod_alias", "Apache module 'alias' with config file"
+recipe            "apache2::mod_auth_basic", "Apache module 'auth_basic'"
+recipe            "apache2::mod_auth_digest", "Apache module 'auth_digest'"
+recipe            "apache2::mod_auth_openid", "Apache module 'authopenid'"
+recipe            "apache2::mod_authn_file", "Apache module 'authn_file'"
+recipe            "apache2::mod_authnz_ldap", "Apache module 'authnz_ldap'"
+recipe            "apache2::mod_authz_default", "Apache module 'authz_default'"
+recipe            "apache2::mod_authz_groupfile", "Apache module 'authz_groupfile'"
+recipe            "apache2::mod_authz_host", "Apache module 'authz_host'"
+recipe            "apache2::mod_authz_user", "Apache module 'authz_user'"
+recipe            "apache2::mod_autoindex", "Apache module 'autoindex' with config file"
+recipe            "apache2::mod_cgi", "Apache module 'cgi'"
+recipe            "apache2::mod_dav", "Apache module 'dav'"
+recipe            "apache2::mod_dav_svn", "Apache module 'dav_svn'"
+recipe            "apache2::mod_deflate", "Apache module 'deflate' with config file"
+recipe            "apache2::mod_dir", "Apache module 'dir' with config file"
+recipe            "apache2::mod_env", "Apache module 'env'"
+recipe            "apache2::mod_expires", "Apache module 'expires'"
+recipe            "apache2::mod_fcgid", "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file"
+recipe            "apache2::mod_headers", "Apache module 'headers'"
+recipe            "apache2::mod_ldap", "Apache module 'ldap'"
+recipe            "apache2::mod_log_config", "Apache module 'log_config'"
+recipe            "apache2::mod_mime", "Apache module 'mime' with config file"
+recipe            "apache2::mod_negotiation", "Apache module 'negotiation' with config file"
+recipe            "apache2::mod_php5", "Apache module 'php5'"
+recipe            "apache2::mod_proxy", "Apache module 'proxy' with config file"
+recipe            "apache2::mod_proxy_ajp", "Apache module 'proxy_ajp'"
+recipe            "apache2::mod_proxy_balancer", "Apache module 'proxy_balancer'"
+recipe            "apache2::mod_proxy_connect", "Apache module 'proxy_connect'"
+recipe            "apache2::mod_proxy_http", "Apache module 'proxy_http'"
+recipe            "apache2::mod_python", "Apache module 'python'"
+recipe            "apache2::mod_rewrite", "Apache module 'rewrite'"
+recipe            "apache2::mod_setenvif", "Apache module 'setenvif' with config file"
+recipe            "apache2::mod_ssl", "Apache module 'ssl' with config file, adds port 443 to listen_ports"
+recipe            "apache2::mod_status", "Apache module 'status' with config file"
+
+%w{redhat centos debian ubuntu}.each do |os|
+  supports os
+end
+
+attribute "apache",
+  :display_name => "Apache Hash",
+  :description => "Hash of Apache attributes",
+  :type => "hash"
+
+attribute "apache/dir",
+  :display_name => "Apache Directory",
+  :description => "Location for Apache configuration",
+  :default => "/etc/apache2"
+
+attribute "apache/log_dir",
+  :display_name => "Apache Log Directory",
+  :description => "Location for Apache logs",
+  :default => "/etc/apache2"
+
+attribute "apache/user",
+  :display_name => "Apache User",
+  :description => "User Apache runs as",
+  :default => "www-data"
+
+attribute "apache/binary",
+  :display_name => "Apache Binary",
+  :description => "Apache server daemon program",
+  :default => "/usr/sbin/apache2"
+
+attribute "apache/icondir", 
+  :display_name => "Apache Icondir",
+  :description => "Directory location for icons",
+  :default => "/usr/share/apache2/icons"
+
+attribute "apache/listen_ports",
+  :display_name => "Apache Listen Ports",
+  :description => "Ports that Apache should listen on",
+  :type => "array",
+  :default => [ "80", "443" ]
+
+attribute "apache/contact",
+  :display_name => "Apache Contact",
+  :description => "Email address of webmaster",
+  :default => "ops@example.com"
+
+attribute "apache/timeout",
+  :display_name => "Apache Timeout",
+  :description => "Connection timeout value",
+  :default => "300"
+
+attribute "apache/keepalive",
+  :display_name => "Apache Keepalive",
+  :description => "HTTP persistent connections",
+  :default => "On"
+
+attribute "apache/keepaliverequests",
+  :display_name => "Apache Keepalive Requests",
+  :description => "Number of requests allowed on a persistent connection",
+  :default => "100"
+
+attribute "apache/keepalivetimeout",
+  :display_name => "Apache Keepalive Timeout",
+  :description => "Time to wait for requests on persistent connection",
+  :default => "5"
+
+attribute "apache/servertokens",
+  :display_name => "Apache Server Tokens",
+  :description => "Server response header",
+  :default => "Prod"
+
+attribute "apache/serversignature",
+  :display_name => "Apache Server Signature",
+  :description => "Configure footer on server-generated documents",
+  :default => "On"
+
+attribute "apache/traceenable",
+  :display_name => "Apache Trace Enable",
+  :description => "Determine behavior of TRACE requests",
+  :default => "On"
+
+attribute "apache/allowed_openids",
+  :display_name => "Apache Allowed OpenIDs",
+  :description => "Array of OpenIDs allowed to authenticate",
+  :default => ""
+
+attribute "apache/prefork",
+  :display_name => "Apache Prefork",
+  :description => "Hash of Apache prefork tuning attributes.",
+  :type => "hash"
+
+attribute "apache/prefork/startservers",
+  :display_name => "Apache Prefork MPM StartServers",
+  :description => "Number of MPM servers to start",
+  :default => "16"
+
+attribute "apache/prefork/minspareservers",
+  :display_name => "Apache Prefork MPM MinSpareServers",
+  :description => "Minimum number of spare server processes",
+  :default => "16"
+
+attribute "apache/prefork/maxspareservers",
+  :display_name => "Apache Prefork MPM MaxSpareServers",
+  :description => "Maximum number of spare server processes",
+  :default => "32"
+
+attribute "apache/prefork/serverlimit",
+  :display_name => "Apache Prefork MPM ServerLimit",
+  :description => "Upper limit on configurable server processes",
+  :default => "400"
+
+attribute "apache/prefork/maxclients",
+  :display_name => "Apache Prefork MPM MaxClients",
+  :description => "Maximum number of simultaneous connections",
+  :default => "400"
+
+attribute "apache/prefork/maxrequestsperchild",
+  :display_name => "Apache Prefork MPM MaxRequestsPerChild",
+  :description => "Maximum number of request a child process will handle",
+  :default => "10000"
+
+attribute "apache/worker",
+  :display_name => "Apache Worker",
+  :description => "Hash of Apache prefork tuning attributes.",
+  :type => "hash"
+
+attribute "apache/worker/startservers",
+  :display_name => "Apache Worker MPM StartServers",
+  :description => "Initial number of server processes to start",
+  :default => "4"
+
+attribute "apache/worker/maxclients",
+  :display_name => "Apache Worker MPM MaxClients",
+  :description => "Maximum number of simultaneous connections",
+  :default => "1024"
+
+attribute "apache/worker/minsparethreads",
+  :display_name => "Apache Worker MPM MinSpareThreads",
+  :description => "Minimum number of spare worker threads",
+  :default => "64"
+
+attribute "apache/worker/maxsparethreads",
+  :display_name => "Apache Worker MPM MaxSpareThreads",
+  :description => "Maximum number of spare worker threads",
+  :default => "192"
+
+attribute "apache/worker/threadsperchild",
+  :display_name => "Apache Worker MPM ThreadsPerChild",
+  :description => "Constant number of worker threads in each server process",
+  :default => "64"
+
+attribute "apache/worker/maxrequestsperchild",
+  :display_name => "Apache Worker MPM MaxRequestsPerChild",
+  :description => "Maximum number of request a child process will handle",
+  :default => "0"

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/all-wcprops
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/all-wcprops b/src/main/vm/src/cookbooks/apache2/recipes/.svn/all-wcprops
new file mode 100755
index 0000000..6c4ef7e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/all-wcprops
@@ -0,0 +1,233 @@
+K 25
+svn:wc:ra_dav:version-url
+V 99
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes
+END
+mod_dir.rb
+K 25
+svn:wc:ra_dav:version-url
+V 110
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_dir.rb
+END
+mod_authn_file.rb
+K 25
+svn:wc:ra_dav:version-url
+V 117
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_authn_file.rb
+END
+mod_expires.rb
+K 25
+svn:wc:ra_dav:version-url
+V 114
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_expires.rb
+END
+mod_negotiation.rb
+K 25
+svn:wc:ra_dav:version-url
+V 118
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_negotiation.rb
+END
+mod_ldap.rb
+K 25
+svn:wc:ra_dav:version-url
+V 111
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_ldap.rb
+END
+mod_proxy.rb
+K 25
+svn:wc:ra_dav:version-url
+V 112
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy.rb
+END
+mod_setenvif.rb
+K 25
+svn:wc:ra_dav:version-url
+V 115
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_setenvif.rb
+END
+default.rb
+K 25
+svn:wc:ra_dav:version-url
+V 110
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/default.rb
+END
+mod_mime.rb
+K 25
+svn:wc:ra_dav:version-url
+V 111
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_mime.rb
+END
+mod_authz_host.rb
+K 25
+svn:wc:ra_dav:version-url
+V 117
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_host.rb
+END
+mod_authz_user.rb
+K 25
+svn:wc:ra_dav:version-url
+V 117
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_user.rb
+END
+mod_proxy_connect.rb
+K 25
+svn:wc:ra_dav:version-url
+V 120
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_connect.rb
+END
+mod_auth_openid.rb
+K 25
+svn:wc:ra_dav:version-url
+V 118
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_openid.rb
+END
+mod_auth_digest.rb
+K 25
+svn:wc:ra_dav:version-url
+V 118
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_digest.rb
+END
+mod_autoindex.rb
+K 25
+svn:wc:ra_dav:version-url
+V 116
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_autoindex.rb
+END
+mod_dav_svn.rb
+K 25
+svn:wc:ra_dav:version-url
+V 114
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_dav_svn.rb
+END
+mod_auth_basic.rb
+K 25
+svn:wc:ra_dav:version-url
+V 117
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_auth_basic.rb
+END
+mod_deflate.rb
+K 25
+svn:wc:ra_dav:version-url
+V 114
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_deflate.rb
+END
+mod_authnz_ldap.rb
+K 25
+svn:wc:ra_dav:version-url
+V 118
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_authnz_ldap.rb
+END
+mod_wsgi.rb
+K 25
+svn:wc:ra_dav:version-url
+V 111
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_wsgi.rb
+END
+mod_fcgid.rb
+K 25
+svn:wc:ra_dav:version-url
+V 112
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_fcgid.rb
+END
+mod_proxy_http.rb
+K 25
+svn:wc:ra_dav:version-url
+V 117
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_http.rb
+END
+god_monitor.rb
+K 25
+svn:wc:ra_dav:version-url
+V 114
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/god_monitor.rb
+END
+mod_python.rb
+K 25
+svn:wc:ra_dav:version-url
+V 113
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_python.rb
+END
+mod_rewrite.rb
+K 25
+svn:wc:ra_dav:version-url
+V 114
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_rewrite.rb
+END
+mod_status.rb
+K 25
+svn:wc:ra_dav:version-url
+V 113
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_status.rb
+END
+mod_env.rb
+K 25
+svn:wc:ra_dav:version-url
+V 110
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_env.rb
+END
+mod_alias.rb
+K 25
+svn:wc:ra_dav:version-url
+V 112
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_alias.rb
+END
+mod_authz_default.rb
+K 25
+svn:wc:ra_dav:version-url
+V 120
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_authz_default.rb
+END
+mod_ssl.rb
+K 25
+svn:wc:ra_dav:version-url
+V 110
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_ssl.rb
+END
+mod_cgi.rb
+K 25
+svn:wc:ra_dav:version-url
+V 110
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_cgi.rb
+END
+mod_log_config.rb
+K 25
+svn:wc:ra_dav:version-url
+V 117
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_log_config.rb
+END
+mod_authz_groupfile.rb
+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/recipes/mod_authz_groupfile.rb
+END
+mod_proxy_balancer.rb
+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/recipes/mod_proxy_balancer.rb
+END
+mod_dav.rb
+K 25
+svn:wc:ra_dav:version-url
+V 110
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_dav.rb
+END
+mod_proxy_ajp.rb
+K 25
+svn:wc:ra_dav:version-url
+V 116
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_proxy_ajp.rb
+END
+mod_headers.rb
+K 25
+svn:wc:ra_dav:version-url
+V 114
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_headers.rb
+END
+mod_php5.rb
+K 25
+svn:wc:ra_dav:version-url
+V 111
+/repos/asf/!svn/ver/1476460/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes/mod_php5.rb
+END

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/entries
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/entries b/src/main/vm/src/cookbooks/apache2/recipes/.svn/entries
new file mode 100755
index 0000000..3d87166
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/entries
@@ -0,0 +1,1320 @@
+10
+
+dir
+1485921
+https://svn.apache.org/repos/asf/incubator/climate/trunk/rcmet/src/main/vm/src/cookbooks/apache2/recipes
+https://svn.apache.org/repos/asf
+
+
+
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+13f79535-47bb-0310-9956-ffa450edef68
+
+mod_dir.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+d4b0501a8e72a8237d433d63e8a26833
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+672
+
+mod_authn_file.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+08fb2dd248315d7145a28a7b1bb74771
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+666
+
+mod_expires.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+91d720f227bc38c3f78bb8ab8206b50b
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+660
+
+mod_negotiation.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+9daa5f1afb0f08c8828927184d6d4c05
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+687
+
+mod_ldap.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+a01a7b5839b012830e416b8614eba081
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+654
+
+mod_proxy.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+6f61d8883cff20d72c384d562b9a2ea7
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+675
+
+mod_setenvif.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+149c98c0aa89ab5cca07bfce2eb3aef9
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+681
+
+default.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+1a70078dc9caa25bb2bdd866af6012d4
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+5265
+
+mod_mime.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+7709eb03ccacf46317acee757e27c26c
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+673
+
+mod_authz_host.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+abc49522bc269c995dd4296a4671888a
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+666
+
+mod_authz_user.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+2121993aa594bb1f55251309ca7a0612
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+666
+
+mod_proxy_connect.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+8520056403b26270fcddd033fe00ebff
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+664
+
+mod_auth_openid.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+a53da98efdeb5b5b097c37120454ebf9
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1622
+
+mod_dav_svn.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+0ac6b33f63f234264cf5432c3b75b1f9
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+686
+
+mod_auth_digest.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+2f33fab3bde2a39d8a68fc0824a881a8
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+668
+
+mod_autoindex.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+d41e781d9b4a3c8144ad7a193bd0f534
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+683
+
+mod_auth_basic.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+ee9323dc3c8ecac8369bd4a13baa0349
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+666
+
+mod_deflate.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+f626ed24a129a4f89103b0b2f43f5542
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+679
+
+mod_authnz_ldap.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+3e9f12c311cd6c0524d25ca17edfa6bd
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+668
+
+mod_wsgi.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+ae41634ce05a53b1298726b6fd7490ae
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+790
+
+mod_fcgid.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+90e4c6629372e70c2a3a624956813329
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1451
+
+mod_proxy_http.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+99007d041a525c7c5c335a4d3f02942b
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+666
+
+god_monitor.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+b1be95d4d44d8be4c158936e55a2a703
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1171
+
+mod_python.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+cb9a45e86ae40cee20f148dbd9499915
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+691
+
+mod_rewrite.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+3923941ada6bf8378ea35a6208e8a34e
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+660
+
+mod_status.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+d41a55c93371095b32513964ab8d9b0f
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+677
+
+mod_env.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+07eb49c91211e6ffa502295bf2ecef22
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+652
+
+mod_alias.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+5311d9085100054d059d0de65c922b4c
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+675
+
+mod_authz_default.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+e395be129fbf6e72ef050365f7124960
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+672
+
+mod_ssl.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+dc594d85a2269f5d01617229ee0859ce
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1250
+
+mod_cgi.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+5e873ba05385ad112d21441e79559c0d
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+652
+
+mod_log_config.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+01a934d3f94fe73c16be6cc162e63e06
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+755
+
+mod_authz_groupfile.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+e5b305c49abcc08c5093badb8b281c3d
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+676
+
+mod_proxy_balancer.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+63774b0373244cc4229341a47b564116
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+665
+
+mod_dav.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+9085a2ae95e9753dc75e04dc97cfe19d
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+652
+
+mod_proxy_ajp.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+9ac3d0d9b7fe77607317e87eeeca1975
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+660
+
+mod_headers.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+ab1792e9de7461ddf4861e461c0c8a24
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+660
+
+mod_php5.rb
+file
+
+
+
+
+2013-05-24T10:13:52.000000Z
+7deeb4657aedd27e90538c3d4fd7b344
+2012-10-10T00:49:17.045897Z
+1474264
+ahart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+925
+

http://git-wip-us.apache.org/repos/asf/climate/blob/a6aa1cd2/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/default.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/default.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/default.rb.svn-base
new file mode 100755
index 0000000..7aef323
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/default.rb.svn-base
@@ -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/.svn/text-base/god_monitor.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/god_monitor.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/god_monitor.rb.svn-base
new file mode 100755
index 0000000..b3c49eb
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/god_monitor.rb.svn-base
@@ -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/.svn/text-base/mod_alias.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_alias.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_alias.rb.svn-base
new file mode 100755
index 0000000..a4618ed
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_alias.rb.svn-base
@@ -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/.svn/text-base/mod_auth_basic.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_basic.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_basic.rb.svn-base
new file mode 100755
index 0000000..d30264f
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_basic.rb.svn-base
@@ -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/.svn/text-base/mod_auth_digest.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_digest.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_digest.rb.svn-base
new file mode 100755
index 0000000..5aef926
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_digest.rb.svn-base
@@ -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/.svn/text-base/mod_auth_openid.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_openid.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_openid.rb.svn-base
new file mode 100755
index 0000000..83cc220
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_auth_openid.rb.svn-base
@@ -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/.svn/text-base/mod_authn_file.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authn_file.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authn_file.rb.svn-base
new file mode 100755
index 0000000..872caa7
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authn_file.rb.svn-base
@@ -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/.svn/text-base/mod_authnz_ldap.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authnz_ldap.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authnz_ldap.rb.svn-base
new file mode 100755
index 0000000..0310d24
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authnz_ldap.rb.svn-base
@@ -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/.svn/text-base/mod_authz_default.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_default.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_default.rb.svn-base
new file mode 100755
index 0000000..123536d
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_default.rb.svn-base
@@ -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/.svn/text-base/mod_authz_groupfile.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_groupfile.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_groupfile.rb.svn-base
new file mode 100755
index 0000000..b2833b2
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_groupfile.rb.svn-base
@@ -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/.svn/text-base/mod_authz_host.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_host.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_host.rb.svn-base
new file mode 100755
index 0000000..87c1a4b
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_host.rb.svn-base
@@ -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/.svn/text-base/mod_authz_user.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_user.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_user.rb.svn-base
new file mode 100755
index 0000000..8dd46df
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_authz_user.rb.svn-base
@@ -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/.svn/text-base/mod_autoindex.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_autoindex.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_autoindex.rb.svn-base
new file mode 100755
index 0000000..622a66e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_autoindex.rb.svn-base
@@ -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/.svn/text-base/mod_cgi.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_cgi.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_cgi.rb.svn-base
new file mode 100755
index 0000000..6c15a05
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_cgi.rb.svn-base
@@ -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/.svn/text-base/mod_dav.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dav.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dav.rb.svn-base
new file mode 100755
index 0000000..fef656a
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dav.rb.svn-base
@@ -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/.svn/text-base/mod_dav_svn.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dav_svn.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dav_svn.rb.svn-base
new file mode 100755
index 0000000..ce50d54
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dav_svn.rb.svn-base
@@ -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/.svn/text-base/mod_deflate.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_deflate.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_deflate.rb.svn-base
new file mode 100755
index 0000000..b568f30
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_deflate.rb.svn-base
@@ -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/.svn/text-base/mod_dir.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dir.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dir.rb.svn-base
new file mode 100755
index 0000000..9930c3a
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_dir.rb.svn-base
@@ -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/.svn/text-base/mod_env.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_env.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_env.rb.svn-base
new file mode 100755
index 0000000..d345503
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_env.rb.svn-base
@@ -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/.svn/text-base/mod_expires.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_expires.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_expires.rb.svn-base
new file mode 100755
index 0000000..9e5042e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_expires.rb.svn-base
@@ -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/.svn/text-base/mod_fcgid.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_fcgid.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_fcgid.rb.svn-base
new file mode 100755
index 0000000..ea7ec3e
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_fcgid.rb.svn-base
@@ -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/.svn/text-base/mod_headers.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_headers.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_headers.rb.svn-base
new file mode 100755
index 0000000..5e6b94d
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_headers.rb.svn-base
@@ -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/.svn/text-base/mod_ldap.rb.svn-base
----------------------------------------------------------------------
diff --git a/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_ldap.rb.svn-base b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_ldap.rb.svn-base
new file mode 100755
index 0000000..0877694
--- /dev/null
+++ b/src/main/vm/src/cookbooks/apache2/recipes/.svn/text-base/mod_ldap.rb.svn-base
@@ -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"


Mime
View raw message