vagrant-managed-servers 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. data/.gitignore +2 -1
  2. data/.travis.yml +5 -0
  3. data/Berksfile +1 -1
  4. data/CHANGELOG.md +7 -1
  5. data/Gemfile +8 -4
  6. data/README.md +5 -3
  7. data/Rakefile +11 -0
  8. data/Vagrantfile +3 -2
  9. data/lib/vagrant-managed-servers/action/sync_folders.rb +5 -3
  10. data/lib/vagrant-managed-servers/version.rb +1 -1
  11. data/vagrant-managed-servers.gemspec +3 -3
  12. metadata +10 -134
  13. data/cookbooks/apache2/CHANGELOG.md +0 -95
  14. data/cookbooks/apache2/CONTRIBUTING.md +0 -257
  15. data/cookbooks/apache2/Gemfile +0 -10
  16. data/cookbooks/apache2/LICENSE +0 -201
  17. data/cookbooks/apache2/README.md +0 -567
  18. data/cookbooks/apache2/attributes/default.rb +0 -149
  19. data/cookbooks/apache2/attributes/mod_auth_cas.rb +0 -2
  20. data/cookbooks/apache2/attributes/mod_auth_openid.rb +0 -32
  21. data/cookbooks/apache2/definitions/apache_conf.rb +0 -26
  22. data/cookbooks/apache2/definitions/apache_module.rb +0 -53
  23. data/cookbooks/apache2/definitions/apache_site.rb +0 -43
  24. data/cookbooks/apache2/definitions/web_app.rb +0 -49
  25. data/cookbooks/apache2/files/default/apache2_module_conf_generate.pl +0 -41
  26. data/cookbooks/apache2/files/default/tests/minitest/default_test.rb +0 -77
  27. data/cookbooks/apache2/files/default/tests/minitest/god_monitor_test.rb +0 -34
  28. data/cookbooks/apache2/files/default/tests/minitest/mod_apreq2_test.rb +0 -19
  29. data/cookbooks/apache2/files/default/tests/minitest/mod_auth_cas_test.rb +0 -11
  30. data/cookbooks/apache2/files/default/tests/minitest/mod_auth_openid_test.rb +0 -37
  31. data/cookbooks/apache2/files/default/tests/minitest/mod_cgi_test.rb +0 -13
  32. data/cookbooks/apache2/files/default/tests/minitest/mod_dav_svn_test.rb +0 -14
  33. data/cookbooks/apache2/files/default/tests/minitest/mod_fastcgi.rb +0 -11
  34. data/cookbooks/apache2/files/default/tests/minitest/mod_perl_test.rb +0 -18
  35. data/cookbooks/apache2/files/default/tests/minitest/mod_php5_test.rb +0 -13
  36. data/cookbooks/apache2/files/default/tests/minitest/mod_python_test.rb +0 -10
  37. data/cookbooks/apache2/files/default/tests/minitest/mod_ssl_test.rb +0 -23
  38. data/cookbooks/apache2/files/default/tests/minitest/support/helpers.rb +0 -50
  39. data/cookbooks/apache2/metadata.json +0 -513
  40. data/cookbooks/apache2/metadata.rb +0 -207
  41. data/cookbooks/apache2/recipes/default.rb +0 -208
  42. data/cookbooks/apache2/recipes/god_monitor.rb +0 -33
  43. data/cookbooks/apache2/recipes/logrotate.rb +0 -29
  44. data/cookbooks/apache2/recipes/mod_alias.rb +0 -22
  45. data/cookbooks/apache2/recipes/mod_apreq2.rb +0 -54
  46. data/cookbooks/apache2/recipes/mod_auth_basic.rb +0 -20
  47. data/cookbooks/apache2/recipes/mod_auth_cas.rb +0 -59
  48. data/cookbooks/apache2/recipes/mod_auth_digest.rb +0 -20
  49. data/cookbooks/apache2/recipes/mod_auth_openid.rb +0 -111
  50. data/cookbooks/apache2/recipes/mod_authn_file.rb +0 -20
  51. data/cookbooks/apache2/recipes/mod_authnz_ldap.rb +0 -20
  52. data/cookbooks/apache2/recipes/mod_authz_default.rb +0 -20
  53. data/cookbooks/apache2/recipes/mod_authz_groupfile.rb +0 -20
  54. data/cookbooks/apache2/recipes/mod_authz_host.rb +0 -20
  55. data/cookbooks/apache2/recipes/mod_authz_user.rb +0 -20
  56. data/cookbooks/apache2/recipes/mod_autoindex.rb +0 -22
  57. data/cookbooks/apache2/recipes/mod_cgi.rb +0 -20
  58. data/cookbooks/apache2/recipes/mod_dav.rb +0 -20
  59. data/cookbooks/apache2/recipes/mod_dav_fs.rb +0 -21
  60. data/cookbooks/apache2/recipes/mod_dav_svn.rb +0 -41
  61. data/cookbooks/apache2/recipes/mod_deflate.rb +0 -22
  62. data/cookbooks/apache2/recipes/mod_dir.rb +0 -22
  63. data/cookbooks/apache2/recipes/mod_env.rb +0 -20
  64. data/cookbooks/apache2/recipes/mod_expires.rb +0 -20
  65. data/cookbooks/apache2/recipes/mod_fastcgi.rb +0 -26
  66. data/cookbooks/apache2/recipes/mod_fcgid.rb +0 -55
  67. data/cookbooks/apache2/recipes/mod_headers.rb +0 -20
  68. data/cookbooks/apache2/recipes/mod_include.rb +0 -20
  69. data/cookbooks/apache2/recipes/mod_ldap.rb +0 -20
  70. data/cookbooks/apache2/recipes/mod_log_config.rb +0 -24
  71. data/cookbooks/apache2/recipes/mod_logio.rb +0 -24
  72. data/cookbooks/apache2/recipes/mod_mime.rb +0 -22
  73. data/cookbooks/apache2/recipes/mod_negotiation.rb +0 -22
  74. data/cookbooks/apache2/recipes/mod_perl.rb +0 -44
  75. data/cookbooks/apache2/recipes/mod_php5.rb +0 -77
  76. data/cookbooks/apache2/recipes/mod_proxy.rb +0 -22
  77. data/cookbooks/apache2/recipes/mod_proxy_ajp.rb +0 -21
  78. data/cookbooks/apache2/recipes/mod_proxy_balancer.rb +0 -20
  79. data/cookbooks/apache2/recipes/mod_proxy_connect.rb +0 -20
  80. data/cookbooks/apache2/recipes/mod_proxy_http.rb +0 -20
  81. data/cookbooks/apache2/recipes/mod_python.rb +0 -38
  82. data/cookbooks/apache2/recipes/mod_rewrite.rb +0 -20
  83. data/cookbooks/apache2/recipes/mod_setenvif.rb +0 -22
  84. data/cookbooks/apache2/recipes/mod_ssl.rb +0 -46
  85. data/cookbooks/apache2/recipes/mod_status.rb +0 -22
  86. data/cookbooks/apache2/recipes/mod_wsgi.rb +0 -38
  87. data/cookbooks/apache2/recipes/mod_xsendfile.rb +0 -38
  88. data/cookbooks/apache2/templates/default/a2dismod.erb +0 -22
  89. data/cookbooks/apache2/templates/default/a2dissite.erb +0 -29
  90. data/cookbooks/apache2/templates/default/a2enmod.erb +0 -37
  91. data/cookbooks/apache2/templates/default/a2ensite.erb +0 -38
  92. data/cookbooks/apache2/templates/default/apache2.conf.erb +0 -237
  93. data/cookbooks/apache2/templates/default/apache2.god.erb +0 -19
  94. data/cookbooks/apache2/templates/default/charset.erb +0 -6
  95. data/cookbooks/apache2/templates/default/default-site.erb +0 -57
  96. data/cookbooks/apache2/templates/default/mods/README +0 -2
  97. data/cookbooks/apache2/templates/default/mods/alias.conf.erb +0 -24
  98. data/cookbooks/apache2/templates/default/mods/auth_cas.conf.erb +0 -1
  99. data/cookbooks/apache2/templates/default/mods/auth_cas.load.erb +0 -1
  100. data/cookbooks/apache2/templates/default/mods/authopenid.load.erb +0 -1
  101. data/cookbooks/apache2/templates/default/mods/autoindex.conf.erb +0 -101
  102. data/cookbooks/apache2/templates/default/mods/deflate.conf.erb +0 -16
  103. data/cookbooks/apache2/templates/default/mods/dir.conf.erb +0 -5
  104. data/cookbooks/apache2/templates/default/mods/fastcgi.conf.erb +0 -5
  105. data/cookbooks/apache2/templates/default/mods/fcgid.conf.erb +0 -10
  106. data/cookbooks/apache2/templates/default/mods/mime.conf.erb +0 -198
  107. data/cookbooks/apache2/templates/default/mods/negotiation.conf.erb +0 -18
  108. data/cookbooks/apache2/templates/default/mods/php5.conf.erb +0 -16
  109. data/cookbooks/apache2/templates/default/mods/proxy.conf.erb +0 -19
  110. data/cookbooks/apache2/templates/default/mods/setenvif.conf.erb +0 -28
  111. data/cookbooks/apache2/templates/default/mods/ssl.conf.erb +0 -76
  112. data/cookbooks/apache2/templates/default/mods/status.conf.erb +0 -26
  113. data/cookbooks/apache2/templates/default/port_apache.erb +0 -2
  114. data/cookbooks/apache2/templates/default/ports.conf.erb +0 -6
  115. data/cookbooks/apache2/templates/default/security.erb +0 -50
  116. data/cookbooks/apache2/templates/default/web_app.conf.erb +0 -43
  117. data/cookbooks/apt/Berksfile +0 -8
  118. data/cookbooks/apt/CHANGELOG.md +0 -97
  119. data/cookbooks/apt/CONTRIBUTING +0 -29
  120. data/cookbooks/apt/LICENSE +0 -201
  121. data/cookbooks/apt/README.md +0 -243
  122. data/cookbooks/apt/TESTING.md +0 -25
  123. data/cookbooks/apt/attributes/default.rb +0 -4
  124. data/cookbooks/apt/files/default/apt-proxy-v2.conf +0 -50
  125. data/cookbooks/apt/metadata.json +0 -1
  126. data/cookbooks/apt/metadata.rb +0 -30
  127. data/cookbooks/apt/providers/preference.rb +0 -61
  128. data/cookbooks/apt/providers/repository.rb +0 -132
  129. data/cookbooks/apt/recipes/cacher-client.rb +0 -59
  130. data/cookbooks/apt/recipes/cacher-ng.rb +0 -40
  131. data/cookbooks/apt/recipes/default.rb +0 -68
  132. data/cookbooks/apt/resources/preference.rb +0 -30
  133. data/cookbooks/apt/resources/repository.rb +0 -40
  134. data/cookbooks/apt/templates/debian-6.0/acng.conf.erb +0 -174
  135. data/cookbooks/apt/templates/default/01proxy.erb +0 -2
  136. data/cookbooks/apt/templates/default/acng.conf.erb +0 -276
  137. data/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +0 -270
