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.
- data/.gitignore +2 -1
- data/.travis.yml +5 -0
- data/Berksfile +1 -1
- data/CHANGELOG.md +7 -1
- data/Gemfile +8 -4
- data/README.md +5 -3
- data/Rakefile +11 -0
- data/Vagrantfile +3 -2
- data/lib/vagrant-managed-servers/action/sync_folders.rb +5 -3
- data/lib/vagrant-managed-servers/version.rb +1 -1
- data/vagrant-managed-servers.gemspec +3 -3
- metadata +10 -134
- data/cookbooks/apache2/CHANGELOG.md +0 -95
- data/cookbooks/apache2/CONTRIBUTING.md +0 -257
- data/cookbooks/apache2/Gemfile +0 -10
- data/cookbooks/apache2/LICENSE +0 -201
- data/cookbooks/apache2/README.md +0 -567
- data/cookbooks/apache2/attributes/default.rb +0 -149
- data/cookbooks/apache2/attributes/mod_auth_cas.rb +0 -2
- data/cookbooks/apache2/attributes/mod_auth_openid.rb +0 -32
- data/cookbooks/apache2/definitions/apache_conf.rb +0 -26
- data/cookbooks/apache2/definitions/apache_module.rb +0 -53
- data/cookbooks/apache2/definitions/apache_site.rb +0 -43
- data/cookbooks/apache2/definitions/web_app.rb +0 -49
- data/cookbooks/apache2/files/default/apache2_module_conf_generate.pl +0 -41
- data/cookbooks/apache2/files/default/tests/minitest/default_test.rb +0 -77
- data/cookbooks/apache2/files/default/tests/minitest/god_monitor_test.rb +0 -34
- data/cookbooks/apache2/files/default/tests/minitest/mod_apreq2_test.rb +0 -19
- data/cookbooks/apache2/files/default/tests/minitest/mod_auth_cas_test.rb +0 -11
- data/cookbooks/apache2/files/default/tests/minitest/mod_auth_openid_test.rb +0 -37
- data/cookbooks/apache2/files/default/tests/minitest/mod_cgi_test.rb +0 -13
- data/cookbooks/apache2/files/default/tests/minitest/mod_dav_svn_test.rb +0 -14
- data/cookbooks/apache2/files/default/tests/minitest/mod_fastcgi.rb +0 -11
- data/cookbooks/apache2/files/default/tests/minitest/mod_perl_test.rb +0 -18
- data/cookbooks/apache2/files/default/tests/minitest/mod_php5_test.rb +0 -13
- data/cookbooks/apache2/files/default/tests/minitest/mod_python_test.rb +0 -10
- data/cookbooks/apache2/files/default/tests/minitest/mod_ssl_test.rb +0 -23
- data/cookbooks/apache2/files/default/tests/minitest/support/helpers.rb +0 -50
- data/cookbooks/apache2/metadata.json +0 -513
- data/cookbooks/apache2/metadata.rb +0 -207
- data/cookbooks/apache2/recipes/default.rb +0 -208
- data/cookbooks/apache2/recipes/god_monitor.rb +0 -33
- data/cookbooks/apache2/recipes/logrotate.rb +0 -29
- data/cookbooks/apache2/recipes/mod_alias.rb +0 -22
- data/cookbooks/apache2/recipes/mod_apreq2.rb +0 -54
- data/cookbooks/apache2/recipes/mod_auth_basic.rb +0 -20
- data/cookbooks/apache2/recipes/mod_auth_cas.rb +0 -59
- data/cookbooks/apache2/recipes/mod_auth_digest.rb +0 -20
- data/cookbooks/apache2/recipes/mod_auth_openid.rb +0 -111
- data/cookbooks/apache2/recipes/mod_authn_file.rb +0 -20
- data/cookbooks/apache2/recipes/mod_authnz_ldap.rb +0 -20
- data/cookbooks/apache2/recipes/mod_authz_default.rb +0 -20
- data/cookbooks/apache2/recipes/mod_authz_groupfile.rb +0 -20
- data/cookbooks/apache2/recipes/mod_authz_host.rb +0 -20
- data/cookbooks/apache2/recipes/mod_authz_user.rb +0 -20
- data/cookbooks/apache2/recipes/mod_autoindex.rb +0 -22
- data/cookbooks/apache2/recipes/mod_cgi.rb +0 -20
- data/cookbooks/apache2/recipes/mod_dav.rb +0 -20
- data/cookbooks/apache2/recipes/mod_dav_fs.rb +0 -21
- data/cookbooks/apache2/recipes/mod_dav_svn.rb +0 -41
- data/cookbooks/apache2/recipes/mod_deflate.rb +0 -22
- data/cookbooks/apache2/recipes/mod_dir.rb +0 -22
- data/cookbooks/apache2/recipes/mod_env.rb +0 -20
- data/cookbooks/apache2/recipes/mod_expires.rb +0 -20
- data/cookbooks/apache2/recipes/mod_fastcgi.rb +0 -26
- data/cookbooks/apache2/recipes/mod_fcgid.rb +0 -55
- data/cookbooks/apache2/recipes/mod_headers.rb +0 -20
- data/cookbooks/apache2/recipes/mod_include.rb +0 -20
- data/cookbooks/apache2/recipes/mod_ldap.rb +0 -20
- data/cookbooks/apache2/recipes/mod_log_config.rb +0 -24
- data/cookbooks/apache2/recipes/mod_logio.rb +0 -24
- data/cookbooks/apache2/recipes/mod_mime.rb +0 -22
- data/cookbooks/apache2/recipes/mod_negotiation.rb +0 -22
- data/cookbooks/apache2/recipes/mod_perl.rb +0 -44
- data/cookbooks/apache2/recipes/mod_php5.rb +0 -77
- data/cookbooks/apache2/recipes/mod_proxy.rb +0 -22
- data/cookbooks/apache2/recipes/mod_proxy_ajp.rb +0 -21
- data/cookbooks/apache2/recipes/mod_proxy_balancer.rb +0 -20
- data/cookbooks/apache2/recipes/mod_proxy_connect.rb +0 -20
- data/cookbooks/apache2/recipes/mod_proxy_http.rb +0 -20
- data/cookbooks/apache2/recipes/mod_python.rb +0 -38
- data/cookbooks/apache2/recipes/mod_rewrite.rb +0 -20
- data/cookbooks/apache2/recipes/mod_setenvif.rb +0 -22
- data/cookbooks/apache2/recipes/mod_ssl.rb +0 -46
- data/cookbooks/apache2/recipes/mod_status.rb +0 -22
- data/cookbooks/apache2/recipes/mod_wsgi.rb +0 -38
- data/cookbooks/apache2/recipes/mod_xsendfile.rb +0 -38
- data/cookbooks/apache2/templates/default/a2dismod.erb +0 -22
- data/cookbooks/apache2/templates/default/a2dissite.erb +0 -29
- data/cookbooks/apache2/templates/default/a2enmod.erb +0 -37
- data/cookbooks/apache2/templates/default/a2ensite.erb +0 -38
- data/cookbooks/apache2/templates/default/apache2.conf.erb +0 -237
- data/cookbooks/apache2/templates/default/apache2.god.erb +0 -19
- data/cookbooks/apache2/templates/default/charset.erb +0 -6
- data/cookbooks/apache2/templates/default/default-site.erb +0 -57
- data/cookbooks/apache2/templates/default/mods/README +0 -2
- data/cookbooks/apache2/templates/default/mods/alias.conf.erb +0 -24
- data/cookbooks/apache2/templates/default/mods/auth_cas.conf.erb +0 -1
- data/cookbooks/apache2/templates/default/mods/auth_cas.load.erb +0 -1
- data/cookbooks/apache2/templates/default/mods/authopenid.load.erb +0 -1
- data/cookbooks/apache2/templates/default/mods/autoindex.conf.erb +0 -101
- data/cookbooks/apache2/templates/default/mods/deflate.conf.erb +0 -16
- data/cookbooks/apache2/templates/default/mods/dir.conf.erb +0 -5
- data/cookbooks/apache2/templates/default/mods/fastcgi.conf.erb +0 -5
- data/cookbooks/apache2/templates/default/mods/fcgid.conf.erb +0 -10
- data/cookbooks/apache2/templates/default/mods/mime.conf.erb +0 -198
- data/cookbooks/apache2/templates/default/mods/negotiation.conf.erb +0 -18
- data/cookbooks/apache2/templates/default/mods/php5.conf.erb +0 -16
- data/cookbooks/apache2/templates/default/mods/proxy.conf.erb +0 -19
- data/cookbooks/apache2/templates/default/mods/setenvif.conf.erb +0 -28
- data/cookbooks/apache2/templates/default/mods/ssl.conf.erb +0 -76
- data/cookbooks/apache2/templates/default/mods/status.conf.erb +0 -26
- data/cookbooks/apache2/templates/default/port_apache.erb +0 -2
- data/cookbooks/apache2/templates/default/ports.conf.erb +0 -6
- data/cookbooks/apache2/templates/default/security.erb +0 -50
- data/cookbooks/apache2/templates/default/web_app.conf.erb +0 -43
- data/cookbooks/apt/Berksfile +0 -8
- data/cookbooks/apt/CHANGELOG.md +0 -97
- data/cookbooks/apt/CONTRIBUTING +0 -29
- data/cookbooks/apt/LICENSE +0 -201
- data/cookbooks/apt/README.md +0 -243
- data/cookbooks/apt/TESTING.md +0 -25
- data/cookbooks/apt/attributes/default.rb +0 -4
- data/cookbooks/apt/files/default/apt-proxy-v2.conf +0 -50
- data/cookbooks/apt/metadata.json +0 -1
- data/cookbooks/apt/metadata.rb +0 -30
- data/cookbooks/apt/providers/preference.rb +0 -61
- data/cookbooks/apt/providers/repository.rb +0 -132
- data/cookbooks/apt/recipes/cacher-client.rb +0 -59
- data/cookbooks/apt/recipes/cacher-ng.rb +0 -40
- data/cookbooks/apt/recipes/default.rb +0 -68
- data/cookbooks/apt/resources/preference.rb +0 -30
- data/cookbooks/apt/resources/repository.rb +0 -40
- data/cookbooks/apt/templates/debian-6.0/acng.conf.erb +0 -174
- data/cookbooks/apt/templates/default/01proxy.erb +0 -2
- data/cookbooks/apt/templates/default/acng.conf.erb +0 -276
- data/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +0 -270
@@ -1,198 +0,0 @@
|
|
1
|
-
<IfModule mod_mime.c>
|
2
|
-
|
3
|
-
#
|
4
|
-
# TypesConfig points to the file containing the list of mappings from
|
5
|
-
# filename extension to MIME-type.
|
6
|
-
#
|
7
|
-
<% case node['platform_family'] -%>
|
8
|
-
<% when "arch" -%>
|
9
|
-
TypesConfig <%= node['apache']['dir'] %>/conf/mime.types
|
10
|
-
<% when "freebsd" -%>
|
11
|
-
TypesConfig <%= node['apache']['dir'] %>/mime.types
|
12
|
-
<% else -%>
|
13
|
-
TypesConfig /etc/mime.types
|
14
|
-
<% end -%>
|
15
|
-
|
16
|
-
#
|
17
|
-
# AddType allows you to add to or override the MIME configuration
|
18
|
-
# file mime.types for specific file types.
|
19
|
-
#
|
20
|
-
#AddType application/x-gzip .tgz
|
21
|
-
#
|
22
|
-
# AddEncoding allows you to have certain browsers uncompress
|
23
|
-
# information on the fly. Note: Not all browsers support this.
|
24
|
-
# Despite the name similarity, the following Add* directives have
|
25
|
-
# nothing to do with the FancyIndexing customization directives above.
|
26
|
-
#
|
27
|
-
#AddEncoding x-compress .Z
|
28
|
-
#AddEncoding x-gzip .gz .tgz
|
29
|
-
#AddEncoding x-bzip2 .bz2
|
30
|
-
#
|
31
|
-
# If the AddEncoding directives above are commented-out, then you
|
32
|
-
# probably should define those extensions to indicate media types:
|
33
|
-
#
|
34
|
-
AddType application/x-compress .Z
|
35
|
-
AddType application/x-gzip .gz .tgz
|
36
|
-
AddType application/x-bzip2 .bz2
|
37
|
-
|
38
|
-
#
|
39
|
-
# DefaultLanguage and AddLanguage allows you to specify the language of
|
40
|
-
# a document. You can then use content negotiation to give a browser a
|
41
|
-
# file in a language the user can understand.
|
42
|
-
#
|
43
|
-
# Specify a default language. This means that all data
|
44
|
-
# going out without a specific language tag (see below) will
|
45
|
-
# be marked with this one. You probably do NOT want to set
|
46
|
-
# this unless you are sure it is correct for all cases.
|
47
|
-
#
|
48
|
-
# * It is generally better to not mark a page as
|
49
|
-
# * being a certain language than marking it with the wrong
|
50
|
-
# * language!
|
51
|
-
#
|
52
|
-
# DefaultLanguage nl
|
53
|
-
#
|
54
|
-
# Note 1: The suffix does not have to be the same as the language
|
55
|
-
# keyword --- those with documents in Polish (whose net-standard
|
56
|
-
# language code is pl) may wish to use "AddLanguage pl .po" to
|
57
|
-
# avoid the ambiguity with the common suffix for perl scripts.
|
58
|
-
#
|
59
|
-
# Note 2: The example entries below illustrate that in some cases
|
60
|
-
# the two character 'Language' abbreviation is not identical to
|
61
|
-
# the two character 'Country' code for its country,
|
62
|
-
# E.g. 'Danmark/dk' versus 'Danish/da'.
|
63
|
-
#
|
64
|
-
# Note 3: In the case of 'ltz' we violate the RFC by using a three char
|
65
|
-
# specifier. There is 'work in progress' to fix this and get
|
66
|
-
# the reference data for rfc1766 cleaned up.
|
67
|
-
#
|
68
|
-
# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
|
69
|
-
# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
|
70
|
-
# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
|
71
|
-
# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
|
72
|
-
# Norwegian (no) - Polish (pl) - Portugese (pt)
|
73
|
-
# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
|
74
|
-
# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
|
75
|
-
#
|
76
|
-
AddLanguage ca .ca
|
77
|
-
AddLanguage cs .cz .cs
|
78
|
-
AddLanguage da .dk
|
79
|
-
AddLanguage de .de
|
80
|
-
AddLanguage el .el
|
81
|
-
AddLanguage en .en
|
82
|
-
AddLanguage eo .eo
|
83
|
-
# See README.Debian for Spanish
|
84
|
-
AddLanguage es .es
|
85
|
-
AddLanguage et .et
|
86
|
-
AddLanguage fr .fr
|
87
|
-
AddLanguage he .he
|
88
|
-
AddLanguage hr .hr
|
89
|
-
AddLanguage it .it
|
90
|
-
AddLanguage ja .ja
|
91
|
-
AddLanguage ko .ko
|
92
|
-
AddLanguage ltz .ltz
|
93
|
-
AddLanguage nl .nl
|
94
|
-
AddLanguage nn .nn
|
95
|
-
AddLanguage no .no
|
96
|
-
AddLanguage pl .po
|
97
|
-
AddLanguage pt .pt
|
98
|
-
AddLanguage pt-BR .pt-br
|
99
|
-
AddLanguage ru .ru
|
100
|
-
AddLanguage sv .sv
|
101
|
-
# See README.Debian for Turkish
|
102
|
-
AddLanguage tr .tr
|
103
|
-
AddLanguage zh-CN .zh-cn
|
104
|
-
AddLanguage zh-TW .zh-tw
|
105
|
-
|
106
|
-
#
|
107
|
-
# Commonly used filename extensions to character sets. You probably
|
108
|
-
# want to avoid clashes with the language extensions, unless you
|
109
|
-
# are good at carefully testing your setup after each change.
|
110
|
-
# See http://www.iana.org/assignments/character-sets for the
|
111
|
-
# official list of charset names and their respective RFCs.
|
112
|
-
#
|
113
|
-
AddCharset us-ascii .ascii .us-ascii
|
114
|
-
AddCharset ISO-8859-1 .iso8859-1 .latin1
|
115
|
-
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
|
116
|
-
AddCharset ISO-8859-3 .iso8859-3 .latin3
|
117
|
-
AddCharset ISO-8859-4 .iso8859-4 .latin4
|
118
|
-
AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
|
119
|
-
AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
|
120
|
-
AddCharset ISO-8859-7 .iso8859-7 .grk .greek
|
121
|
-
AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
|
122
|
-
AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
|
123
|
-
AddCharset ISO-8859-10 .iso8859-10 .latin6
|
124
|
-
AddCharset ISO-8859-13 .iso8859-13
|
125
|
-
AddCharset ISO-8859-14 .iso8859-14 .latin8
|
126
|
-
AddCharset ISO-8859-15 .iso8859-15 .latin9
|
127
|
-
AddCharset ISO-8859-16 .iso8859-16 .latin10
|
128
|
-
AddCharset ISO-2022-JP .iso2022-jp .jis
|
129
|
-
AddCharset ISO-2022-KR .iso2022-kr .kis
|
130
|
-
AddCharset ISO-2022-CN .iso2022-cn .cis
|
131
|
-
AddCharset Big5 .Big5 .big5 .b5
|
132
|
-
AddCharset cn-Big5 .cn-big5
|
133
|
-
# For russian, more than one charset is used (depends on client, mostly):
|
134
|
-
AddCharset WINDOWS-1251 .cp-1251 .win-1251
|
135
|
-
AddCharset CP866 .cp866
|
136
|
-
AddCharset KOI8 .koi8
|
137
|
-
AddCharset KOI8-E .koi8-e
|
138
|
-
AddCharset KOI8-r .koi8-r .koi8-ru
|
139
|
-
AddCharset KOI8-U .koi8-u
|
140
|
-
AddCharset KOI8-ru .koi8-uk .ua
|
141
|
-
AddCharset ISO-10646-UCS-2 .ucs2
|
142
|
-
AddCharset ISO-10646-UCS-4 .ucs4
|
143
|
-
AddCharset UTF-7 .utf7
|
144
|
-
AddCharset UTF-8 .utf8
|
145
|
-
AddCharset UTF-16 .utf16
|
146
|
-
AddCharset UTF-16BE .utf16be
|
147
|
-
AddCharset UTF-16LE .utf16le
|
148
|
-
AddCharset UTF-32 .utf32
|
149
|
-
AddCharset UTF-32BE .utf32be
|
150
|
-
AddCharset UTF-32LE .utf32le
|
151
|
-
AddCharset euc-cn .euc-cn
|
152
|
-
AddCharset euc-gb .euc-gb
|
153
|
-
AddCharset euc-jp .euc-jp
|
154
|
-
AddCharset euc-kr .euc-kr
|
155
|
-
#Not sure how euc-tw got in - IANA doesn't list it???
|
156
|
-
AddCharset EUC-TW .euc-tw
|
157
|
-
AddCharset gb2312 .gb2312 .gb
|
158
|
-
AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
|
159
|
-
AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
|
160
|
-
AddCharset shift_jis .shift_jis .sjis
|
161
|
-
|
162
|
-
#
|
163
|
-
# AddHandler allows you to map certain file extensions to "handlers":
|
164
|
-
# actions unrelated to filetype. These can be either built into the server
|
165
|
-
# or added with the Action directive (see below)
|
166
|
-
#
|
167
|
-
# To use CGI scripts outside of ScriptAliased directories:
|
168
|
-
# (You will also need to add "ExecCGI" to the "Options" directive.)
|
169
|
-
#
|
170
|
-
#AddHandler cgi-script .cgi
|
171
|
-
|
172
|
-
#
|
173
|
-
# For files that include their own HTTP headers:
|
174
|
-
#
|
175
|
-
#AddHandler send-as-is asis
|
176
|
-
|
177
|
-
#
|
178
|
-
# For server-parsed imagemap files:
|
179
|
-
#
|
180
|
-
#AddHandler imap-file map
|
181
|
-
|
182
|
-
#
|
183
|
-
# For type maps (negotiated resources):
|
184
|
-
# (This is enabled by default to allow the Apache "It Worked" page
|
185
|
-
# to be distributed in multiple languages.)
|
186
|
-
#
|
187
|
-
AddHandler type-map var
|
188
|
-
|
189
|
-
#
|
190
|
-
# Filters allow you to process content before it is sent to the client.
|
191
|
-
#
|
192
|
-
# To parse .shtml files for server-side includes (SSI):
|
193
|
-
# (You will also need to add "Includes" to the "Options" directive.)
|
194
|
-
#
|
195
|
-
AddType text/html .shtml
|
196
|
-
AddOutputFilter INCLUDES .shtml
|
197
|
-
|
198
|
-
</IfModule>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<IfModule mod_negotiation.c>
|
2
|
-
#
|
3
|
-
# LanguagePriority allows you to give precedence to some languages
|
4
|
-
# in case of a tie during content negotiation.
|
5
|
-
#
|
6
|
-
# Just list the languages in decreasing order of preference. We have
|
7
|
-
# more or less alphabetized them here. You probably want to change this.
|
8
|
-
#
|
9
|
-
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW
|
10
|
-
|
11
|
-
#
|
12
|
-
# ForceLanguagePriority allows you to serve a result page rather than
|
13
|
-
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
|
14
|
-
# [in case no accepted languages matched the available variants]
|
15
|
-
#
|
16
|
-
ForceLanguagePriority Prefer Fallback
|
17
|
-
|
18
|
-
</IfModule>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<IfModule mod_php5.c>
|
2
|
-
<FilesMatch "\.ph(p3?|tml)$">
|
3
|
-
SetHandler application/x-httpd-php
|
4
|
-
</FilesMatch>
|
5
|
-
<FilesMatch "\.phps$">
|
6
|
-
SetHandler application/x-httpd-php-source
|
7
|
-
</FilesMatch>
|
8
|
-
# To re-enable php in user directories comment the following lines
|
9
|
-
# (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
|
10
|
-
# prevents .htaccess files from disabling it.
|
11
|
-
<IfModule mod_userdir.c>
|
12
|
-
<Directory /home/*/public_html>
|
13
|
-
php_admin_value engine Off
|
14
|
-
</Directory>
|
15
|
-
</IfModule>
|
16
|
-
</IfModule>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<IfModule mod_proxy.c>
|
2
|
-
#turning ProxyRequests on and allowing proxying from all may allow
|
3
|
-
#spammers to use your proxy to send email.
|
4
|
-
|
5
|
-
ProxyRequests Off
|
6
|
-
|
7
|
-
<Proxy *>
|
8
|
-
AddDefaultCharset off
|
9
|
-
Order deny,allow
|
10
|
-
Deny from all
|
11
|
-
#Allow from .example.com
|
12
|
-
</Proxy>
|
13
|
-
|
14
|
-
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
|
15
|
-
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
|
16
|
-
# Set to one of: Off | On | Full | Block
|
17
|
-
|
18
|
-
ProxyVia On
|
19
|
-
</IfModule>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<IfModule mod_setenvif.c>
|
2
|
-
|
3
|
-
#
|
4
|
-
# The following directives modify normal HTTP response behavior to
|
5
|
-
# handle known problems with browser implementations.
|
6
|
-
#
|
7
|
-
BrowserMatch "Mozilla/2" nokeepalive
|
8
|
-
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
|
9
|
-
BrowserMatch "RealPlayer 4\.0" force-response-1.0
|
10
|
-
BrowserMatch "Java/1\.0" force-response-1.0
|
11
|
-
BrowserMatch "JDK/1\.0" force-response-1.0
|
12
|
-
|
13
|
-
#
|
14
|
-
# The following directive disables redirects on non-GET requests for
|
15
|
-
# a directory that does not include the trailing slash. This fixes a
|
16
|
-
# problem with Microsoft WebFolders which does not appropriately handle
|
17
|
-
# redirects for folders with DAV methods.
|
18
|
-
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
|
19
|
-
#
|
20
|
-
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
|
21
|
-
BrowserMatch "MS FrontPage" redirect-carefully
|
22
|
-
BrowserMatch "^WebDrive" redirect-carefully
|
23
|
-
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
|
24
|
-
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
|
25
|
-
BrowserMatch "^XML Spy" redirect-carefully
|
26
|
-
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
|
27
|
-
|
28
|
-
</IfModule>
|
@@ -1,76 +0,0 @@
|
|
1
|
-
<IfModule mod_ssl.c>
|
2
|
-
#
|
3
|
-
# Pseudo Random Number Generator (PRNG):
|
4
|
-
# Configure one or more sources to seed the PRNG of the SSL library.
|
5
|
-
# The seed data should be of good random quality.
|
6
|
-
# WARNING! On some platforms /dev/random blocks if not enough entropy
|
7
|
-
# is available. This means you then cannot use the /dev/random device
|
8
|
-
# because it would lead to very long connection times (as long as
|
9
|
-
# it requires to make more entropy available). But usually those
|
10
|
-
# platforms additionally provide a /dev/urandom device which doesn't
|
11
|
-
# block. So, if available, use this one instead. Read the mod_ssl User
|
12
|
-
# Manual for more details.
|
13
|
-
#
|
14
|
-
SSLRandomSeed startup builtin
|
15
|
-
SSLRandomSeed startup file:/dev/urandom 512
|
16
|
-
SSLRandomSeed connect builtin
|
17
|
-
SSLRandomSeed connect file:/dev/urandom 512
|
18
|
-
|
19
|
-
##
|
20
|
-
## SSL Global Context
|
21
|
-
##
|
22
|
-
## All SSL configuration in this context applies both to
|
23
|
-
## the main server and all SSL-enabled virtual hosts.
|
24
|
-
##
|
25
|
-
|
26
|
-
#
|
27
|
-
# Some MIME-types for downloading Certificates and CRLs
|
28
|
-
#
|
29
|
-
AddType application/x-x509-ca-cert .crt
|
30
|
-
AddType application/x-pkcs7-crl .crl
|
31
|
-
|
32
|
-
# Pass Phrase Dialog:
|
33
|
-
# Configure the pass phrase gathering process.
|
34
|
-
# The filtering dialog program (`builtin' is a internal
|
35
|
-
# terminal dialog) has to provide the pass phrase on stdout.
|
36
|
-
SSLPassPhraseDialog builtin
|
37
|
-
|
38
|
-
# Inter-Process Session Cache:
|
39
|
-
# Configure the SSL Session Cache: First the mechanism
|
40
|
-
# to use and second the expiring timeout (in seconds).
|
41
|
-
#SSLSessionCache dbm:/var/run/apache2/ssl_scache
|
42
|
-
<% if %w{ rhel fedora suse }.include?(node['platform_family']) -%>
|
43
|
-
SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000)
|
44
|
-
<% elsif %w{ freebsd }.include?(node['platform_family']) -%>
|
45
|
-
SSLSessionCache shmcb:/var/run/ssl_scache(512000)
|
46
|
-
<% else -%>
|
47
|
-
SSLSessionCache shmcb:/var/run/apache2/ssl_scache
|
48
|
-
<% end -%>
|
49
|
-
SSLSessionCacheTimeout 300
|
50
|
-
|
51
|
-
# Semaphore:
|
52
|
-
# Configure the path to the mutual exclusion semaphore the
|
53
|
-
# SSL engine uses internally for inter-process synchronization.
|
54
|
-
<% if %w{ rhel fedora suse }.include?(node['platform_family']) -%>
|
55
|
-
SSLMutex default
|
56
|
-
<% elsif %w{ freebsd }.include?(node['platform_family']) -%>
|
57
|
-
SSLMutex file:/var/run/ssl_mutex
|
58
|
-
<% else -%>
|
59
|
-
SSLMutex file:/var/run/apache2/ssl_mutex
|
60
|
-
<% end -%>
|
61
|
-
|
62
|
-
# SSL Cipher Suite:
|
63
|
-
# List the ciphers that the client is permitted to negotiate.
|
64
|
-
# See the mod_ssl documentation for a complete list.
|
65
|
-
# enable only secure ciphers:
|
66
|
-
SSLCipherSuite HIGH:MEDIUM:!ADH
|
67
|
-
# Use this instead if you want to allow cipher upgrades via SGC facility.
|
68
|
-
# In this case you also have to use something like
|
69
|
-
# SSLRequire %{SSL_CIPHER_USEKEYSIZE} >= 128
|
70
|
-
# see http://httpd.apache.org/docs/2.2/ssl/ssl_howto.html.en#upgradeenc
|
71
|
-
#SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
|
72
|
-
|
73
|
-
# enable only secure protocols: SSLv3 and TLSv1, but not SSLv2
|
74
|
-
SSLProtocol all -SSLv2
|
75
|
-
|
76
|
-
</IfModule>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<IfModule mod_status.c>
|
2
|
-
#
|
3
|
-
# Allow server status reports generated by mod_status,
|
4
|
-
# with the URL of http://servername/server-status
|
5
|
-
# Uncomment and change the ".example.com" to allow
|
6
|
-
# access from other hosts.
|
7
|
-
#
|
8
|
-
<Location /server-status>
|
9
|
-
SetHandler server-status
|
10
|
-
Order deny,allow
|
11
|
-
Deny from all
|
12
|
-
Allow from localhost ip6-localhost
|
13
|
-
# Allow from .example.com
|
14
|
-
</Location>
|
15
|
-
#
|
16
|
-
# ExtendedStatus controls whether Apache will generate "full" status
|
17
|
-
# information (ExtendedStatus On) or just basic information (ExtendedStatus
|
18
|
-
# Off) when the "server-status" handler is called. The default is Off.
|
19
|
-
#
|
20
|
-
<% if node['apache']['ext_status'] %>
|
21
|
-
ExtendedStatus On
|
22
|
-
<% else -%>
|
23
|
-
ExtendedStatus Off
|
24
|
-
<% end -%>
|
25
|
-
#
|
26
|
-
</IfModule>
|
@@ -1,50 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Disable access to the entire file system except for the directories that
|
3
|
-
# are explicitly allowed later.
|
4
|
-
#
|
5
|
-
# This currently breaks the configurations that come with some web application
|
6
|
-
# Debian packages. It will be made the default for the release after lenny.
|
7
|
-
#
|
8
|
-
#<Directory />
|
9
|
-
# AllowOverride None
|
10
|
-
# Order Deny,Allow
|
11
|
-
# Deny from all
|
12
|
-
#</Directory>
|
13
|
-
|
14
|
-
|
15
|
-
# Changing the following options will not really affect the security of the
|
16
|
-
# server, but might make attacks slightly more difficult in some cases.
|
17
|
-
|
18
|
-
#
|
19
|
-
# ServerTokens
|
20
|
-
# This directive configures what you return as the Server HTTP response
|
21
|
-
# Header. The default is 'Full' which sends information about the OS-Type
|
22
|
-
# and compiled in modules.
|
23
|
-
# Set to one of: Full | OS | Minimal | Minor | Major | Prod
|
24
|
-
# where Full conveys the most information, and Prod the least.
|
25
|
-
#
|
26
|
-
#ServerTokens Minimal
|
27
|
-
ServerTokens <%= node['apache']['servertokens'] %>
|
28
|
-
|
29
|
-
#
|
30
|
-
# Optionally add a line containing the server version and virtual host
|
31
|
-
# name to server-generated pages (internal error documents, FTP directory
|
32
|
-
# listings, mod_status and mod_info output etc., but not CGI generated
|
33
|
-
# documents or custom error documents).
|
34
|
-
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
|
35
|
-
# Set to one of: On | Off | EMail
|
36
|
-
#
|
37
|
-
#ServerSignature Off
|
38
|
-
ServerSignature <%= node['apache']['serversignature'] %>
|
39
|
-
|
40
|
-
#
|
41
|
-
# Allow TRACE method
|
42
|
-
#
|
43
|
-
# Set to "extended" to also reflect the request body (only for testing and
|
44
|
-
# diagnostic purposes).
|
45
|
-
#
|
46
|
-
# Set to one of: On | Off | extended
|
47
|
-
#
|
48
|
-
#TraceEnable Off
|
49
|
-
TraceEnable <%= node['apache']['traceenable'] %>
|
50
|
-
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<VirtualHost *:80>
|
2
|
-
ServerName <%= @params[:server_name] %>
|
3
|
-
ServerAlias <% @params[:server_aliases].each do |a| %><%= a %> <% end %>
|
4
|
-
DocumentRoot <%= @params[:docroot] %>
|
5
|
-
RewriteEngine On
|
6
|
-
|
7
|
-
<Directory <%= @params[:docroot] %>>
|
8
|
-
Options FollowSymLinks
|
9
|
-
AllowOverride None
|
10
|
-
Order allow,deny
|
11
|
-
Allow from all
|
12
|
-
</Directory>
|
13
|
-
|
14
|
-
<Directory />
|
15
|
-
Options FollowSymLinks
|
16
|
-
AllowOverride None
|
17
|
-
</Directory>
|
18
|
-
|
19
|
-
<Location /server-status>
|
20
|
-
SetHandler server-status
|
21
|
-
|
22
|
-
Order Deny,Allow
|
23
|
-
Deny from all
|
24
|
-
Allow from 127.0.0.1
|
25
|
-
</Location>
|
26
|
-
|
27
|
-
LogLevel info
|
28
|
-
ErrorLog <%= node['apache']['log_dir'] %>/<%= @params[:name] %>-error.log
|
29
|
-
CustomLog <%= node['apache']['log_dir'] %>/<%= @params[:name] %>-access.log combined
|
30
|
-
|
31
|
-
RewriteEngine On
|
32
|
-
RewriteLog <%= node['apache']['log_dir'] %>/<%= @application_name %>-rewrite.log
|
33
|
-
RewriteLogLevel 0
|
34
|
-
|
35
|
-
# Canonical host, <%= @params[:server_name] %>
|
36
|
-
RewriteCond %{HTTP_HOST} !^<%= @params[:server_name] %> [NC]
|
37
|
-
RewriteCond %{HTTP_HOST} !^$
|
38
|
-
RewriteRule ^/(.*)$ http://<%= @params[:server_name] %>/$1 [L,R=301]
|
39
|
-
|
40
|
-
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
|
41
|
-
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
|
42
|
-
RewriteRule ^.*$ /system/maintenance.html [L]
|
43
|
-
</VirtualHost>
|
data/cookbooks/apt/Berksfile
DELETED
data/cookbooks/apt/CHANGELOG.md
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
## v2.0.0:
|
2
|
-
|
3
|
-
### Bug
|
4
|
-
|
5
|
-
- [COOK-2258]: apt: LWRP results in error under why-run mode in apt 1.9.0 cookbook
|
6
|
-
|
7
|
-
## v1.10.0:
|
8
|
-
|
9
|
-
### Improvement
|
10
|
-
|
11
|
-
- [COOK-2885]: Improvements for apt cache server search
|
12
|
-
|
13
|
-
### Bug
|
14
|
-
|
15
|
-
- [COOK-2441]: Apt recipe broken in new chef version
|
16
|
-
- [COOK-2660]: Create Debian 6.0 "squeeze" specific template for
|
17
|
-
apt-cacher-ng
|
18
|
-
|
19
|
-
## v1.9.2:
|
20
|
-
|
21
|
-
* [COOK-2631] - Create Ubuntu 10.04 specific template for apt-cacher-ng
|
22
|
-
|
23
|
-
## v1.9.0:
|
24
|
-
|
25
|
-
* [COOK-2185] - Proxy for apt-key
|
26
|
-
* [COOK-2338] - Support pinning by glob() or regexp
|
27
|
-
|
28
|
-
## v1.8.4:
|
29
|
-
|
30
|
-
* [COOK-2171] - Update README to clarify required Chef version: 10.18.0
|
31
|
-
or higher.
|
32
|
-
|
33
|
-
## v1.8.2:
|
34
|
-
|
35
|
-
* [COOK-2112] - need [] around "arch" in sources.list entries
|
36
|
-
* [COOK-2171] - fixes a regression in the notification
|
37
|
-
|
38
|
-
## v1.8.0:
|
39
|
-
|
40
|
-
* [COOK-2143] - Allow for a custom cacher-ng port
|
41
|
-
* [COOK-2171] - On `apt_repository.run_action(:add)` the source file
|
42
|
-
is not created.
|
43
|
-
* [COOK-2184] - apt::cacher-ng, use `cacher_port` attribute in
|
44
|
-
acng.conf
|
45
|
-
|
46
|
-
## v1.7.0:
|
47
|
-
|
48
|
-
* [COOK-2082] - add "arch" parameter to apt_repository LWRP
|
49
|
-
|
50
|
-
## v1.6.0:
|
51
|
-
|
52
|
-
* [COOK-1893] - `apt_preference` use "`package_name`" resource instead of "name"
|
53
|
-
* [COOK-1894] - change filename for sources.list.d files
|
54
|
-
* [COOK-1914] - Wrong dir permissions for /etc/apt/preferences.d/
|
55
|
-
* [COOK-1942] - README.md has wrong name for the keyserver attribute
|
56
|
-
* [COOK-2019] - create 01proxy before any other apt-get updates get executed
|
57
|
-
|
58
|
-
## v1.5.2:
|
59
|
-
|
60
|
-
* [COOK-1682] - use template instead of file resource in apt::cacher-client
|
61
|
-
* [COOK-1875] - cacher-client should be Environment-aware
|
62
|
-
|
63
|
-
## V1.5.0:
|
64
|
-
|
65
|
-
* [COOK-1500] - Avoid triggering apt-get update
|
66
|
-
* [COOK-1548] - Add execute commands for autoclean and autoremove
|
67
|
-
* [COOK-1591] - Setting up the apt proxy should leave https
|
68
|
-
connections direct
|
69
|
-
* [COOK-1596] - execute[apt-get-update-periodic] never runs
|
70
|
-
* [COOK-1762] - create /etc/apt/preferences.d directory
|
71
|
-
* [COOK-1776] - apt key check isn't idempotent
|
72
|
-
|
73
|
-
## v1.4.8:
|
74
|
-
|
75
|
-
* Adds test-kitchen support
|
76
|
-
* [COOK-1435] - repository lwrp is not idempotent with http key
|
77
|
-
|
78
|
-
## v1.4.6:
|
79
|
-
|
80
|
-
* [COOK-1530] - apt_repository isn't aware of update-success-stamp
|
81
|
-
file (also reverts COOK-1382 patch).
|
82
|
-
|
83
|
-
## v1.4.4:
|
84
|
-
|
85
|
-
* [COOK-1229] - Allow cacher IP to be set manually in non-Chef Solo
|
86
|
-
environments
|
87
|
-
* [COOK-1530] - Immediately update apt-cache when sources.list file is dropped off
|
88
|
-
|
89
|
-
## v1.4.2:
|
90
|
-
|
91
|
-
* [COOK-1155] - LWRP for apt pinning
|
92
|
-
|
93
|
-
## v1.4.0:
|
94
|
-
|
95
|
-
* [COOK-889] - overwrite existing repo source files
|
96
|
-
* [COOK-921] - optionally use cookbook\_file or remote\_file for key
|
97
|
-
* [COOK-1032] - fixes problem with apt repository key installation
|
data/cookbooks/apt/CONTRIBUTING
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
If you would like to contribute, please open a ticket in JIRA:
|
2
|
-
|
3
|
-
* http://tickets.opscode.com
|
4
|
-
|
5
|
-
Create the ticket in the COOK project and use the cookbook name as the
|
6
|
-
component.
|
7
|
-
|
8
|
-
For all code contributions, we ask that contributors sign a
|
9
|
-
contributor license agreement (CLA). Instructions may be found here:
|
10
|
-
|
11
|
-
* http://wiki.opscode.com/display/chef/How+to+Contribute
|
12
|
-
|
13
|
-
When contributing changes to individual cookbooks, please do not
|
14
|
-
modify the version number in the metadata.rb. Also please do not
|
15
|
-
update the CHANGELOG.md for a new version. Not all changes to a
|
16
|
-
cookbook may be merged and released in the same versions. Opscode will
|
17
|
-
handle the version updates during the release process. You are welcome
|
18
|
-
to correct typos or otherwise make updates to documentation in the
|
19
|
-
README.
|
20
|
-
|
21
|
-
If a contribution adds new platforms or platform versions, indicate
|
22
|
-
such in the body of the commit message(s), and update the relevant
|
23
|
-
COOK ticket. When writing commit messages, it is helpful for others if
|
24
|
-
you indicate the COOK ticket. For example:
|
25
|
-
|
26
|
-
git commit -m '[COOK-1041] Updated pool resource to correctly delete.'
|
27
|
-
|
28
|
-
In the ticket itself, it is also helpful if you include log output of
|
29
|
-
a successful Chef run, but this is not absolutely required.
|