@@ -1,111 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: mod_auth_openid
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- openid_dev_pkgs = value_for_platform_family(
21
- ["debian"] => %w{g++ apache2-prefork-dev libopkele-dev libopkele3},
22
- ["rhel","fedora"] => %w{gcc-c++ httpd-devel curl-devel libtidy libtidy-devel sqlite-devel pcre-devel openssl-devel make},
23
- "arch" => ["libopkele"],
24
- "freebsd" => %w{libopkele pcre sqlite3}
25
- )
26
-
27
- make_cmd = value_for_platform_family(
28
- "freebsd" => { "default" => "gmake" },
29
- "default" => "make"
30
- )
31
-
32
- case node['platform_family']
33
- when "arch"
34
-
35
- include_recipe "pacman"
36
- package "tidyhtml"
37
- pacman_aur openid_dev_pkgs.first do
38
- action [:build, :install]
39
- end
40
-
41
- else
42
- openid_dev_pkgs.each do |pkg|
43
-
44
- package pkg
45
-
46
- end
47
- end
48
-
49
- case node['platform_family']
50
- when "rhel", "fedora"
51
- remote_file "#{Chef::Config['file_cache_path']}/libopkele-2.0.4.tar.gz" do
52
- source "http://kin.klever.net/dist/libopkele-2.0.4.tar.gz"
53
- mode 00644
54
- end
55
-
56
- bash "install libopkele" do
57
- cwd Chef::Config['file_cache_path']
58
- # Ruby 1.8.6 does not have rpartition, unfortunately
59
- syslibdir = node['apache']['lib_dir'][0..node['apache']['lib_dir'].rindex("/")]
60
- code <<-EOH
61
- tar zxvf libopkele-2.0.4.tar.gz
62
- cd libopkele-2.0.4 && ./configure --prefix=/usr --libdir=#{syslibdir}
63
- #{make_cmd} && #{make_cmd} install
64
- EOH
65
- not_if { File.exists?("#{syslibdir}/libopkele.a") }
66
- end
67
- end
68
-
69
- _checksum = node['apache']['mod_auth_openid']['checksum']
70
- version = node['apache']['mod_auth_openid']['version']
71
- configure_flags = node['apache']['mod_auth_openid']['configure_flags']
72
-
73
- remote_file "#{Chef::Config['file_cache_path']}/mod_auth_openid-#{version}.tar.gz" do
74
- source "http://butterfat.net/releases/mod_auth_openid/mod_auth_openid-#{version}.tar.gz"
75
- mode 00644
76
- checksum _checksum
77
- end
78
-
79
- bash "install mod_auth_openid" do
80
- cwd Chef::Config['file_cache_path']
81
- code <<-EOH
82
- tar zxvf mod_auth_openid-#{version}.tar.gz
83
- cd mod_auth_openid-#{version} && ./configure #{configure_flags.join(' ')}
84
- perl -pi -e "s/-i -a -n 'authopenid'/-i -n 'authopenid'/g" Makefile
85
- #{make_cmd} && #{make_cmd} install
86
- EOH
87
- not_if { ::File.exists?("#{node['apache']['libexecdir']}/mod_auth_openid.so") }
88
- end
89
-
90
- directory node['apache']['mod_auth_openid']['cache_dir'] do
91
- owner node['apache']['user']
92
- group node['apache']['group']
93
- mode 00700
94
- end
95
-
96
- file node['apache']['mod_auth_openid']['dblocation'] do
97
- owner node['apache']['user']
98
- group node['apache']['group']
99
- mode 00644
100
- end
101
-
102
- template "#{node['apache']['dir']}/mods-available/authopenid.load" do
103
- source "mods/authopenid.load.erb"
104
- owner "root"
105
- group node['apache']['root_group']
106
- mode 00644
107
- end
108
-
109
- apache_module "authopenid" do
110
- filename "mod_auth_openid.so"
111
- end
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: authn_file
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "authn_file"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: authnz_ldap
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "authnz_ldap"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: authz_default
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "authz_default"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: authz_groupfile
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "authz_groupfile"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: authz_host
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "authz_host"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: authz_user
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "authz_user"
@@ -1,22 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: autoindex
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "autoindex" do
21
- conf true
22
- end
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: cgi
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "cgi"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: dav
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "dav"
@@ -1,21 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: dav_fs
4
- #
5
- # Copyright 2011, Atriso
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- include_recipe "apache2::mod_dav"
21
- apache_module "dav_fs"
@@ -1,41 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: dav_svn
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- include_recipe "apache2::mod_dav"
21
-
22
- package "libapache2-svn" do
23
- case node['platform_family']
24
- when "rhel", "fedora", "suse"
25
- package_name "mod_dav_svn"
26
- else
27
- package_name "libapache2-svn"
28
- end
29
- end
30
-
31
- case node['platform_family']
32
- when "rhel", "fedora", "suse"
33
-
34
- file "#{node['apache']['conf']}/conf.d/subversion.conf" do
35
- action :delete
36
- backup false
37
- end
38
-
39
- end
40
-
41
- apache_module "dav_svn"
@@ -1,22 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: deflate
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "deflate" do
21
- conf true
22
- end
@@ -1,22 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: dir
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "dir" do
21
- conf true
22
- end
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: env
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "env"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: expires
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "expires"
@@ -1,26 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: fastcgi
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- if platform_family?("debian")
21
- package "libapache2-mod-fastcgi"
22
-
23
- apache_module "fastcgi" do
24
- conf true
25
- end
26
- end
@@ -1,55 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: fcgid
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- if platform_family?("debian")
21
- package "libapache2-mod-fcgid"
22
- elsif platform_family?("rhel", "fedora")
23
-
24
- package "mod_fcgid" do
25
- notifies :run, resources(:execute => "generate-module-list"), :immediately
26
- end
27
-
28
- file "#{node['apache']['dir']}/conf.d/fcgid.conf" do
29
- action :delete
30
- backup false
31
- end
32
-
33
- directory "/var/run/httpd/mod_fcgid" do
34
- recursive true
35
- only_if { node['platform_version'].to_i >= 6 }
36
- end
37
-
38
- elsif platform_family?("suse")
39
- apache_lib_path = node['apache']['lib_dir']
40
-
41
- package "httpd-devel"
42
-
43
- bash "install-fcgid" do
44
- code <<-EOH
45
- (cd #{Chef::Config['file_cache_path']}; wget http://superb-east.dl.sourceforge.net/sourceforge/mod-fcgid/mod_fcgid.2.2.tgz)
46
- (cd #{Chef::Config['file_cache_path']}; tar zxvf mod_fcgid.2.2.tgz)
47
- (cd #{Chef::Config['file_cache_path']}; perl -pi -e 's!/usr/local/apache2!#{apache_lib_path}!g' ./mod_fcgid.2.2/Makefile)
48
- (cd #{Chef::Config['file_cache_path']}/mod_fcgid.2.2; make install)
49
- EOH
50
- end
51
- end
52
-
53
- apache_module "fcgid" do
54
- conf true
55
- end
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: headers
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "headers"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: include
4
- #
5
- # Copyright 2012, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "include"
@@ -1,20 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: ldap
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- apache_module "ldap"
@@ -1,24 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: log_config
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- if platform_family?("rhel", "fedora", "suse", "arch", "freebsd")
21
- apache_module "log_config"
22
- else
23
- include_recipe "apache2"
24
- end
@@ -1,24 +0,0 @@
1
- #
2
- # Cookbook Name:: apache2
3
- # Recipe:: logio
4
- #
5
- # Copyright 2008-2009, Opscode, Inc.
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- if platform_family?("rhel", "fedora", "suse", "arch", "freebsd")
21
- apache_module "logio"
22
- else
23
- include_recipe "apache2"
24
- end