puppet_forge 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/.gitignore +22 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +13 -0
  4. data/README.md +172 -0
  5. data/Rakefile +2 -0
  6. data/lib/her/lazy_accessors.rb +140 -0
  7. data/lib/her/lazy_relations.rb +86 -0
  8. data/lib/puppet_forge.rb +19 -0
  9. data/lib/puppet_forge/middleware/json_for_her.rb +37 -0
  10. data/lib/puppet_forge/v3.rb +10 -0
  11. data/lib/puppet_forge/v3/base.rb +98 -0
  12. data/lib/puppet_forge/v3/base/paginated_collection.rb +73 -0
  13. data/lib/puppet_forge/v3/module.rb +15 -0
  14. data/lib/puppet_forge/v3/release.rb +35 -0
  15. data/lib/puppet_forge/v3/user.rb +21 -0
  16. data/lib/puppet_forge/version.rb +3 -0
  17. data/puppet_forge.gemspec +31 -0
  18. data/spec/fixtures/v3/files/puppetlabs-apache-0.0.1.tar.gz.headers +14 -0
  19. data/spec/fixtures/v3/files/puppetlabs-apache-0.0.1.tar.gz.json +0 -0
  20. data/spec/fixtures/v3/modules.headers +14 -0
  21. data/spec/fixtures/v3/modules.json +4197 -0
  22. data/spec/fixtures/v3/modules/puppetlabs-apache.headers +14 -0
  23. data/spec/fixtures/v3/modules/puppetlabs-apache.json +390 -0
  24. data/spec/fixtures/v3/modules?owner=puppetlabs.headers +14 -0
  25. data/spec/fixtures/v3/modules?owner=puppetlabs.json +4179 -0
  26. data/spec/fixtures/v3/modules?query=apache.headers +14 -0
  27. data/spec/fixtures/v3/modules?query=apache.json +3151 -0
  28. data/spec/fixtures/v3/releases.headers +14 -0
  29. data/spec/fixtures/v3/releases.json +3072 -0
  30. data/spec/fixtures/v3/releases/puppetlabs-apache-0.0.1.headers +14 -0
  31. data/spec/fixtures/v3/releases/puppetlabs-apache-0.0.1.json +93 -0
  32. data/spec/fixtures/v3/releases/puppetlabs-apache-0.0.2.headers +14 -0
  33. data/spec/fixtures/v3/releases/puppetlabs-apache-0.0.2.json +93 -0
  34. data/spec/fixtures/v3/releases/puppetlabs-apache-0.0.3.headers +14 -0
  35. data/spec/fixtures/v3/releases/puppetlabs-apache-0.0.3.json +93 -0
  36. data/spec/fixtures/v3/releases/puppetlabs-apache-0.0.4.headers +14 -0
  37. data/spec/fixtures/v3/releases/puppetlabs-apache-0.0.4.json +126 -0
  38. data/spec/fixtures/v3/releases/puppetlabs-apache-0.1.1.headers +14 -0
  39. data/spec/fixtures/v3/releases/puppetlabs-apache-0.1.1.json +140 -0
  40. data/spec/fixtures/v3/releases?module=puppetlabs-apache.headers +14 -0
  41. data/spec/fixtures/v3/releases?module=puppetlabs-apache.json +3287 -0
  42. data/spec/fixtures/v3/users/puppetlabs.headers +14 -0
  43. data/spec/fixtures/v3/users/puppetlabs.json +10 -0
  44. data/spec/spec_helper.rb +60 -0
  45. data/spec/unit/forge/v3/base/paginated_collection_spec.rb +88 -0
  46. data/spec/unit/forge/v3/module_spec.rb +118 -0
  47. data/spec/unit/forge/v3/release_spec.rb +112 -0
  48. data/spec/unit/forge/v3/user_spec.rb +50 -0
  49. data/spec/unit/her/lazy_accessors_spec.rb +142 -0
  50. data/spec/unit/her/lazy_relations_spec.rb +309 -0
  51. metadata +261 -0
@@ -0,0 +1,14 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 06 Jan 2014 22:42:07 GMT
4
+ Content-Type: application/json;charset=utf-8
5
+ Content-Length: 335315
6
+ Connection: keep-alive
7
+ Status: 200 OK
8
+ X-Frame-Options: sameorigin
9
+ X-XSS-Protection: 1; mode=block
10
+ Cache-Control: public, must-revalidate
11
+ Last-Modified: Mon, 06 Jan 2014 22:42:07 GMT
12
+ X-Node: forgeapi04
13
+ X-Revision: 49f66e061b0021c081fb58e754898cd928f61494
14
+
@@ -0,0 +1,3151 @@
1
+ {
2
+ "pagination": {
3
+ "limit": 20,
4
+ "offset": 0,
5
+ "first": "/v3/modules?query=apache&limit=20&offset=0",
6
+ "previous": null,
7
+ "current": "/v3/modules?query=apache&limit=20&offset=0",
8
+ "next": "/v3/modules?query=apache&limit=20&offset=20",
9
+ "total": 56
10
+ },
11
+ "results": [
12
+ {
13
+ "uri": "/v3/modules/puppetlabs-apache",
14
+ "name": "apache",
15
+ "downloads": 81387,
16
+ "created_at": "2010-05-20 22:43:19 -0700",
17
+ "updated_at": "2014-01-06 14:42:07 -0800",
18
+ "owner": {
19
+ "uri": "/v3/users/puppetlabs",
20
+ "username": "puppetlabs",
21
+ "gravatar_id": "fdd009b7c1ec96e088b389f773e87aec"
22
+ },
23
+ "current_release": {
24
+ "uri": "/v3/releases/puppetlabs-apache-0.10.0",
25
+ "module": {
26
+ "uri": "/v3/modules/puppetlabs-apache",
27
+ "name": "apache",
28
+ "owner": {
29
+ "uri": "/v3/users/puppetlabs",
30
+ "username": "puppetlabs",
31
+ "gravatar_id": "fdd009b7c1ec96e088b389f773e87aec"
32
+ }
33
+ },
34
+ "version": "0.10.0",
35
+ "metadata": {
36
+ "name": "puppetlabs-apache",
37
+ "version": "0.10.0",
38
+ "source": "git://github.com/puppetlabs/puppetlabs-apache.git",
39
+ "author": "puppetlabs",
40
+ "license": "Apache 2.0",
41
+ "summary": "Puppet module for Apache",
42
+ "description": "Module for Apache configuration",
43
+ "project_page": "https://github.com/puppetlabs/puppetlabs-apache",
44
+ "dependencies": [
45
+ {
46
+ "name": "puppetlabs/stdlib",
47
+ "version_requirement": ">= 2.4.0"
48
+ },
49
+ {
50
+ "name": "puppetlabs/concat",
51
+ "version_requirement": ">= 1.0.0"
52
+ }
53
+ ],
54
+ "types": [
55
+ {
56
+ "name": "a2mod",
57
+ "doc": "Manage Apache 2 modules",
58
+ "properties": [
59
+ {
60
+ "name": "ensure",
61
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
62
+ }
63
+ ],
64
+ "parameters": [
65
+ {
66
+ "name": "name",
67
+ "doc": "The name of the module to be managed"
68
+ },
69
+ {
70
+ "name": "lib",
71
+ "doc": "The name of the .so library to be loaded"
72
+ },
73
+ {
74
+ "name": "identifier",
75
+ "doc": "Module identifier string used by LoadModule. Default: module-name_module"
76
+ }
77
+ ],
78
+ "providers": [
79
+ {
80
+ "name": "a2mod",
81
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu\n\nRequired binaries: `a2enmod`, `a2dismod`, `apache2ctl`. Default for `operatingsystem` == `debian, ubuntu`."
82
+ },
83
+ {
84
+ "name": "gentoo",
85
+ "doc": "Manage Apache 2 modules on Gentoo\n\nDefault for `operatingsystem` == `gentoo`."
86
+ },
87
+ {
88
+ "name": "modfix",
89
+ "doc": "Dummy provider for A2mod.\n\n Fake nil resources when there is no crontab binary available. Allows\n puppetd to run on a bootstrapped machine before a Cron package has been\n installed. Workaround for: http://projects.puppetlabs.com/issues/2384\n "
90
+ },
91
+ {
92
+ "name": "redhat",
93
+ "doc": "Manage Apache 2 modules on RedHat family OSs\n\nRequired binaries: `apachectl`. Default for `osfamily` == `redhat`."
94
+ }
95
+ ]
96
+ }
97
+ ],
98
+ "checksums": {
99
+ "CHANGELOG.md": "2ed7b976e9c4542fd1626006cb44783b",
100
+ "CONTRIBUTING.md": "5520c75162725951733fa7d88e57f31f",
101
+ "Gemfile": "c1cd7b0477f1a99e0156a471aac6cd58",
102
+ "Gemfile.lock": "13733647826ec5cff955b593fd9a9c5c",
103
+ "LICENSE": "b3f8a01d8699078d82e8c3c992307517",
104
+ "Modulefile": "560b5e9d2b04ddbc23f3803645bfbda5",
105
+ "README.md": "c937c2d34a76185fe8cfc61d671c47ec",
106
+ "README.passenger.md": "0316c4a152fd51867ece8ea403250fcb",
107
+ "Rakefile": "0428ea3759a4692c91604396c406a9c1",
108
+ "files/httpd": "295f5e924afe6f752d29327e73fe6d0a",
109
+ "lib/puppet/provider/a2mod/a2mod.rb": "d986d8e8373f3f31c97359381c180628",
110
+ "lib/puppet/provider/a2mod/gentoo.rb": "2492d446adbb68f678e86a75eb7ff3bd",
111
+ "lib/puppet/provider/a2mod/modfix.rb": "b689a1c83c9ccd8590399c67f3e588e5",
112
+ "lib/puppet/provider/a2mod/redhat.rb": "c39b80e75e7d0666def31c2a6cdedb0b",
113
+ "lib/puppet/provider/a2mod.rb": "03ed73d680787dd126ea37a03be0b236",
114
+ "lib/puppet/type/a2mod.rb": "9042ccc045bfeecca28bebb834114f05",
115
+ "manifests/balancer.pp": "c635b2d2dec8b5972509960152e169a3",
116
+ "manifests/balancermember.pp": "8afe51921a42545402fa457820162ae2",
117
+ "manifests/confd/no_accf.pp": "c44b75749a3a56c0306433868d6b762c",
118
+ "manifests/default_confd_files.pp": "7cbc2f15bfd34eb2f5160c671775c0f6",
119
+ "manifests/default_mods/load.pp": "b3f21b3186216795dd18ee051f01e3c2",
120
+ "manifests/default_mods.pp": "ea267ac599fc3d76db6298c3710cee60",
121
+ "manifests/dev.pp": "639ba24711be5d7cea0c792e05008c86",
122
+ "manifests/init.pp": "ffc69874d88f7ac581138fbf47d04d04",
123
+ "manifests/listen.pp": "5efc62bd75a0a9a9565b12bd8cb2a9e4",
124
+ "manifests/mod/alias.pp": "3c144a2aa8231de61e68eced58dc9287",
125
+ "manifests/mod/auth_basic.pp": "47ff846317d52d2161c6d09cac05f7f8",
126
+ "manifests/mod/auth_kerb.pp": "7876ffdca25396285a26afae8dd030eb",
127
+ "manifests/mod/authnz_ldap.pp": "10c795251b2327614ef0b433591ed128",
128
+ "manifests/mod/autoindex.pp": "1b07e7737b4b27f977f80c289172a55b",
129
+ "manifests/mod/cache.pp": "51b4826a72090da8e463bc007695f05b",
130
+ "manifests/mod/cgi.pp": "8c9265733584e188196fe69fd3b9fdd7",
131
+ "manifests/mod/cgid.pp": "d218c11d4798453d6075f8f1553c94de",
132
+ "manifests/mod/dav.pp": "f0228b06b7101864f7c943b541e570d2",
133
+ "manifests/mod/dav_fs.pp": "a166fc9b780abea2eec1ab723ce3a773",
134
+ "manifests/mod/dav_svn.pp": "641911969d921123865e6566954c0edb",
135
+ "manifests/mod/deflate.pp": "f317ddf1cbfee52945d0433a3b25c728",
136
+ "manifests/mod/dev.pp": "d6a001af402d8e82e952c8243c5e5321",
137
+ "manifests/mod/dir.pp": "f3c3e6a21653ebda12f35b4b140e68d5",
138
+ "manifests/mod/disk_cache.pp": "f19193d4f119224e19713e0c96a0de6d",
139
+ "manifests/mod/event.pp": "e48aefd215dd61980f0b9c4d16ef094a",
140
+ "manifests/mod/expires.pp": "a9b7537846258af84f12b8ce3510dfa8",
141
+ "manifests/mod/fastcgi.pp": "fec8afea5424f25109a0b7ca912b16b1",
142
+ "manifests/mod/fcgid.pp": "d03eb1add8f2cef603331dde96f1f7fd",
143
+ "manifests/mod/headers.pp": "224438518465d09c951eb00dbaf8123c",
144
+ "manifests/mod/info.pp": "9a45dd07a2681dc1fef9204de3f42bd9",
145
+ "manifests/mod/itk.pp": "7c32234950dc74354b06a2da15197179",
146
+ "manifests/mod/ldap.pp": "f5033ee5197938d402854d8ffa9fb1d3",
147
+ "manifests/mod/mime.pp": "0fa7835f270e511616927afe01a0526c",
148
+ "manifests/mod/mime_magic.pp": "fe249dd7e1faa5ec5dd936877c64e856",
149
+ "manifests/mod/negotiation.pp": "9f5d70e4c961175a78a049fedaac85c9",
150
+ "manifests/mod/nss.pp": "f7a7efaac854599aa7b872665eb5d93c",
151
+ "manifests/mod/passenger.pp": "e6c48c22a69933b0975609f2bacf2b5d",
152
+ "manifests/mod/perl.pp": "72195ad624f68e2c0009074d118bf8e4",
153
+ "manifests/mod/peruser.pp": "3a2eaab65d7be2373740302eac33e5b1",
154
+ "manifests/mod/php.pp": "a3725f487f58eb354c84a4fee704daa9",
155
+ "manifests/mod/prefork.pp": "84b64cb7b46ab0c544dfecb476d65e3d",
156
+ "manifests/mod/proxy.pp": "eb1e8895edee5e97edc789923fc128c8",
157
+ "manifests/mod/proxy_ajp.pp": "f9b72f1339cc03f068fa684f38793120",
158
+ "manifests/mod/proxy_balancer.pp": "5ab6987614f8a1afde3a8b701fbbe22a",
159
+ "manifests/mod/proxy_html.pp": "1a96fd029a305eb88639bf5baf06abdd",
160
+ "manifests/mod/proxy_http.pp": "773d0fbb934440a24b3bc87517faa4d4",
161
+ "manifests/mod/python.pp": "0b22df3d0e9a39ce948212e18329155f",
162
+ "manifests/mod/reqtimeout.pp": "2ff860e05de7352d4a1bcd57c0ee08f0",
163
+ "manifests/mod/rewrite.pp": "165fdccc8acc61e5fb088d9917861a3c",
164
+ "manifests/mod/rpaf.pp": "1125f0c5296ca584fa71de474c95475f",
165
+ "manifests/mod/setenvif.pp": "32098aaab01723cae4c44d2fff8114ea",
166
+ "manifests/mod/ssl.pp": "c8ab5728fda7814dace9a8eebf13476c",
167
+ "manifests/mod/status.pp": "d7366470082970ac62984581a0ea3fd7",
168
+ "manifests/mod/suphp.pp": "c42d20b057007eff1a75595fc3fe7adf",
169
+ "manifests/mod/userdir.pp": "7166fee20a3e5b97d61dfae18fb745c9",
170
+ "manifests/mod/vhost_alias.pp": "ea2d06875ed4f47ba65da0f7169e529e",
171
+ "manifests/mod/worker.pp": "b1809ac41b322b090be410d41e57157e",
172
+ "manifests/mod/wsgi.pp": "a0073502c2267d7e72caaf9f4942ab7c",
173
+ "manifests/mod/xsendfile.pp": "ebe6241729f1b0d8125043a1f34caa54",
174
+ "manifests/mod.pp": "2d4ab8907db92e50c5ed6e1357fed9fb",
175
+ "manifests/namevirtualhost.pp": "27bb9faa95147fcd15ec2aa0a95bc3af",
176
+ "manifests/package.pp": "c32ba42fe3ab4acc49d2e28258108ba1",
177
+ "manifests/params.pp": "221fa0dcbdd00066e074bc443c0d8fdb",
178
+ "manifests/peruser/multiplexer.pp": "712017c1d1cee710cd7392a4c4821044",
179
+ "manifests/peruser/processor.pp": "293fcb9d2e7ae98b36f544953e33074e",
180
+ "manifests/php.pp": "a4478838b4cf9b0525b04db150cf55b8",
181
+ "manifests/proxy.pp": "54e7657920b580546f3bef3980f2fd03",
182
+ "manifests/python.pp": "2edb06e8119b67a5a62fb24fb280d3e5",
183
+ "manifests/service.pp": "56e90e48165989a7df3360dc55b01360",
184
+ "manifests/ssl.pp": "7f944d1c103a59ebd04d02e68af69f7a",
185
+ "manifests/vhost/custom.pp": "58bd40d3d12d01549545b85667855d38",
186
+ "manifests/vhost.pp": "41c68c9ef48c3ef9d1c4feb167d71dd2",
187
+ "spec/classes/apache_spec.rb": "70ebba6cbb794fe0239b0e353796bae9",
188
+ "spec/classes/dev_spec.rb": "051fcee20c1b04a7d52481c4a23682b3",
189
+ "spec/classes/mod/auth_kerb_spec.rb": "229c730ac88b05c4ea4e64d395f26f27",
190
+ "spec/classes/mod/authnz_ldap_spec.rb": "19cef4733927bc3548af8c75a66a8b11",
191
+ "spec/classes/mod/dav_svn_spec.rb": "b41e721c0b5c7bac1295187f89d27ab7",
192
+ "spec/classes/mod/dev_spec.rb": "81d37ad0a51e6cae22e79009e719d648",
193
+ "spec/classes/mod/dir_spec.rb": "a8d473ce36e0aaec0f9f3463cd4bb549",
194
+ "spec/classes/mod/event_spec.rb": "cce445ab0a7140bdb50897c6f692ec17",
195
+ "spec/classes/mod/fastcgi_spec.rb": "ff35691208f95aee61150682728c2891",
196
+ "spec/classes/mod/fcgid_spec.rb": "ca3ee773bdf9ac82e63edee4411d0281",
197
+ "spec/classes/mod/info_spec.rb": "90f35932812cc86058b6ccfd48eba6e8",
198
+ "spec/classes/mod/itk_spec.rb": "261aa7759e232f07d70b102f0e8ab828",
199
+ "spec/classes/mod/mime_magic_spec.rb": "a3748b9bd66514b56aa29a377a233606",
200
+ "spec/classes/mod/passenger_spec.rb": "ece983e4b228f99f670a5f98878f964b",
201
+ "spec/classes/mod/perl_spec.rb": "123e73d8de752e83336bed265a354c08",
202
+ "spec/classes/mod/peruser_spec.rb": "72d00a427208a3bc0dda5578d36e7b0e",
203
+ "spec/classes/mod/php_spec.rb": "3907e0075049b0d3cdadb17445acae2d",
204
+ "spec/classes/mod/prefork_spec.rb": "537882d6f314a17c3ead6f51a67b20b8",
205
+ "spec/classes/mod/proxy_html_spec.rb": "3587873d56172c431f93a78845b7d24e",
206
+ "spec/classes/mod/python_spec.rb": "9011cd2ac1d452daec091e5cf337dbe7",
207
+ "spec/classes/mod/rpaf_spec.rb": "b419712d8e6acbe00f5c4034161e40af",
208
+ "spec/classes/mod/ssl_spec.rb": "969111556de99092152735764194d267",
209
+ "spec/classes/mod/status_spec.rb": "a1f70673810840e591ac25a1803c39d7",
210
+ "spec/classes/mod/suphp_spec.rb": "1da3f6561f19d8c7f2a71655fa7772ea",
211
+ "spec/classes/mod/worker_spec.rb": "cf005d3606362360f7fcccce04e53be6",
212
+ "spec/classes/mod/wsgi_spec.rb": "37ad1d623b1455e237a75405776d58d9",
213
+ "spec/classes/params_spec.rb": "9b1984a3e8a485ff128512833400dfbd",
214
+ "spec/classes/service_spec.rb": "d522ae1652cc87a4b9c6e33034ee5774",
215
+ "spec/defines/mod_spec.rb": "80d167b475191b63713087462e960a44",
216
+ "spec/defines/vhost_spec.rb": "89905755a72b938e99f4a01ef64203e9",
217
+ "spec/fixtures/modules/site_apache/templates/fake.conf.erb": "6b0431dd0b9a0bf803eb0684300c2cff",
218
+ "spec/spec.opts": "c407193b3d9028941ef59edd114f5968",
219
+ "spec/spec_helper.rb": "0db89c9a486df193c0e40095422e19dc",
220
+ "spec/spec_helper_system.rb": "c54584d03120766bac28221597920d3d",
221
+ "spec/system/basic_spec.rb": "73bab7cf3eb0554b7d7801613c4b483e",
222
+ "spec/system/class_spec.rb": "6f29d603a809ae6208243911c0b250e4",
223
+ "spec/system/default_mods_spec.rb": "fff758602ee95ee67cad2abc71bc54fb",
224
+ "spec/system/itk_spec.rb": "c645ac3b306da4d3733c33f662959e36",
225
+ "spec/system/mod_php_spec.rb": "b823cdcfe4288359a3d2dfd70868691d",
226
+ "spec/system/mod_suphp_spec.rb": "9d38045b3dcb052153e7c08164301c13",
227
+ "spec/system/prefork_worker_spec.rb": "a6f1b3fb3024a0dce75e45a7c2d6cfd0",
228
+ "spec/system/service_spec.rb": "3cd71e4e40790e1624487fd233f18a07",
229
+ "spec/system/vhost_spec.rb": "86e147833f1acebf2b08451f02919581",
230
+ "spec/unit/provider/a2mod/gentoo_spec.rb": "24ad9db4f6ba0b4fc7ed77b509b4244c",
231
+ "templates/confd/no-accf.conf.erb": "a614f28c4b54370e4fa88403dfe93eb0",
232
+ "templates/httpd.conf.erb": "6e768a748deb4737a8faf82ea80196c1",
233
+ "templates/listen.erb": "6286aa08f9e28caee54b1e1ee031b9d6",
234
+ "templates/mod/alias.conf.erb": "e65c27aafd88c825ab35b34dd04221ea",
235
+ "templates/mod/authnz_ldap.conf.erb": "12c9a1482694ddad3143e5eef03fb531",
236
+ "templates/mod/autoindex.conf.erb": "2421a3c6df32c7e38c2a7a22afdf5728",
237
+ "templates/mod/cgid.conf.erb": "3d4e24001b50eb16561e45f5a8237b32",
238
+ "templates/mod/dav_fs.conf.erb": "fdf1f8cff4708a282ef491d60868d1d7",
239
+ "templates/mod/deflate.conf.erb": "44d54f557a5612be8da04c49dd6da862",
240
+ "templates/mod/dir.conf.erb": "2485da78a2506c14bf51dde38dd03360",
241
+ "templates/mod/disk_cache.conf.erb": "7d3e7a5ee3bd7b6a839924b06a60667f",
242
+ "templates/mod/event.conf.erb": "dc4223dfb2729e54d4a33cdec03bd518",
243
+ "templates/mod/fastcgi.conf.erb": "8692d14c4462335c845eede011f6db2f",
244
+ "templates/mod/info.conf.erb": "bb48951beaeaf582d1a1023cb661ac32",
245
+ "templates/mod/itk.conf.erb": "eff84b78e4f2f8c5c3a2e9fc4b8aad16",
246
+ "templates/mod/ldap.conf.erb": "a8a33f645497e0dbcec363c98be43795",
247
+ "templates/mod/mime.conf.erb": "8f953519790a5900369fb656054cae35",
248
+ "templates/mod/mime_magic.conf.erb": "f910e66299cba6ead5f0444e522a0c76",
249
+ "templates/mod/mpm_event.conf.erb": "80097a19d063a4f973465d9ef5c0c0bf",
250
+ "templates/mod/negotiation.conf.erb": "47284b5580b986a6ba32580b6ffb9fd7",
251
+ "templates/mod/nss.conf.erb": "9a9667d308f0783448ca2689b9fc2b93",
252
+ "templates/mod/passenger.conf.erb": "68a350cf4cf037c2ae64f015cc7a61a3",
253
+ "templates/mod/peruser.conf.erb": "ac1c2bf2a771ed366f688ec337d6da02",
254
+ "templates/mod/php5.conf.erb": "49e2d214790835c141fcaf6d74b5a96d",
255
+ "templates/mod/prefork.conf.erb": "f9ec5a7eaea78a19b04fa69f8acd8a84",
256
+ "templates/mod/proxy.conf.erb": "38668e1cb5a19d7708e9d26f99e21264",
257
+ "templates/mod/proxy_html.conf.erb": "67546d56f2d6bb1860338257e3ac9d29",
258
+ "templates/mod/reqtimeout.conf.erb": "81c51851ab7ee7942bef389dc7c0e985",
259
+ "templates/mod/rpaf.conf.erb": "5447539c083ae54f3a9e93c1ac8c988b",
260
+ "templates/mod/setenvif.conf.erb": "c7ede4173da1915b7ec088201f030c28",
261
+ "templates/mod/ssl.conf.erb": "907dc25931c6bdb7ce4b61a81be788f8",
262
+ "templates/mod/status.conf.erb": "afb05015a8337b232127199aa085a023",
263
+ "templates/mod/suphp.conf.erb": "05bb7b3ea23976b032ce405bfd4edd18",
264
+ "templates/mod/userdir.conf.erb": "e5a7a7229dbf0de07bc034dd3d108ea2",
265
+ "templates/mod/worker.conf.erb": "9661e7a59eaefb9f17d4c2680c0d243d",
266
+ "templates/mod/wsgi.conf.erb": "125949c9120aee15303ad755e105d852",
267
+ "templates/namevirtualhost.erb": "fbfca19a639e18e6c477e191344ac8ae",
268
+ "templates/ports_header.erb": "afe35cb5747574b700ebaa0f0b3a626e",
269
+ "templates/vhost/_aliases.erb": "e5e3ba8a9ce994334644bd19ad342d8b",
270
+ "templates/vhost/_block.erb": "7cb56db9254729b54e8d30686c4f3b1a",
271
+ "templates/vhost/_custom_fragment.erb": "67a4475275ec9208e6421b047b9ed7f4",
272
+ "templates/vhost/_directories.erb": "eca2a0abc3a23d1e08b1132baeade372",
273
+ "templates/vhost/_error_document.erb": "81d3007c1301a5c5f244c082cfee9de2",
274
+ "templates/vhost/_fastcgi.erb": "e0a1702445e9be189dabe04b829acd7f",
275
+ "templates/vhost/_itk.erb": "db5b12d7236dbc19b62ce13625d9d60e",
276
+ "templates/vhost/_proxy.erb": "1f9cc42aaafb80a658294fc39cf61395",
277
+ "templates/vhost/_rack.erb": "ebe187c1bdc81eec9c8e0d9026120b18",
278
+ "templates/vhost/_redirect.erb": "0e2eed04e30240fbbd6c4ef7db6b7058",
279
+ "templates/vhost/_requestheader.erb": "db1b0cdda069ae809b5b83b0871ef991",
280
+ "templates/vhost/_rewrite.erb": "dcf423c014bdb222bcf15314a2f3a41f",
281
+ "templates/vhost/_scriptalias.erb": "9c714277eaad73d05d073c1b6c62106a",
282
+ "templates/vhost/_serveralias.erb": "2ef30c2152b9284463588f408f7f371f",
283
+ "templates/vhost/_setenv.erb": "da6778b324857234c8441ef346d08969",
284
+ "templates/vhost/_ssl.erb": "e9fca0c12325af10797b80d827dfddee",
285
+ "templates/vhost/_suphp.erb": "6ea2553a4c4284d41b435fa2f4f4edc7",
286
+ "templates/vhost/_wsgi.erb": "3bbab1e5757dfb584504f05354275f81",
287
+ "templates/vhost.conf.erb": "5dc0337da18ff36184df07343982dc93",
288
+ "tests/apache.pp": "819cf9116ffd349e6757e1926d11ca2f",
289
+ "tests/dev.pp": "4cf15c1fecea3ca86009f182b402c7ab",
290
+ "tests/init.pp": "4eac4a7ef68499854c54a78879e25535",
291
+ "tests/mod_load_params.pp": "5981af4d625a906fce1cedeb3f70cb90",
292
+ "tests/mods.pp": "0085911ba562b7e56ad8d793099c9240",
293
+ "tests/mods_custom.pp": "9afd068edce0538b5c55a3bc19f9c24a",
294
+ "tests/php.pp": "60e7939034d531dd6b95af35338bcbe7",
295
+ "tests/vhost.pp": "164bec943d7d5eee1ad6d6c41fe7c28e",
296
+ "tests/vhost_directories.pp": "b79a3bcf72474ce4e3b75f6a70cbf272",
297
+ "tests/vhost_ip_based.pp": "7d9f7b6976de7488ab6ff0a6e647fc73",
298
+ "tests/vhost_ssl.pp": "9f3716bc15a9a6760f1d6cc3bf8ce8ac",
299
+ "tests/vhosts_without_listen.pp": "a6692104056a56517b4365bcc816e7f4"
300
+ }
301
+ },
302
+ "tags": [
303
+ "apache",
304
+ "web",
305
+ "virtualhost",
306
+ "httpd",
307
+ "centos",
308
+ "rhel",
309
+ "debian",
310
+ "ubuntu",
311
+ "apache2",
312
+ "ssl",
313
+ "passenger",
314
+ "wsgi",
315
+ "proxy",
316
+ "virtual_host"
317
+ ],
318
+ "file_uri": "/v3/files/puppetlabs-apache-0.10.0.tar.gz",
319
+ "file_size": 85004,
320
+ "file_md5": "4036f35903264c9b6e3289455cfee225",
321
+ "downloads": 6389,
322
+ "readme": "<section class=\"markdown\"><h1>apache</h1>\n\n<p><a href=\"https://travis-ci.org/puppetlabs/puppetlabs-apache\"><img src=\"https://travis-ci.org/puppetlabs/puppetlabs-apache.png?branch=master\" alt=\"Build Status\"></a></p>\n\n<h4>Table of Contents</h4>\n\n<ol>\n<li><a href=\"#overview\">Overview - What is the Apache module?</a></li>\n<li><a href=\"#module-description\">Module Description - What does the module do?</a></li>\n<li><a href=\"#setup\">Setup - The basics of getting started with Apache</a>\n\n<ul>\n<li><a href=\"#beginning-with-apache\">Beginning with Apache - Installation</a></li>\n<li><a href=\"#configure-a-virtual-host\">Configure a Virtual Host - Basic options for getting started</a></li>\n</ul></li>\n<li><a href=\"#usage\">Usage - The classes, defined types, and their parameters available for configuration</a>\n\n<ul>\n<li><a href=\"#classes-and-defined-types\">Classes and Defined Types</a>\n\n<ul>\n<li><a href=\"#class-apache\">Class: apache</a></li>\n<li><a href=\"#classes-apachemodname\">Classes: apache::mod::*</a></li>\n<li><a href=\"#defined-type-apachevhost\">Defined Type: apache::vhost</a></li>\n</ul></li>\n<li><a href=\"#virtual-host-examples\">Virtual Host Examples - Demonstrations of some configuration options</a></li>\n</ul></li>\n<li><a href=\"#implementation\">Implementation - An under-the-hood peek at what the module is doing</a>\n\n<ul>\n<li><a href=\"#classes-and-defined-types\">Classes and Defined Types</a></li>\n<li><a href=\"#templates\">Templates</a></li>\n</ul></li>\n<li><a href=\"#limitations\">Limitations - OS compatibility, etc.</a></li>\n<li><a href=\"#development\">Development - Guide for contributing to the module</a></li>\n<li><a href=\"#release-notes\">Release Notes - Notes on the most recent updates to the module</a></li>\n</ol>\n\n<h2>Overview</h2>\n\n<p>The Apache module allows you to set up virtual hosts and manage web services with minimal effort.</p>\n\n<h2>Module Description</h2>\n\n<p>Apache is a widely-used web server, and this module provides a simplified way of creating configurations to manage your infrastructure. This includes the ability to configure and manage a range of different virtual host setups, as well as a streamlined way to install and configure Apache modules.</p>\n\n<h2>Setup</h2>\n\n<p><strong>What Apache affects:</strong></p>\n\n<ul>\n<li>configuration files and directories (created and written to)\n\n<ul>\n<li><strong>NOTE</strong>: Configurations that are <em>not</em> managed by Puppet will be purged.</li>\n</ul></li>\n<li>package/service/configuration files for Apache</li>\n<li>Apache modules</li>\n<li>virtual hosts</li>\n<li>listened-to ports</li>\n<li><code>/etc/make.conf</code> on FreeBSD</li>\n</ul>\n\n<h3>Beginning with Apache</h3>\n\n<p>To install Apache with the default parameters</p>\n\n<pre lang=\"puppet\"><code> class { &#39;apache&#39;: }\n</code></pre>\n\n<p>The defaults are determined by your operating system (e.g. Debian systems have one set of defaults, RedHat systems have another). These defaults will work well in a testing environment, but are not suggested for production. To establish customized parameters</p>\n\n<pre lang=\"puppet\"><code> class { &#39;apache&#39;:\n default_mods =&gt; false,\n default_confd_files =&gt; false,\n }\n</code></pre>\n\n<h3>Configure a virtual host</h3>\n\n<p>Declaring the <code>apache</code> class will create a default virtual host by setting up a vhost on port 80, listening on all interfaces and serving <code>$apache::docroot</code>.</p>\n\n<pre lang=\"puppet\"><code> class { &#39;apache&#39;: }\n</code></pre>\n\n<p>To configure a very basic, name-based virtual host</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;first.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/first&#39;,\n }\n</code></pre>\n\n<p><em>Note:</em> The default priority is 15. If nothing matches this priority, the alphabetically first name-based vhost will be used. This is also true if you pass a higher priority and no names match anything else.</p>\n\n<p>A slightly more complicated example, which moves the docroot owner/group</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;second.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/second&#39;,\n docroot_owner =&gt; &#39;third&#39;,\n docroot_group =&gt; &#39;third&#39;,\n }\n</code></pre>\n\n<p>To set up a virtual host with SSL and default SSL certificates</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;ssl.example.com&#39;:\n port =&gt; &#39;443&#39;,\n docroot =&gt; &#39;/var/www/ssl&#39;,\n ssl =&gt; true,\n }\n</code></pre>\n\n<p>To set up a virtual host with SSL and specific SSL certificates</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;fourth.example.com&#39;:\n port =&gt; &#39;443&#39;,\n docroot =&gt; &#39;/var/www/fourth&#39;,\n ssl =&gt; true,\n ssl_cert =&gt; &#39;/etc/ssl/fourth.example.com.cert&#39;,\n ssl_key =&gt; &#39;/etc/ssl/fourth.example.com.key&#39;,\n }\n</code></pre>\n\n<p>To set up a virtual host with IP address different than &#39;*&#39;</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;subdomain.example.com&#39;:\n ip =&gt; &#39;127.0.0.1&#39;,\n port =&gt; &#39;80&#39;,\n docrout =&gt; &#39;/var/www/subdomain&#39;,\n }\n</code></pre>\n\n<p>To set up a virtual host with wildcard alias for subdomain mapped to same named directory\n<code>http://examle.com.loc =&gt; /var/www/example.com</code></p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;subdomain.loc&#39;:\n vhost_name =&gt; &#39;*&#39;,\n port =&gt; &#39;80&#39;,\n virtual_docroot&#39; =&gt; &#39;/var/www/%-2+&#39;,\n docroot =&gt; &#39;/var/www&#39;,\n serveraliases =&gt; [&#39;*.loc&#39;,],\n }\n</code></pre>\n\n<p>To set up a virtual host with suPHP</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;suphp.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/home/appuser/myphpapp&#39;,\n suphp_addhandler =&gt; &#39;x-httpd-php&#39;,\n suphp_engine =&gt; &#39;on&#39;,\n suphp_configpath =&gt; &#39;/etc/php5/apache2&#39;,\n directories =&gt; { path =&gt; &#39;/home/appuser/myphpapp&#39;,\n &#39;suphp&#39; =&gt; { user =&gt; &#39;myappuser&#39;, group =&gt; &#39;myappgroup&#39; },\n }\n }\n</code></pre>\n\n<p>To set up a virtual host with WSGI</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;wsgi.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/pythonapp&#39;,\n wsgi_daemon_process =&gt; &#39;wsgi&#39;,\n wsgi_daemon_process_options =&gt;\n { processes =&gt; &#39;2&#39;, threads =&gt; &#39;15&#39;, display-name =&gt; &#39;%{GROUP}&#39; },\n wsgi_process_group =&gt; &#39;wsgi&#39;,\n wsgi_script_aliases =&gt; { &#39;/&#39; =&gt; &#39;/var/www/demo.wsgi&#39; },\n }\n</code></pre>\n\n<p>Starting 2.2.16, httpd supports <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_dir.html#fallbackresource\">FallbackResource</a> which is a simple replace for common RewriteRules:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;wordpress.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/wordpress&#39;,\n fallbackresource =&gt; &#39;/index.php&#39;,\n }\n</code></pre>\n\n<p>Please note that the <code>disabled</code> argument to FallbackResource is only supported since 2.2.24.</p>\n\n<p>To see a list of all virtual host parameters, <a href=\"#defined-type-apachevhost\">please go here</a>. To see an extensive list of virtual host examples <a href=\"#virtual-host-examples\">please look here</a>.</p>\n\n<h2>Usage</h2>\n\n<h3>Classes and Defined Types</h3>\n\n<p>This module modifies Apache configuration files and directories and will purge any configuration not managed by Puppet. Configuration of Apache should be managed by Puppet, as non-puppet configuration files can cause unexpected failures.</p>\n\n<p>It is possible to temporarily disable full Puppet management by setting the <code>purge_configs</code> parameter within the base <code>apache</code> class to &#39;false&#39;. This option should only be used as a temporary means of saving and relocating customized configurations.</p>\n\n<h4>Class: <code>apache</code></h4>\n\n<p>The Apache module&#39;s primary class, <code>apache</code>, guides the basic setup of Apache on your system.</p>\n\n<p>You may establish a default vhost in this class, the <code>vhost</code> class, or both. You may add additional vhost configurations for specific virtual hosts using a declaration of the <code>vhost</code> type.</p>\n\n<p><strong>Parameters within <code>apache</code>:</strong></p>\n\n<h5><code>default_mods</code></h5>\n\n<p>Sets up Apache with default settings based on your OS. Defaults to &#39;true&#39;, set to &#39;false&#39; for customized configuration.</p>\n\n<h5><code>default_vhost</code></h5>\n\n<p>Sets up a default virtual host. Defaults to &#39;true&#39;, set to &#39;false&#39; to set up <a href=\"#configure-a-virtual-host\">customized virtual hosts</a>.</p>\n\n<h5><code>default_confd_files</code></h5>\n\n<p>Generates default set of include-able apache configuration files under <code>${apache::confd_dir}</code> directory. These configuration files correspond to what is usually installed with apache package on given platform.</p>\n\n<h5><code>default_ssl_vhost</code></h5>\n\n<p>Sets up a default SSL virtual host. Defaults to &#39;false&#39;.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;default-ssl&#39;:\n port =&gt; 443,\n ssl =&gt; true,\n docroot =&gt; $docroot,\n scriptalias =&gt; $scriptalias,\n serveradmin =&gt; $serveradmin,\n access_log_file =&gt; &quot;ssl_${access_log_file}&quot;,\n }\n</code></pre>\n\n<p>SSL vhosts only respond to HTTPS queries.</p>\n\n<h5><code>default_ssl_cert</code></h5>\n\n<p>The default SSL certification, which is automatically set based on your operating system (<code>/etc/pki/tls/certs/localhost.crt</code> for RedHat, <code>/etc/ssl/certs/ssl-cert-snakeoil.pem</code> for Debian, <code>/usr/local/etc/apache22/server.crt</code> for FreeBSD). This default will work out of the box but must be updated with your specific certificate information before being used in production.</p>\n\n<h5><code>default_ssl_key</code></h5>\n\n<p>The default SSL key, which is automatically set based on your operating system (<code>/etc/pki/tls/private/localhost.key</code> for RedHat, <code>/etc/ssl/private/ssl-cert-snakeoil.key</code> for Debian, <code>/usr/local/etc/apache22/server.key</code> for FreeBSD). This default will work out of the box but must be updated with your specific certificate information before being used in production.</p>\n\n<h5><code>default_ssl_chain</code></h5>\n\n<p>The default SSL chain, which is automatically set to &#39;undef&#39;. This default will work out of the box but must be updated with your specific certificate information before being used in production.</p>\n\n<h5><code>default_ssl_ca</code></h5>\n\n<p>The default certificate authority, which is automatically set to &#39;undef&#39;. This default will work out of the box but must be updated with your specific certificate information before being used in production.</p>\n\n<h5><code>default_ssl_crl_path</code></h5>\n\n<p>The default certificate revocation list path, which is automatically set to &#39;undef&#39;. This default will work out of the box but must be updated with your specific certificate information before being used in production.</p>\n\n<h5><code>default_ssl_crl</code></h5>\n\n<p>The default certificate revocation list to use, which is automatically set to &#39;undef&#39;. This default will work out of the box but must be updated with your specific certificate information before being used in production.</p>\n\n<h5><code>service_name</code></h5>\n\n<p>Name of apache service to run. Defaults to: <code>&#39;httpd&#39;</code> on RedHat, <code>&#39;apache2&#39;</code> on Debian, and <code>&#39;apache22&#39;</code> on FreeBSD.</p>\n\n<h5><code>service_enable</code></h5>\n\n<p>Determines whether the &#39;httpd&#39; service is enabled when the machine is booted. Defaults to &#39;true&#39;.</p>\n\n<h5><code>service_ensure</code></h5>\n\n<p>Determines whether the service should be running. Can be set to &#39;undef&#39; which is useful when you want to let the service be managed by some other application like pacemaker. Defaults to &#39;running&#39;.</p>\n\n<h5><code>purge_configs</code></h5>\n\n<p>Removes all other apache configs and vhosts, which is automatically set to true. Setting this to false is a stopgap measure to allow the apache module to coexist with existing or otherwise managed configuration. It is recommended that you move your configuration entirely to resources within this module.</p>\n\n<h5><code>serveradmin</code></h5>\n\n<p>Sets the server administrator. Defaults to &#39;root@localhost&#39;.</p>\n\n<h5><code>servername</code></h5>\n\n<p>Sets the servername. Defaults to fqdn provided by facter.</p>\n\n<h5><code>server_root</code></h5>\n\n<p>A value to be set as <code>ServerRoot</code> in main configuration file (<code>httpd.conf</code>). Defaults to <code>/etc/httpd</code> on RedHat, <code>/etc/apache2</code> on Debian and <code>/usr/local</code> on FreeBSD.</p>\n\n<h5><code>sendfile</code></h5>\n\n<p>Makes Apache use the Linux kernel &#39;sendfile&#39; to serve static files. Defaults to &#39;On&#39;.</p>\n\n<h5><code>server_root</code></h5>\n\n<p>A value to be set as <code>ServerRoot</code> in main configuration file (<code>httpd.conf</code>). Defaults to <code>/etc/httpd</code> on RedHat and <code>/etc/apache2</code> on Debian.</p>\n\n<h5><code>error_documents</code></h5>\n\n<p>Enables custom error documents. Defaults to &#39;false&#39;.</p>\n\n<h5><code>httpd_dir</code></h5>\n\n<p>Changes the base location of the configuration directories used for the service. This is useful for specially repackaged HTTPD builds but may have unintended consequences when used in combination with the default distribution packages. Default is based on your OS.</p>\n\n<h5><code>confd_dir</code></h5>\n\n<p>Changes the location of the configuration directory your custom configuration files are placed in. Default is based on your OS.</p>\n\n<h5><code>vhost_dir</code></h5>\n\n<p>Changes the location of the configuration directory your virtual host configuration files are placed in. Default is based on your OS.</p>\n\n<h5><code>mod_dir</code></h5>\n\n<p>Changes the location of the configuration directory your Apache modules configuration files are placed in. Default is based on your OS.</p>\n\n<h5><code>mpm_module</code></h5>\n\n<p>Configures which mpm module is loaded and configured for the httpd process by the <code>apache::mod::event</code>, <code>apache::mod::itk</code>, <code>apache::mod::peruser</code>, <code>apache::mod::prefork</code> and <code>apache::mod::worker</code> classes. Must be set to <code>false</code> to explicitly declare <code>apache::mod::event</code>, <code>apache::mod::itk</code>, <code>apache::mod::peruser</code>, <code>apache::mod::prefork</code> or <code>apache::mod::worker</code> classes with parameters. All possible values are <code>event</code>, <code>itk</code>, <code>peruser</code>, <code>prefork</code>, <code>worker</code> (valid values depend on agent&#39;s OS), or the boolean <code>false</code>. Defaults to <code>prefork</code> on RedHat and FreeBSD and <code>worker</code> on Debian. Note: on FreeBSD switching between different mpm modules is quite difficult (but possible). Before changing <code>$mpm_module</code> one has to deinstall all packages that depend on currently installed <code>apache</code>.</p>\n\n<h5><code>conf_template</code></h5>\n\n<p>Setting this allows you to override the template used for the main apache configuration file. This is a potentially risky thing to do as this module has been built around the concept of a minimal configuration file with most of the configuration coming in the form of conf.d/ entries. Defaults to &#39;apache/httpd.conf.erb&#39;.</p>\n\n<h5><code>keepalive</code></h5>\n\n<p>Setting this allows you to enable persistent connections.</p>\n\n<h5><code>keepalive_timeout</code></h5>\n\n<p>Amount of time the server will wait for subsequent requests on a persistent connection. Defaults to &#39;15&#39;.</p>\n\n<h5><code>logroot</code></h5>\n\n<p>Changes the location of the directory Apache log files are placed in. Defaut is based on your OS.</p>\n\n<h5><code>log_level</code></h5>\n\n<p>Changes the verbosity level of the error log. Defaults to &#39;warn&#39;. Valid values are <code>emerg</code>, <code>alert</code>, <code>crit</code>, <code>error</code>, <code>warn</code>, <code>notice</code>, <code>info</code> or <code>debug</code>.</p>\n\n<h5><code>ports_file</code></h5>\n\n<p>Changes the name of the file containing Apache ports configuration. Default is <code>${conf_dir}/ports.conf</code>.</p>\n\n<h5><code>server_tokens</code></h5>\n\n<p>Controls how much information Apache sends to the browser about itself and the operating system. See Apache documentation for &#39;ServerTokens&#39;. Defaults to &#39;OS&#39;.</p>\n\n<h5><code>server_signature</code></h5>\n\n<p>Allows the configuration of a trailing footer line under server-generated documents. See Apache documentation for &#39;ServerSignature&#39;. Defaults to &#39;On&#39;.</p>\n\n<h5><code>trace_enable</code></h5>\n\n<p>Controls, how TRACE requests per RFC 2616 are handled. See Apache documentation for &#39;TraceEnable&#39;. Defaults to &#39;On&#39;.</p>\n\n<h5><code>manage_user</code></h5>\n\n<p>Setting this to false will avoid the user resource to be created by this module. This is useful when you already have a user created in another puppet module and that you want to used it to run apache. Without this, it would result in a duplicate resource error.</p>\n\n<h5><code>manage_group</code></h5>\n\n<p>Setting this to false will avoid the group resource to be created by this module. This is useful when you already have a group created in another puppet module and that you want to used it for apache. Without this, it would result in a duplicate resource error.</p>\n\n<h5><code>package_ensure</code></h5>\n\n<p>Allow control over the package ensure statement. This is useful if you want to make sure apache is always at the latest version or whether it is only installed.</p>\n\n<h4>Class: <code>apache::default_mods</code></h4>\n\n<p>Installs default Apache modules based on what OS you are running</p>\n\n<pre lang=\"puppet\"><code> class { &#39;apache::default_mods&#39;: }\n</code></pre>\n\n<h4>Defined Type: <code>apache::mod</code></h4>\n\n<p>Used to enable arbitrary Apache httpd modules for which there is no specific <code>apache::mod::[name]</code> class. The <code>apache::mod</code> defined type will also install the required packages to enable the module, if any.</p>\n\n<pre lang=\"puppet\"><code> apache::mod { &#39;rewrite&#39;: }\n apache::mod { &#39;ldap&#39;: }\n</code></pre>\n\n<h4>Classes: <code>apache::mod::[name]</code></h4>\n\n<p>There are many <code>apache::mod::[name]</code> classes within this module that can be declared using <code>include</code>:</p>\n\n<ul>\n<li><code>alias</code></li>\n<li><code>auth_basic</code></li>\n<li><code>auth_kerb</code></li>\n<li><code>autoindex</code></li>\n<li><code>cache</code></li>\n<li><code>cgi</code></li>\n<li><code>cgid</code></li>\n<li><code>dav</code></li>\n<li><code>dav_fs</code></li>\n<li><code>dav_svn</code></li>\n<li><code>deflate</code></li>\n<li><code>dev</code></li>\n<li><code>dir</code>*</li>\n<li><code>disk_cache</code></li>\n<li><code>event</code></li>\n<li><code>fastcgi</code></li>\n<li><code>fcgid</code></li>\n<li><code>headers</code></li>\n<li><code>info</code></li>\n<li><code>itk</code></li>\n<li><code>ldap</code></li>\n<li><code>mime</code></li>\n<li><code>mime_magic</code>*</li>\n<li><code>mpm_event</code></li>\n<li><code>negotiation</code></li>\n<li><code>nss</code>*</li>\n<li><code>passenger</code>*</li>\n<li><code>perl</code></li>\n<li><code>peruser</code></li>\n<li><code>php</code> (requires <a href=\"#mpm_module\"><code>mpm_module</code></a> set to <code>prefork</code>)</li>\n<li><code>prefork</code>*</li>\n<li><code>proxy</code>*</li>\n<li><code>proxy_ajp</code></li>\n<li><code>proxy_html</code></li>\n<li><code>proxy_http</code></li>\n<li><code>python</code></li>\n<li><code>reqtimeout</code></li>\n<li><code>rewrite</code></li>\n<li><code>rpaf</code>*</li>\n<li><code>setenvif</code></li>\n<li><code>ssl</code>* (see <a href=\"#class-apachemodssl\">apache::mod::ssl</a> below)</li>\n<li><code>status</code>*</li>\n<li><code>suphp</code></li>\n<li><code>userdir</code>*</li>\n<li><code>vhost_alias</code></li>\n<li><code>worker</code>*</li>\n<li><code>wsgi</code> (see <a href=\"#class-apachemodwsgi\">apache::mod::wsgi</a> below)</li>\n<li><code>xsendfile</code></li>\n</ul>\n\n<p>Modules noted with a * indicate that the module has settings and, thus, a template that includes parameters. These parameters control the module&#39;s configuration. Most of the time, these parameters will not require any configuration or attention.</p>\n\n<p>The modules mentioned above, and other Apache modules that have templates, will cause template files to be dropped along with the mod install, and the module will not work without the template. Any mod without a template will install package but drop no files.</p>\n\n<h4>Class: <code>apache::mod::ssl</code></h4>\n\n<p>Installs Apache SSL capabilities and utilizes <code>ssl.conf.erb</code> template. These are the defaults:</p>\n\n<pre lang=\"puppet\"><code> class { &#39;apache::mod::ssl&#39;:\n ssl_compression =&gt; false,\n ssl_options =&gt; [ &#39;StdEnvVars&#39; ],\n }\n</code></pre>\n\n<p>To <em>use</em> SSL with a virtual host, you must either set the<code>default_ssl_vhost</code> parameter in <code>apache</code> to &#39;true&#39; or set the <code>ssl</code> parameter in <code>apache::vhost</code> to &#39;true&#39;.</p>\n\n<h4>Class: <code>apache::mod::wsgi</code></h4>\n\n<pre lang=\"puppet\"><code> class { &#39;apache::mod::wsgi&#39;:\n wsgi_socket_prefix =&gt; &quot;\\${APACHE_RUN_DIR}WSGI&quot;,\n wsgi_python_home =&gt; &#39;/path/to/virtenv&#39;,\n wsgi_python_path =&gt; &#39;/path/to/virtenv/site-packages&#39;,\n }\n</code></pre>\n\n<h4>Defined Type: <code>apache::vhost</code></h4>\n\n<p>The Apache module allows a lot of flexibility in the set up and configuration of virtual hosts. This flexibility is due, in part, to <code>vhost</code>&#39;s setup as a defined resource type, which allows it to be evaluated multiple times with different parameters.</p>\n\n<p>The <code>vhost</code> defined type allows you to have specialized configurations for virtual hosts that have requirements outside of the defaults. You can set up a default vhost within the base <code>apache</code> class as well as set a customized vhost setup as default. Your customized vhost (priority 10) will be privileged over the base class vhost (15).</p>\n\n<p>If you have a series of specific configurations and do not want a base <code>apache</code> class default vhost, make sure to set the base class default host to &#39;false&#39;.</p>\n\n<pre lang=\"puppet\"><code> class { &#39;apache&#39;:\n default_vhost =&gt; false,\n }\n</code></pre>\n\n<p><strong>Parameters within <code>apache::vhost</code>:</strong></p>\n\n<p>The default values for each parameter will vary based on operating system and type of virtual host.</p>\n\n<h5><code>access_log</code></h5>\n\n<p>Specifies whether <code>*_access.log</code> directives should be configured. Valid values are &#39;true&#39; and &#39;false&#39;. Defaults to &#39;true&#39;.</p>\n\n<h5><code>access_log_file</code></h5>\n\n<p>Points to the <code>*_access.log</code> file. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>access_log_pipe</code></h5>\n\n<p>Specifies a pipe to send access log messages to. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>access_log_syslog</code></h5>\n\n<p>Sends all access log messages to syslog. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>access_log_format</code></h5>\n\n<p>Specifies either a LogFormat nickname or custom format string for access log. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>add_listen</code></h5>\n\n<p>Determines whether the vhost creates a listen statement. The default value is &#39;true&#39;.</p>\n\n<p>Setting <code>add_listen</code> to &#39;false&#39; stops the vhost from creating a listen statement, and this is important when you combine vhosts that are not passed an <code>ip</code> parameter with vhosts that <em>are</em> passed the <code>ip</code> parameter.</p>\n\n<h5><code>aliases</code></h5>\n\n<p>Passes a list of hashes to the vhost to create <code>Alias</code> or <code>AliasMatch</code> statements as per the <a href=\"http://httpd.apache.org/docs/current/mod/mod_alias.html\"><code>mod_alias</code> documentation</a>. Each hash is expected to be of the form:</p>\n\n<pre><code>aliases =&gt; [\n { aliasmatch =&gt; &#39;^/image/(.*)\\.jpg$&#39;, path =&gt; &#39;/files/jpg.images/$1.jpg&#39; }\n { alias =&gt; &#39;/image&#39;, path =&gt; &#39;/ftp/pub/image&#39; },\n],\n</code></pre>\n\n<p>For <code>Alias</code> and <code>AliasMatch</code> to work, each will need a corresponding <code>&lt;Directory /path/to/directory&gt;</code> or <code>&lt;Location /path/to/directory&gt;</code> block. The <code>Alias</code> and <code>AliasMatch</code> directives are created in the order specified in the <code>aliases</code> paramter. As described in the <a href=\"http://httpd.apache.org/docs/current/mod/mod_alias.html\"><code>mod_alias</code> documentation</a> more specific <code>Alias</code> or <code>AliasMatch</code> directives should come before the more general ones to avoid shadowing.</p>\n\n<p><strong>Note:</strong> If <code>apache::mod::passenger</code> is loaded and <code>PassengerHighPerformance true</code> is set, then <code>Alias</code> may have issues honouring the <code>PassengerEnabled off</code> statement. See <a href=\"http://www.conandalton.net/2010/06/passengerenabled-off-not-working.html\">this article</a> for details.</p>\n\n<h5><code>block</code></h5>\n\n<p>Specifies the list of things Apache will block access to. The default is an empty set, &#39;[]&#39;. Currently, the only option is &#39;scm&#39;, which blocks web access to .svn, .git and .bzr directories. To add to this, please see the <a href=\"#development\">Development</a> section.</p>\n\n<h5><code>custom_fragment</code></h5>\n\n<p>Pass a string of custom configuration directives to be placed at the end of the vhost configuration.</p>\n\n<h5><code>default_vhost</code></h5>\n\n<p>Sets a given <code>apache::vhost</code> as the default to serve requests that do not match any other <code>apache::vhost</code> definitions. The default value is &#39;false&#39;.</p>\n\n<h5><code>directories</code></h5>\n\n<p>Passes a list of hashes to the vhost to create <code>&lt;Directory /path/to/directory&gt;...&lt;/Directory&gt;</code> directive blocks as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/core.html#directory\">Apache core documentation</a>. The <code>path</code> key is required in these hashes. An optional <code>provider</code> defaults to <code>directory</code>. Usage will typically look like:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [\n { path =&gt; &#39;/path/to/directory&#39;, &lt;directive&gt; =&gt; &lt;value&gt; },\n { path =&gt; &#39;/path/to/another/directory&#39;, &lt;directive&gt; =&gt; &lt;value&gt; },\n ],\n }\n</code></pre>\n\n<p><em>Note:</em> At least one directory should match <code>docroot</code> parameter, once you start declaring directories <code>apache::vhost</code> assumes that all required <code>&lt;Directory&gt;</code> blocks will be declared.</p>\n\n<p><em>Note:</em> If not defined a single default <code>&lt;Directory&gt;</code> block will be created that matches the <code>docroot</code> parameter.</p>\n\n<p><code>provider</code> can be set to any of <code>directory</code>, <code>files</code>, or <code>location</code>. If the <a href=\"https://httpd.apache.org/docs/2.2/mod/core.html#files\">pathspec starts with a <code>~</code></a>, httpd will interpret this as the equivalent of <code>DirectoryMatch</code>, <code>FilesMatch</code>, or <code>LocationMatch</code>, respectively.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;files.example.net&#39;:\n docroot =&gt; &#39;/var/www/files&#39;,\n directories =&gt; [\n { path =&gt; &#39;~ (\\.swp|\\.bak|~)$&#39;, &#39;provider&#39; =&gt; &#39;files&#39;, &#39;deny&#39; =&gt; &#39;from all&#39; },\n ],\n }\n</code></pre>\n\n<p>The directives will be embedded within the <code>Directory</code> (<code>Files</code>, or <code>Location</code>) directive block, missing directives should be undefined and not be added, resulting in their default vaules in Apache. Currently this is the list of supported directives:</p>\n\n<h6><code>addhandlers</code></h6>\n\n<p>Sets <code>AddHandler</code> directives as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addhandler\">Apache Core documentation</a>. Accepts a list of hashes of the form <code>{ handler =&gt; &#39;handler-name&#39;, extensions =&gt; [&#39;extension&#39;]}</code>. Note that <code>extensions</code> is a list of extenstions being handled by the handler.\nAn example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;,\n addhandlers =&gt; [ { handler =&gt; &#39;cgi-script&#39;, extensions =&gt; [&#39;.cgi&#39;]} ],\n } ],\n }\n</code></pre>\n\n<h6><code>allow</code></h6>\n\n<p>Sets an <code>Allow</code> directive as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow\">Apache Core documentation</a>. An example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;, allow =&gt; &#39;from example.org&#39; } ],\n }\n</code></pre>\n\n<h6><code>allow_override</code></h6>\n\n<p>Sets the usage of <code>.htaccess</code> files as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride\">Apache core documentation</a>. Should accept in the form of a list or a string. An example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;, allow_override =&gt; [&#39;AuthConfig&#39;, &#39;Indexes&#39;] } ],\n }\n</code></pre>\n\n<h6><code>deny</code></h6>\n\n<p>Sets an <code>Deny</code> directive as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#deny\">Apache Core documentation</a>. An example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;, deny =&gt; &#39;from example.org&#39; } ],\n }\n</code></pre>\n\n<h6><code>error_documents</code></h6>\n\n<p>A list of hashes which can be used to override the <a href=\"https://httpd.apache.org/docs/2.2/mod/core.html#errordocument\">ErrorDocument</a> settings for this directory. Example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n directories =&gt; [ { path =&gt; &#39;/srv/www&#39;\n error_documents =&gt; [\n { &#39;error_code&#39; =&gt; &#39;503&#39;, &#39;document&#39; =&gt; &#39;/service-unavail&#39; },\n ],\n }]\n }\n</code></pre>\n\n<h6><code>headers</code></h6>\n\n<p>Adds lines for <code>Header</code> directives as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_headers.html#header\">Apache Header documentation</a>. An example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; {\n path =&gt; &#39;/path/to/directory&#39;,\n headers =&gt; &#39;Set X-Robots-Tag &quot;noindex, noarchive, nosnippet&quot;&#39;,\n },\n }\n</code></pre>\n\n<h6><code>options</code></h6>\n\n<p>Lists the options for the given <code>&lt;Directory&gt;</code> block</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;, options =&gt; [&#39;Indexes&#39;,&#39;FollowSymLinks&#39;,&#39;MultiViews&#39;] }],\n }\n</code></pre>\n\n<h6><code>index_options</code></h6>\n\n<p>Styles the list</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;, options =&gt; [&#39;Indexes&#39;,&#39;FollowSymLinks&#39;,&#39;MultiViews&#39;], index_options =&gt; [&#39;IgnoreCase&#39;, &#39;FancyIndexing&#39;, &#39;FoldersFirst&#39;, &#39;NameWidth=*&#39;, &#39;DescriptionWidth=*&#39;, &#39;SuppressHTMLPreamble&#39;] }],\n }\n</code></pre>\n\n<h6><code>index_order_default</code></h6>\n\n<p>Sets the order of the list </p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;, order =&gt; &#39;Allow,Deny&#39;, index_order_default =&gt; [&#39;Descending&#39;, &#39;Date&#39;]}, ],\n }\n</code></pre>\n\n<h6><code>order</code></h6>\n\n<p>Sets the order of processing <code>Allow</code> and <code>Deny</code> statements as per <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order\">Apache core documentation</a>. An example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;, order =&gt; &#39;Allow,Deny&#39; } ],\n }\n</code></pre>\n\n<h6><code>auth_type</code></h6>\n\n<p>Sets the value for <code>AuthType</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/core.html#authtype\">Apache AuthType\ndocumentation</a>.</p>\n\n<h6><code>auth_name</code></h6>\n\n<p>Sets the value for <code>AuthName</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/core.html#authname\">Apache AuthName\ndocumentation</a>.</p>\n\n<h6><code>auth_digest_algorithm</code></h6>\n\n<p>Sets the value for <code>AuthDigestAlgorithm</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#authdigestalgorithm\">Apache\nAuthDigestAlgorithm\ndocumentation</a></p>\n\n<h6><code>auth_digest_domain</code></h6>\n\n<p>Sets the value for <code>AuthDigestDomain</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#authdigestdomain\">Apache AuthDigestDomain\ndocumentation</a>.</p>\n\n<h6><code>auth_digest_nonce_lifetime</code></h6>\n\n<p>Sets the value for <code>AuthDigestNonceLifetime</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#authdigestnoncelifetime\">Apache\nAuthDigestNonceLifetime\ndocumentation</a></p>\n\n<h6><code>auth_digest_provider</code></h6>\n\n<p>Sets the value for <code>AuthDigestProvider</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#authdigestprovider\">Apache AuthDigestProvider\ndocumentation</a>.</p>\n\n<h6><code>auth_digest_qop</code></h6>\n\n<p>Sets the value for <code>AuthDigestQop</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#authdigestqop\">Apache AuthDigestQop\ndocumentation</a>.</p>\n\n<h6><code>auth_digest_shmem_size</code></h6>\n\n<p>Sets the value for <code>AuthAuthDigestShmemSize</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#authdigestshmemsize\">Apache AuthDigestShmemSize\ndocumentation</a>.</p>\n\n<h6><code>auth_basic_authoritative</code></h6>\n\n<p>Sets the value for <code>AuthBasicAuthoritative</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html#authbasicauthoritative\">Apache\nAuthBasicAuthoritative\ndocumentation</a>.</p>\n\n<h6><code>auth_basic_fake</code></h6>\n\n<p>Sets the value for <code>AuthBasicFake</code> as per the <a href=\"https://httpd.apache.org/docs/trunk/mod/mod_auth_basic.html#authbasicfake\">Apache AuthBasicFake\ndocumentation</a>.</p>\n\n<h6><code>auth_basic_provider</code></h6>\n\n<p>Sets the value for <code>AuthBasicProvider</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html#authbasicprovider\">Apache AuthBasicProvider\ndocumentation</a>.</p>\n\n<h6><code>auth_user_file</code></h6>\n\n<p>Sets the value for <code>AuthUserFile</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_authn_file.html#authuserfile\">Apache AuthUserFile\ndocumentation</a>.</p>\n\n<h6><code>auth_require</code></h6>\n\n<p>Sets the value for <code>AuthName</code> as per the <a href=\"https://httpd.apache.org/docs/2.2/mod/core.html#require\">Apache Require\ndocumentation</a></p>\n\n<h6><code>passenger_enabled</code></h6>\n\n<p>Sets the value for the <code>PassengerEnabled</code> directory to <code>on</code> or <code>off</code> as per the <a href=\"http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerEnabled\">Passenger documentation</a>.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [ { path =&gt; &#39;/path/to/directory&#39;, passenger_enabled =&gt; &#39;off&#39; } ],\n }\n</code></pre>\n\n<p><strong>Note:</strong> This directive requires <code>apache::mod::passenger</code> to be active, Apache may not start with an unrecognised directive without it.</p>\n\n<p><strong>Note:</strong> Be aware that there is an <a href=\"http://www.conandalton.net/2010/06/passengerenabled-off-not-working.html\">issue</a> using the <code>PassengerEnabled</code> directive with the <code>PassengerHighPerformance</code> directive.</p>\n\n<h6><code>ssl_options</code></h6>\n\n<p>String or list of <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_ssl.html#ssloptions\"><code>SSLOptions</code></a> for the given <code>&lt;Directory&gt;</code> block. This overrides, or refines the <a href=\"https://httpd.apache.org/docs/2.2/mod/mod_ssl.html#ssloptions\"><code>SSLOptions</code></a> of the parent block (either vhost, or server).</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;secure.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [\n { path =&gt; &#39;/path/to/directory&#39;, ssl_options =&gt; &#39;+ExportCertData&#39; }\n { path =&gt; &#39;/path/to/different/dir&#39;, ssl_options =&gt; [ &#39;-StdEnvVars&#39;, &#39;+ExportCertData&#39;] },\n ],\n }\n</code></pre>\n\n<h6><code>suphp</code></h6>\n\n<p>An array containing two values: User and group for the <a href=\"http://www.suphp.org/DocumentationView.html?file=apache/CONFIG\">suPHP_UserGroup</a> setting.\nThis directive must be used with <code>suphp_engine =&gt; on</code> in the vhost declaration. This directive only works in <code>&lt;Directory&gt;</code> or <code>&lt;Location&gt;</code>.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;secure.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n directories =&gt; [\n { path =&gt; &#39;/path/to/directory&#39;, suphp =&gt; { user =&gt; &#39;myappuser&#39;, group =&gt; &#39;myappgroup&#39; }\n ],\n }\n</code></pre>\n\n<h6><code>custom_fragment</code></h6>\n\n<p>Pass a string of custom configuration directives to be placed at the end of the\ndirectory configuration.</p>\n\n<h5><code>directoryindex</code></h5>\n\n<p>Set a DirectoryIndex directive, to set the list of resources to look for, when the client requests an index of the directory by specifying a / at the end of the directory name..</p>\n\n<h5><code>docroot</code></h5>\n\n<p>Provides the DocumentRoot directive, identifying the directory Apache serves files from.</p>\n\n<h5><code>docroot_group</code></h5>\n\n<p>Sets group access to the docroot directory. Defaults to &#39;root&#39;.</p>\n\n<h5><code>docroot_owner</code></h5>\n\n<p>Sets individual user access to the docroot directory. Defaults to &#39;root&#39;.</p>\n\n<h5><code>error_log</code></h5>\n\n<p>Specifies whether <code>*_error.log</code> directives should be configured. Defaults to &#39;true&#39;.</p>\n\n<h5><code>error_log_file</code></h5>\n\n<p>Points to the <code>*_error.log</code> file. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>error_log_pipe</code></h5>\n\n<p>Specifies a pipe to send error log messages to. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>error_log_syslog</code></h5>\n\n<p>Sends all error log messages to syslog. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>error_documents</code></h5>\n\n<p>A list of hashes which can be used to override the <a href=\"https://httpd.apache.org/docs/2.2/mod/core.html#errordocument\">ErrorDocument</a> settings for this vhost. Defaults to <code>[]</code>. Example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n error_documents =&gt; [\n { &#39;error_code&#39; =&gt; &#39;503&#39;, &#39;document&#39; =&gt; &#39;/service-unavail&#39; },\n { &#39;error_code&#39; =&gt; &#39;407&#39;, &#39;document&#39; =&gt; &#39;https://example.com/proxy/login&#39; },\n ],\n }\n</code></pre>\n\n<h5><code>ensure</code></h5>\n\n<p>Specifies if the vhost file is present or absent.</p>\n\n<h5><code>fastcgi_server</code></h5>\n\n<p>Specifies the filename as an external FastCGI application. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>fastcgi_socket</code></h5>\n\n<p>Filename used to communicate with the web server. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>fastcgi_dir</code></h5>\n\n<p>Directory to enable for FastCGI. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>additional_includes</code></h5>\n\n<p>Specifies paths to additional static vhost-specific Apache configuration files.\nThis option is useful when you need to implement a unique and/or custom\nconfiguration not supported by this module.</p>\n\n<h5><code>ip</code></h5>\n\n<p>The IP address the vhost listens on. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>ip_based</code></h5>\n\n<p>Enables an IP-based vhost. This parameter inhibits the creation of a NameVirtualHost directive, since those are used to funnel requests to name-based vhosts. Defaults to &#39;false&#39;.</p>\n\n<h5><code>logroot</code></h5>\n\n<p>Specifies the location of the virtual host&#39;s logfiles. Defaults to <code>/var/log/&lt;apache log location&gt;/</code>.</p>\n\n<h5><code>log_level</code></h5>\n\n<p>Specifies the verbosity level of the error log. Defaults to <code>warn</code> for the global server configuration and can be overridden on a per-vhost basis using this parameter. Valid value for <code>log_level</code> is one of <code>emerg</code>, <code>alert</code>, <code>crit</code>, <code>error</code>, <code>warn</code>, <code>notice</code>, <code>info</code> or <code>debug</code>.</p>\n\n<h5><code>no_proxy_uris</code></h5>\n\n<p>Specifies URLs you do not want to proxy. This parameter is meant to be used in combination with <code>proxy_dest</code>.</p>\n\n<h5><code>options</code></h5>\n\n<p>Lists the options for the given virtual host</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;site.name.fdqn&#39;:\n …\n options =&gt; [&#39;Indexes&#39;,&#39;FollowSymLinks&#39;,&#39;MultiViews&#39;],\n }\n</code></pre>\n\n<h5><code>override</code></h5>\n\n<p>Sets the overrides for the given virtual host. Accepts an array of AllowOverride arguments.</p>\n\n<h5><code>port</code></h5>\n\n<p>Sets the port the host is configured on.</p>\n\n<h5><code>priority</code></h5>\n\n<p>Sets the relative load-order for Apache httpd VirtualHost configuration files. Defaults to &#39;25&#39;.</p>\n\n<p>If nothing matches the priority, the first name-based vhost will be used. Likewise, passing a higher priority will cause the alphabetically first name-based vhost to be used if no other names match.</p>\n\n<p><em>Note</em>: You should not need to use this parameter. However, if you do use it, be aware that the <code>default_vhost</code> parameter for <code>apache::vhost</code> passes a priority of &#39;15&#39;.</p>\n\n<h5><code>proxy_dest</code></h5>\n\n<p>Specifies the destination address of a proxypass configuration. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>proxy_pass</code></h5>\n\n<p>Specifies an array of path =&gt; uri for a proxypass configuration. Defaults to &#39;undef&#39;.</p>\n\n<p>Example:</p>\n\n<pre lang=\"puppet\"><code>$proxy_pass = [\n { &#39;path&#39; =&gt; &#39;/a&#39;, &#39;url&#39; =&gt; &#39;http://backend-a/&#39; },\n { &#39;path&#39; =&gt; &#39;/b&#39;, &#39;url&#39; =&gt; &#39;http://backend-b/&#39; },\n { &#39;path&#39; =&gt; &#39;/c&#39;, &#39;url&#39; =&gt; &#39;http://backend-a/c&#39; }\n]\n\napache::vhost { &#39;site.name.fdqn&#39;:\n …\n proxy_pass =&gt; $proxy_pass,\n}\n</code></pre>\n\n<h5><code>rack_base_uris</code></h5>\n\n<p>Specifies the resource identifiers for a rack configuration. The file paths specified will be listed as rack application roots for passenger/rack in the <code>_rack.erb</code> template. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>redirect_dest</code></h5>\n\n<p>Specifies the address to redirect to. Defaults to &#39;undef&#39;.</p>\n\n<h5><code>redirect_source</code></h5>\n\n<p>Specifies the source items? that will redirect to the destination specified in <code>redirect_dest</code>. If more than one item for redirect is supplied, the source and destination must be the same length, and the items are order-dependent.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;site.name.fdqn&#39;:\n …\n redirect_source =&gt; [&#39;/images&#39;,&#39;/downloads&#39;],\n redirect_dest =&gt; [&#39;http://img.example.com/&#39;,&#39;http://downloads.example.com/&#39;],\n }\n</code></pre>\n\n<h5><code>redirect_status</code></h5>\n\n<p>Specifies the status to append to the redirect. Defaults to &#39;undef&#39;.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;site.name.fdqn&#39;:\n …\n redirect_status =&gt; [&#39;temp&#39;,&#39;permanent&#39;],\n }\n</code></pre>\n\n<h5><code>request_headers</code></h5>\n\n<p>Specifies additional request headers.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;site.name.fdqn&#39;:\n …\n request_headers =&gt; [\n &#39;append MirrorID &quot;mirror 12&quot;&#39;,\n &#39;unset MirrorID&#39;,\n ],\n }\n</code></pre>\n\n<h5><code>rewrite_base</code></h5>\n\n<p>Limits the <code>rewrite_rule</code> to the specified base URL. Defaults to &#39;undef&#39;.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;site.name.fdqn&#39;:\n …\n rewrite_rule =&gt; &#39;^index\\.html$ welcome.html&#39;,\n rewrite_base =&gt; &#39;/blog/&#39;,\n }\n</code></pre>\n\n<p>The above example would limit the index.html -&gt; welcome.html rewrite to only something inside of <a href=\"http://example.com/blog/\">http://example.com/blog/</a>.</p>\n\n<h5><code>rewrite_cond</code></h5>\n\n<p>Rewrites a URL via <code>rewrite_rule</code> based on the truth of specified conditions. For example</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;site.name.fdqn&#39;:\n …\n rewrite_cond =&gt; &#39;%{HTTP_USER_AGENT} ^MSIE&#39;,\n }\n</code></pre>\n\n<p>will rewrite URLs only if the visitor is using IE. Defaults to &#39;undef&#39;.</p>\n\n<p><em>Note</em>: At the moment, each vhost is limited to a single list of rewrite conditions. In the future, you will be able to specify multiple <code>rewrite_cond</code> and <code>rewrite_rules</code> per vhost, so that different conditions get different rewrites.</p>\n\n<h5><code>rewrite_rule</code></h5>\n\n<p>Creates URL rewrite rules. Defaults to &#39;undef&#39;. This parameter allows you to specify, for example, that anyone trying to access index.html will be served welcome.html.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;site.name.fdqn&#39;:\n …\n rewrite_rule =&gt; &#39;^index\\.html$ welcome.html&#39;,\n }\n</code></pre>\n\n<h5><code>scriptalias</code></h5>\n\n<p>Defines a directory of CGI scripts to be aliased to the path &#39;/cgi-bin&#39;</p>\n\n<h5><code>scriptaliases</code></h5>\n\n<p>Passes a list of hashes to the vhost to create <code>ScriptAlias</code> or <code>ScriptAliasMatch</code> statements as per the <a href=\"http://httpd.apache.org/docs/current/mod/mod_alias.html\"><code>mod_alias</code> documentation</a>. Each hash is expected to be of the form:</p>\n\n<pre lang=\"puppet\"><code> scriptaliases =&gt; [\n {\n alias =&gt; &#39;/myscript&#39;,\n path =&gt; &#39;/usr/share/myscript&#39;,\n },\n {\n aliasmatch =&gt; &#39;^/foo(.*)&#39;,\n path =&gt; &#39;/usr/share/fooscripts$1&#39;,\n },\n {\n aliasmatch =&gt; &#39;^/bar/(.*)&#39;,\n path =&gt; &#39;/usr/share/bar/wrapper.sh/$1&#39;,\n },\n {\n alias =&gt; &#39;/neatscript&#39;,\n path =&gt; &#39;/usr/share/neatscript&#39;,\n },\n ]\n</code></pre>\n\n<p>These directives are created in the order specified. As with <code>Alias</code> and <code>AliasMatch</code> directives the more specific aliases should come before the more general ones to avoid shadowing.</p>\n\n<h5><code>serveradmin</code></h5>\n\n<p>Specifies the email address Apache will display when it renders one of its error pages.</p>\n\n<h5><code>serveraliases</code></h5>\n\n<p>Sets the server aliases of the site.</p>\n\n<h5><code>servername</code></h5>\n\n<p>Sets the primary name of the virtual host.</p>\n\n<h5><code>setenv</code></h5>\n\n<p>Used by HTTPD to set environment variables for vhosts. Defaults to &#39;[]&#39;.</p>\n\n<h5><code>setenvif</code></h5>\n\n<p>Used by HTTPD to conditionally set environment variables for vhosts. Defaults to &#39;[]&#39;.</p>\n\n<h5><code>ssl</code></h5>\n\n<p>Enables SSL for the virtual host. SSL vhosts only respond to HTTPS queries. Valid values are &#39;true&#39; or &#39;false&#39;.</p>\n\n<h5><code>ssl_ca</code></h5>\n\n<p>Specifies the certificate authority.</p>\n\n<h5><code>ssl_cert</code></h5>\n\n<p>Specifies the SSL certification.</p>\n\n<h5><code>ssl_protocol</code></h5>\n\n<p>Specifies the SSL Protocol (SSLProtocol).</p>\n\n<h5><code>ssl_cipher</code></h5>\n\n<p>Specifies the SSLCipherSuite.</p>\n\n<h5><code>ssl_honorcipherorder</code></h5>\n\n<p>Sets SSLHonorCipherOrder directive, used to prefer the server&#39;s cipher preference order</p>\n\n<h5><code>ssl_certs_dir</code></h5>\n\n<p>Specifies the location of the SSL certification directory. Defaults to <code>/etc/ssl/certs</code> on Debian and <code>/etc/pki/tls/certs</code> on RedHat.</p>\n\n<h5><code>ssl_chain</code></h5>\n\n<p>Specifies the SSL chain.</p>\n\n<h5><code>ssl_crl</code></h5>\n\n<p>Specifies the certificate revocation list to use.</p>\n\n<h5><code>ssl_crl_path</code></h5>\n\n<p>Specifies the location of the certificate revocation list.</p>\n\n<h5><code>ssl_key</code></h5>\n\n<p>Specifies the SSL key.</p>\n\n<h5><code>ssl_verify_client</code></h5>\n\n<p>Sets <code>SSLVerifyClient</code> directives as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslverifyclient\">Apache Core documentation</a>. Defaults to undef.\nAn example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n …\n ssl_verify_client =&gt; &#39;optional&#39;,\n }\n</code></pre>\n\n<h5><code>ssl_verify_depth</code></h5>\n\n<p>Sets <code>SSLVerifyDepth</code> directives as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslverifydepth\">Apache Core documentation</a>. Defaults to undef.\nAn example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n …\n ssl_verify_depth =&gt; 1,\n }\n</code></pre>\n\n<h5><code>ssl_options</code></h5>\n\n<p>Sets <code>SSLOptions</code> directives as per the <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#ssloptions\">Apache Core documentation</a>. This is the global setting for the vhost and can be a string or an array. Defaults to undef. A single string example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n …\n ssl_options =&gt; &#39;+ExportCertData&#39;,\n }\n</code></pre>\n\n<p>An array of strings example:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n …\n ssl_options =&gt; [ &#39;+StrictRequire&#39;, &#39;+ExportCertData&#39; ],\n }\n</code></pre>\n\n<h5><code>ssl_proxyengine</code></h5>\n\n<p>Specifies whether to use <code>SSLProxyEngine</code> or not. Defaults to <code>false</code>.</p>\n\n<h5><code>vhost_name</code></h5>\n\n<p>This parameter is for use with name-based virtual hosting. Defaults to &#39;*&#39;.</p>\n\n<h5><code>itk</code></h5>\n\n<p>Hash containing infos to configure itk as per the <a href=\"http://mpm-itk.sesse.net/\">ITK documentation</a>.</p>\n\n<p>Keys could be:</p>\n\n<ul>\n<li>user + group</li>\n<li>assignuseridexpr</li>\n<li>assigngroupidexpr</li>\n<li>maxclientvhost</li>\n<li>nice</li>\n<li>limituidrange (Linux 3.5.0 or newer)</li>\n<li>limitgidrange (Linux 3.5.0 or newer)</li>\n</ul>\n\n<p>Usage will typically look like:</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sample.example.net&#39;:\n docroot =&gt; &#39;/path/to/directory&#39;,\n itk =&gt; {\n user =&gt; &#39;someuser&#39;,\n group =&gt; &#39;somegroup&#39;,\n },\n }\n</code></pre>\n\n<h3>Virtual Host Examples</h3>\n\n<p>The Apache module allows you to set up pretty much any configuration of virtual host you might desire. This section will address some common configurations. Please see the <a href=\"https://github.com/puppetlabs/puppetlabs-apache/tree/master/tests\">Tests section</a> for even more examples.</p>\n\n<p>Configure a vhost with a server administrator</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;third.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/third&#39;,\n serveradmin =&gt; &#39;admin@example.com&#39;,\n }\n</code></pre>\n\n<hr>\n\n<p>Set up a vhost with aliased servers</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sixth.example.com&#39;:\n serveraliases =&gt; [\n &#39;sixth.example.org&#39;,\n &#39;sixth.example.net&#39;,\n ],\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/fifth&#39;,\n }\n</code></pre>\n\n<hr>\n\n<p>Configure a vhost with a cgi-bin</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;eleventh.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/eleventh&#39;,\n scriptalias =&gt; &#39;/usr/lib/cgi-bin&#39;,\n }\n</code></pre>\n\n<hr>\n\n<p>Set up a vhost with a rack configuration</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;fifteenth.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/fifteenth&#39;,\n rack_base_uris =&gt; [&#39;/rackapp1&#39;, &#39;/rackapp2&#39;],\n }\n</code></pre>\n\n<hr>\n\n<p>Set up a mix of SSL and non-SSL vhosts at the same domain</p>\n\n<pre lang=\"puppet\"><code> #The non-ssl vhost\n apache::vhost { &#39;first.example.com non-ssl&#39;:\n servername =&gt; &#39;first.example.com&#39;,\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/first&#39;,\n }\n\n #The SSL vhost at the same domain\n apache::vhost { &#39;first.example.com ssl&#39;:\n servername =&gt; &#39;first.example.com&#39;,\n port =&gt; &#39;443&#39;,\n docroot =&gt; &#39;/var/www/first&#39;,\n ssl =&gt; true,\n }\n</code></pre>\n\n<hr>\n\n<p>Configure a vhost to redirect non-SSL connections to SSL</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;sixteenth.example.com non-ssl&#39;:\n servername =&gt; &#39;sixteenth.example.com&#39;,\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/sixteenth&#39;,\n redirect_status =&gt; &#39;permanent&#39;\n redirect_dest =&gt; &#39;https://sixteenth.example.com/&#39;\n }\n apache::vhost { &#39;sixteenth.example.com ssl&#39;:\n servername =&gt; &#39;sixteenth.example.com&#39;,\n port =&gt; &#39;443&#39;,\n docroot =&gt; &#39;/var/www/sixteenth&#39;,\n ssl =&gt; true,\n }\n</code></pre>\n\n<hr>\n\n<p>Set up IP-based vhosts on any listen port and have them respond to requests on specific IP addresses. In this example, we will set listening on ports 80 and 81. This is required because the example vhosts are not declared with a port parameter.</p>\n\n<pre lang=\"puppet\"><code> apache::listen { &#39;80&#39;: }\n apache::listen { &#39;81&#39;: }\n</code></pre>\n\n<p>Then we will set up the IP-based vhosts</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;first.example.com&#39;:\n ip =&gt; &#39;10.0.0.10&#39;,\n docroot =&gt; &#39;/var/www/first&#39;,\n ip_based =&gt; true,\n }\n apache::vhost { &#39;second.example.com&#39;:\n ip =&gt; &#39;10.0.0.11&#39;,\n docroot =&gt; &#39;/var/www/second&#39;,\n ip_based =&gt; true,\n }\n</code></pre>\n\n<hr>\n\n<p>Configure a mix of name-based and IP-based vhosts. First, we will add two IP-based vhosts on 10.0.0.10, one SSL and one non-SSL</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;The first IP-based vhost, non-ssl&#39;:\n servername =&gt; &#39;first.example.com&#39;,\n ip =&gt; &#39;10.0.0.10&#39;,\n port =&gt; &#39;80&#39;,\n ip_based =&gt; true,\n docroot =&gt; &#39;/var/www/first&#39;,\n }\n apache::vhost { &#39;The first IP-based vhost, ssl&#39;:\n servername =&gt; &#39;first.example.com&#39;,\n ip =&gt; &#39;10.0.0.10&#39;,\n port =&gt; &#39;443&#39;,\n ip_based =&gt; true,\n docroot =&gt; &#39;/var/www/first-ssl&#39;,\n ssl =&gt; true,\n }\n</code></pre>\n\n<p>Then, we will add two name-based vhosts listening on 10.0.0.20</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;second.example.com&#39;:\n ip =&gt; &#39;10.0.0.20&#39;,\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/second&#39;,\n }\n apache::vhost { &#39;third.example.com&#39;:\n ip =&gt; &#39;10.0.0.20&#39;,\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/third&#39;,\n }\n</code></pre>\n\n<p>If you want to add two name-based vhosts so that they will answer on either 10.0.0.10 or 10.0.0.20, you <strong>MUST</strong> declare <code>add_listen =&gt; &#39;false&#39;</code> to disable the otherwise automatic &#39;Listen 80&#39;, as it will conflict with the preceding IP-based vhosts.</p>\n\n<pre lang=\"puppet\"><code> apache::vhost { &#39;fourth.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/fourth&#39;,\n add_listen =&gt; false,\n }\n apache::vhost { &#39;fifth.example.com&#39;:\n port =&gt; &#39;80&#39;,\n docroot =&gt; &#39;/var/www/fifth&#39;,\n add_listen =&gt; false,\n }\n</code></pre>\n\n<h2>Implementation</h2>\n\n<h3>Classes and Defined Types</h3>\n\n<h4>Class: <code>apache::dev</code></h4>\n\n<p>Installs Apache development libraries</p>\n\n<pre lang=\"puppet\"><code> class { &#39;apache::dev&#39;: }\n</code></pre>\n\n<p>On FreeBSD you&#39;re required to define <code>apache::package</code> or <code>apache</code> class before <code>apache::dev</code>.</p>\n\n<h4>Defined Type: <code>apache::listen</code></h4>\n\n<p>Controls which ports Apache binds to for listening based on the title:</p>\n\n<pre lang=\"puppet\"><code> apache::listen { &#39;80&#39;: }\n apache::listen { &#39;443&#39;: }\n</code></pre>\n\n<p>Declaring this defined type will add all <code>Listen</code> directives to the <code>ports.conf</code> file in the Apache httpd configuration directory. <code>apache::listen</code> titles should always take the form of: <code>&lt;port&gt;</code>, <code>&lt;ipv4&gt;:&lt;port&gt;</code>, or <code>[&lt;ipv6&gt;]:&lt;port&gt;</code></p>\n\n<p>Apache httpd requires that <code>Listen</code> directives must be added for every port. The <code>apache::vhost</code> defined type will automatically add <code>Listen</code> directives unless the <code>apache::vhost</code> is passed <code>add_listen =&gt; false</code>.</p>\n\n<h4>Defined Type: <code>apache::namevirtualhost</code></h4>\n\n<p>Enables named-based hosting of a virtual host</p>\n\n<pre lang=\"puppet\"><code> class { &#39;apache::namevirtualhost`: }\n</code></pre>\n\n<p>Declaring this defined type will add all <code>NameVirtualHost</code> directives to the <code>ports.conf</code> file in the Apache https configuration directory. <code>apache::namevirtualhost</code> titles should always take the form of: <code>*</code>, <code>*:&lt;port&gt;</code>, <code>_default_:&lt;port&gt;</code>, <code>&lt;ip&gt;</code>, or <code>&lt;ip&gt;:&lt;port&gt;</code>.</p>\n\n<h4>Defined Type: <code>apache::balancermember</code></h4>\n\n<p>Define members of a proxy_balancer set (mod_proxy_balancer). Very useful when using exported resources.</p>\n\n<p>On every app server you can export a balancermember like this:</p>\n\n<pre lang=\"puppet\"><code> @@apache::balancermember { &quot;${::fqdn}-puppet00&quot;:\n balancer_cluster =&gt; &#39;puppet00&#39;,\n url =&gt; &quot;ajp://${::fqdn}:8009&quot;\n options =&gt; [&#39;ping=5&#39;, &#39;disablereuse=on&#39;, &#39;retry=5&#39;, &#39;ttl=120&#39;],\n }\n</code></pre>\n\n<p>And on the proxy itself you create the balancer cluster using the defined type apache::balancer:</p>\n\n<pre lang=\"puppet\"><code> apache::balancer { &#39;puppet00&#39;: }\n</code></pre>\n\n<p>If you need to use ProxySet in the balncer config you can do as so:</p>\n\n<pre lang=\"puppet\"><code> apache::balancer { &#39;puppet01&#39;:\n proxy_set =&gt; {&#39;stickysession&#39; =&gt; &#39;JSESSIONID&#39;},\n }\n</code></pre>\n\n<h3>Templates</h3>\n\n<p>The Apache module relies heavily on templates to enable the <code>vhost</code> and <code>apache::mod</code> defined types. These templates are built based on Facter facts around your operating system. Unless explicitly called out, most templates are not meant for configuration.</p>\n\n<h2>Limitations</h2>\n\n<p>This has been tested on Ubuntu Precise, Debian Wheezy, CentOS 5.8, and FreeBSD 9.1.</p>\n\n<h2>Development</h2>\n\n<h3>Overview</h3>\n\n<p>Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.</p>\n\n<p>We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.</p>\n\n<p>You can read the complete module contribution guide <a href=\"http://projects.puppetlabs.com/projects/module-site/wiki/Module_contributing\">on the Puppet Labs wiki.</a></p>\n\n<h3>Running tests</h3>\n\n<p>This project contains tests for both <a href=\"http://rspec-puppet.com/\">rspec-puppet</a> and <a href=\"https://github.com/puppetlabs/rspec-system\">rspec-system</a> to verify functionality. For in-depth information please see their respective documentation.</p>\n\n<p>Quickstart:</p>\n\n<pre><code>gem install bundler\nbundle install\nbundle exec rake spec\nbundle exec rake spec:system\n</code></pre>\n\n<h2>Copyright and License</h2>\n\n<p>Copyright (C) 2012 <a href=\"https://www.puppetlabs.com/\">Puppet Labs</a> Inc</p>\n\n<p>Puppet Labs can be contacted at: <a href=\"mailto:info@puppetlabs.com\">info@puppetlabs.com</a></p>\n\n<p>Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at</p>\n\n<p><a href=\"http://www.apache.org/licenses/LICENSE-2.0\">http://www.apache.org/licenses/LICENSE-2.0</a></p>\n\n<p>Unless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an &quot;AS IS&quot; 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.</p>\n</section>",
323
+ "changelog": "<section class=\"markdown\"><h2>2013-12-05 Release 0.10.0</h2>\n\n<h3>Summary:</h3>\n\n<p>This release adds FreeBSD osfamily support and various other improvements to some mods.</p>\n\n<h3>Features:</h3>\n\n<ul>\n<li>Add suPHP_UserGroup directive to directory context</li>\n<li>Add support for ScriptAliasMatch directives</li>\n<li>Set SSLOptions StdEnvVars in server context</li>\n<li>No implicit <Directory> entry for ScriptAlias path</li>\n<li>Add support for overriding ErrorDocument</li>\n<li>Add support for AliasMatch directives</li>\n<li>Disable default &quot;allow from all&quot; in vhost-directories</li>\n<li>Add WSGIPythonPath as an optional parameter to mod_wsgi. </li>\n<li>Add mod_rpaf support</li>\n<li>Add directives: IndexOptions, IndexOrderDefault</li>\n<li>Add ability to include additional external configurations in vhost</li>\n<li>need to use the provider variable not the provider key value from the directory hash for matches</li>\n<li>Support for FreeBSD and few other features</li>\n<li>Add new params to apache::mod::mime class</li>\n<li>Allow apache::mod to specify module id and path</li>\n<li>added $server_root parameter</li>\n<li>Add Allow and ExtendedStatus support to mod_status</li>\n<li>Expand vhost/_directories.pp directive support</li>\n<li>Add initial support for nss module (no directives in vhost template yet)</li>\n<li>added peruser and event mpms</li>\n<li>added $service_name parameter</li>\n<li>add parameter for TraceEnable</li>\n<li>Make LogLevel configurable for server and vhost</li>\n<li>Add documentation about $ip</li>\n<li>Add ability to pass ip (instead of wildcard) in default vhost files</li>\n</ul>\n\n<h3>Bugfixes:</h3>\n\n<ul>\n<li>Don&#39;t listen on port or set NameVirtualHost for non-existent vhost</li>\n<li>only apply Directory defaults when provider is a directory</li>\n<li>Working mod_authnz_ldap support on Debian/Ubuntu</li>\n</ul>\n\n<h2>2013-09-06 Release 0.9.0</h2>\n\n<h3>Summary:</h3>\n\n<p>This release adds more parameters to the base apache class and apache defined\nresource to make the module more flexible. It also adds or enhances SuPHP,\nWSGI, and Passenger mod support, and support for the ITK mpm module.</p>\n\n<h3>Backwards-incompatible Changes:</h3>\n\n<ul>\n<li>Remove many default mods that are not normally needed.</li>\n<li>Remove <code>rewrite_base</code> <code>apache::vhost</code> parameter; did not work anyway.</li>\n<li>Specify dependencies on stdlib &gt;=2.4.0 (this was already the case, but\nmaking explicit)</li>\n<li>Deprecate <code>a2mod</code> in favor of the <code>apache::mod::*</code> classes and <code>apache::mod</code>\ndefined resource.</li>\n</ul>\n\n<h3>Features:</h3>\n\n<ul>\n<li><code>apache</code> class\n\n<ul>\n<li>Add <code>httpd_dir</code> parameter to change the location of the configuration\nfiles.</li>\n<li>Add <code>logroot</code> parameter to change the logroot</li>\n<li>Add <code>ports_file</code> parameter to changes the <code>ports.conf</code> file location</li>\n<li>Add <code>keepalive</code> parameter to enable persistent connections</li>\n<li>Add <code>keepalive_timeout</code> parameter to change the timeout</li>\n<li>Update <code>default_mods</code> to be able to take an array of mods to enable.</li>\n</ul></li>\n<li><code>apache::vhost</code>\n\n<ul>\n<li>Add <code>wsgi_daemon_process</code>, <code>wsgi_daemon_process_options</code>,\n<code>wsgi_process_group</code>, and <code>wsgi_script_aliases</code> parameters for per-vhost\nWSGI configuration.</li>\n<li>Add <code>access_log_syslog</code> parameter to enable syslogging.</li>\n<li>Add <code>error_log_syslog</code> parameter to enable syslogging of errors.</li>\n<li>Add <code>directories</code> hash parameter. Please see README for documentation.</li>\n<li>Add <code>sslproxyengine</code> parameter to enable SSLProxyEngine</li>\n<li>Add <code>suphp_addhandler</code>, <code>suphp_engine</code>, and <code>suphp_configpath</code> for\nconfiguring SuPHP.</li>\n<li>Add <code>custom_fragment</code> parameter to allow for arbitrary apache\nconfiguration injection. (Feature pull requests are prefered over using\nthis, but it is available in a pinch.)</li>\n</ul></li>\n<li>Add <code>apache::mod::suphp</code> class for configuring SuPHP.</li>\n<li>Add <code>apache::mod::itk</code> class for configuring ITK mpm module.</li>\n<li>Update <code>apache::mod::wsgi</code> class for global WSGI configuration with\n<code>wsgi_socket_prefix</code> and <code>wsgi_python_home</code> parameters.</li>\n<li>Add README.passenger.md to document the <code>apache::mod::passenger</code> usage.\nAdded <code>passenger_high_performance</code>, <code>passenger_pool_idle_time</code>,\n<code>passenger_max_requests</code>, <code>passenger_stat_throttle_rate</code>, <code>rack_autodetect</code>,\nand <code>rails_autodetect</code> parameters.</li>\n<li>Separate the httpd service resource into a new <code>apache::service</code> class for\ndependency chaining of <code>Class[&#39;apache&#39;] -&gt; &lt;resource&gt; ~&gt;\nClass[&#39;apache::service&#39;]</code></li>\n<li>Added <code>apache::mod::proxy_balancer</code> class for <code>apache::balancer</code></li>\n</ul>\n\n<h3>Bugfixes:</h3>\n\n<ul>\n<li>Change dependency to puppetlabs-concat</li>\n<li>Fix ruby 1.9 bug for <code>a2mod</code></li>\n<li>Change servername to be <code>$::hostname</code> if there is no <code>$::fqdn</code></li>\n<li>Make <code>/etc/ssl/certs</code> the default ssl certs directory for RedHat non-5.</li>\n<li>Make <code>php</code> the default php package for RedHat non-5.</li>\n<li>Made <code>aliases</code> able to take a single alias hash instead of requiring an\narray.</li>\n</ul>\n\n<h2>2013-07-26 Release 0.8.1</h2>\n\n<h3>Bugfixes:</h3>\n\n<ul>\n<li>Update <code>apache::mpm_module</code> detection for worker/prefork</li>\n<li>Update <code>apache::mod::cgi</code> and <code>apache::mod::cgid</code> detection for\nworker/prefork</li>\n</ul>\n\n<h2>2013-07-16 Release 0.8.0</h2>\n\n<h3>Features:</h3>\n\n<ul>\n<li>Add <code>servername</code> parameter to <code>apache</code> class</li>\n<li>Add <code>proxy_set</code> parameter to <code>apache::balancer</code> define</li>\n</ul>\n\n<h3>Bugfixes:</h3>\n\n<ul>\n<li>Fix ordering for multiple <code>apache::balancer</code> clusters</li>\n<li>Fix symlinking for sites-available on Debian-based OSs</li>\n<li>Fix dependency ordering for recursive confdir management</li>\n<li>Fix <code>apache::mod::*</code> to notify the service on config change</li>\n<li>Documentation updates</li>\n</ul>\n\n<h2>2013-07-09 Release 0.7.0</h2>\n\n<h3>Changes:</h3>\n\n<ul>\n<li>Essentially rewrite the module -- too many to list</li>\n<li><code>apache::vhost</code> has many abilities -- see README.md for details</li>\n<li><code>apache::mod::*</code> classes provide httpd mod-loading capabilities</li>\n<li><code>apache</code> base class is much more configurable</li>\n</ul>\n\n<h3>Bugfixes:</h3>\n\n<ul>\n<li>Many. And many more to come</li>\n</ul>\n\n<h2>2013-03-2 Release 0.6.0</h2>\n\n<ul>\n<li>update travis tests (add more supported versions)</li>\n<li>add access log_parameter</li>\n<li>make purging of vhost dir configurable</li>\n</ul>\n\n<h2>2012-08-24 Release 0.4.0</h2>\n\n<h3>Changes:</h3>\n\n<ul>\n<li><code>include apache</code> is now required when using <code>apache::mod::*</code></li>\n</ul>\n\n<h3>Bugfixes:</h3>\n\n<ul>\n<li>Fix syntax for validate_re</li>\n<li>Fix formatting in vhost template</li>\n<li><p>Fix spec tests such that they pass</p>\n\n<p>2012-05-08 Puppet Labs <a href=\"mailto:info@puppetlabs.com\">info@puppetlabs.com</a> - 0.0.4\ne62e362 Fix broken tests for ssl, vhost, vhost::*\n42c6363 Changes to match style guide and pass puppet-lint without error\n42bc8ba changed name =&gt; path for file resources in order to name namevar by it&#39;s name\n72e13de One end too much\n0739641 style guide fixes: &#39;true&#39; &lt;&gt; true, $operatingsystem needs to be $::operatingsystem, etc.\n273f94d fix tests\na35ede5 (#13860) Make a2enmod/a2dismo commands optional\n98d774e (#13860) Autorequire Package[&#39;httpd&#39;]\n05fcec5 (#13073) Add missing puppet spec tests\n541afda (#6899) Remove virtual a2mod definition\n976cb69 (#13072) Move mod python and wsgi package names to params\n323915a (#13060) Add .gitignore to repo\nfdf40af (#13060) Remove pkg directory from source tree\nfd90015 Add LICENSE file and update the ModuleFile\nd3d0d23 Re-enable local php class\nd7516c7 Make management of firewalls configurable for vhosts\n60f83ba Explicitly lookup scope of apache_name in templates.\nf4d287f (#12581) Add explicit ordering for vdir directory\n88a2ac6 (#11706) puppetlabs-apache depends on puppetlabs-firewall\na776a8b (#11071) Fix to work with latest firewall module\n2b79e8b (#11070) Add support for Scientific Linux\n405b3e9 Fix for a2mod\n57b9048 Commit apache::vhost::redirect Manifest\n8862d01 Commit apache::vhost::proxy Manifest\nd5c1fd0 Commit apache::mod::wsgi Manifest\na825ac7 Commit apache::mod::python Manifest\nb77062f Commit Templates\n9a51b4a Vhost File Declarations\n6cf7312 Defaults for Parameters\n6a5b11a Ensure installed\nf672e46 a2mod fix\n8a56ee9 add pthon support to apache</p></li>\n</ul>\n</section>",
324
+ "license": "<section class=\"plaintext\"><pre>Copyright (C) 2012 Puppet Labs Inc\n\nPuppet Labs can be contacted at: info@puppetlabs.com\n\nLicensed under the Apache License, Version 2.0 (the &quot;License&quot;);\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an &quot;AS IS&quot; 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</pre></section>",
325
+ "created_at": "2013-12-05 15:29:14 -0800",
326
+ "updated_at": "2013-12-05 15:29:14 -0800",
327
+ "deleted_at": null
328
+ },
329
+ "releases": [
330
+ {
331
+ "uri": "/v3/releases/puppetlabs-apache-0.10.0",
332
+ "version": "0.10.0"
333
+ },
334
+ {
335
+ "uri": "/v3/releases/puppetlabs-apache-0.9.0",
336
+ "version": "0.9.0"
337
+ },
338
+ {
339
+ "uri": "/v3/releases/puppetlabs-apache-0.8.1",
340
+ "version": "0.8.1"
341
+ },
342
+ {
343
+ "uri": "/v3/releases/puppetlabs-apache-0.8.0",
344
+ "version": "0.8.0"
345
+ },
346
+ {
347
+ "uri": "/v3/releases/puppetlabs-apache-0.7.0",
348
+ "version": "0.7.0"
349
+ },
350
+ {
351
+ "uri": "/v3/releases/puppetlabs-apache-0.6.0",
352
+ "version": "0.6.0"
353
+ },
354
+ {
355
+ "uri": "/v3/releases/puppetlabs-apache-0.5.0-rc1",
356
+ "version": "0.5.0-rc1"
357
+ },
358
+ {
359
+ "uri": "/v3/releases/puppetlabs-apache-0.4.0",
360
+ "version": "0.4.0"
361
+ },
362
+ {
363
+ "uri": "/v3/releases/puppetlabs-apache-0.3.0",
364
+ "version": "0.3.0"
365
+ },
366
+ {
367
+ "uri": "/v3/releases/puppetlabs-apache-0.2.2",
368
+ "version": "0.2.2"
369
+ },
370
+ {
371
+ "uri": "/v3/releases/puppetlabs-apache-0.2.1",
372
+ "version": "0.2.1"
373
+ },
374
+ {
375
+ "uri": "/v3/releases/puppetlabs-apache-0.2.0",
376
+ "version": "0.2.0"
377
+ },
378
+ {
379
+ "uri": "/v3/releases/puppetlabs-apache-0.1.1",
380
+ "version": "0.1.1"
381
+ },
382
+ {
383
+ "uri": "/v3/releases/puppetlabs-apache-0.0.4",
384
+ "version": "0.0.4"
385
+ },
386
+ {
387
+ "uri": "/v3/releases/puppetlabs-apache-0.0.3",
388
+ "version": "0.0.3"
389
+ },
390
+ {
391
+ "uri": "/v3/releases/puppetlabs-apache-0.0.2",
392
+ "version": "0.0.2"
393
+ },
394
+ {
395
+ "uri": "/v3/releases/puppetlabs-apache-0.0.1",
396
+ "version": "0.0.1"
397
+ }
398
+ ],
399
+ "homepage_url": "https://github.com/puppetlabs/puppetlabs-apache",
400
+ "issues_url": "https://tickets.puppetlabs.com"
401
+ },
402
+ {
403
+ "uri": "/v3/modules/example42-apache",
404
+ "name": "apache",
405
+ "downloads": 15310,
406
+ "created_at": "2012-11-29 14:24:36 -0800",
407
+ "updated_at": "2014-01-06 14:42:02 -0800",
408
+ "owner": {
409
+ "uri": "/v3/users/example42",
410
+ "username": "example42",
411
+ "gravatar_id": "3b9afc574837c445c9550f035135f043"
412
+ },
413
+ "current_release": {
414
+ "uri": "/v3/releases/example42-apache-2.1.4",
415
+ "module": {
416
+ "uri": "/v3/modules/example42-apache",
417
+ "name": "apache",
418
+ "owner": {
419
+ "uri": "/v3/users/example42",
420
+ "username": "example42",
421
+ "gravatar_id": "3b9afc574837c445c9550f035135f043"
422
+ }
423
+ },
424
+ "version": "2.1.4",
425
+ "metadata": {
426
+ "name": "example42-apache",
427
+ "version": "2.1.4",
428
+ "summary": "Puppet module for apache",
429
+ "author": "Alessandro Franceschi",
430
+ "description": "This module installs and manages apache. Check README.rdoc for details. Puppi is required for some common functions: you can install them without using the whole module. Monitor and firewall dependencies are needed only if the relevant features are enabled",
431
+ "dependencies": [
432
+ {
433
+ "name": "example42/puppi",
434
+ "version_requirement": ">=2.0.0"
435
+ }
436
+ ],
437
+ "types": [
438
+
439
+ ],
440
+ "checksums": {
441
+ "LICENSE": "a300b604c66de62cf6e923cca89c9d83",
442
+ "Modulefile": "3a560e8abafc3225a4a59f4fc2c92273",
443
+ "README.md": "4d46ca4ccc6be10389e16cc6158aaf25",
444
+ "Rakefile": "beb946c8ed36b603d578cc9ca17ca85d",
445
+ "manifests/dotconf.pp": "3766876f90642cf23542c14172c9934e",
446
+ "manifests/htpasswd.pp": "76b702b2fd5bd2d6a7a57df21acdac43",
447
+ "manifests/init.pp": "e04bb34fdf3d41590f87b9c91bd2bcf7",
448
+ "manifests/listen.pp": "b2e74f8aa59829c0644b836a8d0e4c2d",
449
+ "manifests/module.pp": "e7e613c3377c2ee41c97db2c65f4ef75",
450
+ "manifests/params.pp": "00873cbf282865f395fefb8886bd0cff",
451
+ "manifests/passenger.pp": "471b18ed8769eb16b1fbeb955e3d28c9",
452
+ "manifests/redhat.pp": "7bf95178474b51eb75a37931e4ec4d2f",
453
+ "manifests/spec.pp": "27b6dcd653caef771ac053e2df3260e9",
454
+ "manifests/ssl.pp": "7a2feb658749e0cb8414893da77565f1",
455
+ "manifests/vhost.pp": "7afa69f57980954d15c29045697e86a6",
456
+ "manifests/virtualhost.pp": "8d80b67c616560209728af7e13f2f45a",
457
+ "spec/classes/apache_spec.rb": "be017aef73f77caf172cd09059b2db36",
458
+ "spec/defines/apache_virtualhost_spec.rb": "b21d44a66c262561f3db5dc063813f7a",
459
+ "spec/spec_helper.rb": "0db89c9a486df193c0e40095422e19dc",
460
+ "templates/00-NameVirtualHost.conf.erb": "a410a82e9c65d36c7537bfb36a7a3041",
461
+ "templates/listen.conf.erb": "47fe4e9a45f066ac5bd9cbbfe1fd0bd2",
462
+ "templates/module/proxy.conf.erb": "2eccd5a67ff4070bdd6ed8cd98b4bbda",
463
+ "templates/spec.erb": "055d4f22a02a677753cf922108b6e50c",
464
+ "templates/virtualhost/vhost.conf.erb": "04b9a899577081c8ea9957a3db53c45b",
465
+ "templates/virtualhost/virtualhost.conf.erb": "a6f72c70e83bec34a85071b9bbef3b3d",
466
+ "tests/vhost.pp": "a2ee77862630ba4f7e0fdfb10a8dca79"
467
+ },
468
+ "source": "https://github.com/example42/puppet-apache",
469
+ "project_page": "http://www.example42.com",
470
+ "license": "Apache2"
471
+ },
472
+ "tags": [
473
+ "example42,",
474
+ "apache"
475
+ ],
476
+ "file_uri": "/v3/files/example42-apache-2.1.4.tar.gz",
477
+ "file_size": 16837,
478
+ "file_md5": "2b5a31ead952c59727f13dc5b12b15f8",
479
+ "downloads": 1249,
480
+ "readme": "<section class=\"markdown\"><h1>Puppet module: apache</h1>\n\n<p>This is a Puppet apache module from the second generation of Example42 Puppet Modules.</p>\n\n<p>Made by Alessandro Franceschi / Lab42</p>\n\n<p>Official site: <a href=\"http://www.example42.com\">http://www.example42.com</a></p>\n\n<p>Official git repository: <a href=\"http://github.com/example42/puppet-apache\">http://github.com/example42/puppet-apache</a></p>\n\n<p>Released under the terms of Apache 2 License.</p>\n\n<p>This module requires functions provided by the Example42 Puppi module.</p>\n\n<p>For detailed info about the logic and usage patterns of Example42 modules read README.usage on Example42 main modules set.</p>\n\n<h2>USAGE - Module specific usage</h2>\n\n<ul>\n<li><p>Install apache with a custom httpd.conf template and some virtual hosts</p>\n\n<pre><code> class { &#39;apache&#39;:\n template =&gt; &#39;example42/apache/httpd.conf.erb&#39;,\n }\n\n apache::vhost { &#39;mysite&#39;:\n docroot =&gt; &#39;/path/to/docroot&#39;,\n template =&gt; &#39;example42/apache/vhost/mysite.com.erb&#39;,\n }\n</code></pre></li>\n<li><p>Install mod ssl</p>\n\n<pre><code>include apache::ssl\n</code></pre></li>\n<li><p>Manage basic auth users (Here user joe is created with the $crypt_password on the defined htpasswd_file</p>\n\n<pre><code>apache::htpasswd { &#39;joe&#39;:\n crypt_password =&gt; &#39;B5dPQYYjf.jjA&#39;,\n htpasswd_file =&gt; &#39;/etc/httpd/users.passwd&#39;,\n}\n</code></pre></li>\n<li><p>Manage custom configuration files (created in conf.d, source or content can be defined)</p>\n\n<pre><code>apache::dotconf { &#39;trac&#39;:\n content =&gt; &#39;template(&quot;site/trac/apache.conf.erb&quot;)&#39;\n}\n</code></pre></li>\n<li><p>Add other listening ports (a relevant NameVirtualHost directive is automatically created)</p>\n\n<pre><code>apache::listen { &#39;8080&#39;: }\n</code></pre></li>\n<li><p>Add other listening ports without creating a relevant NameVirtualHost directive</p>\n\n<pre><code>apache::listen { &#39;8080&#39;:\n $namevirtualhost = false,\n}\n</code></pre></li>\n<li><p>Add an apache module and manage its configuraton</p>\n\n<pre><code>apache::module { &#39;proxy&#39;:\n templatefile =&gt; &#39;site/apache/module/proxy.conf.erb&#39;,\n}\n</code></pre></li>\n<li><p>Install mod passenger</p>\n\n<pre><code>include apache::passenger\n</code></pre></li>\n</ul>\n\n<h2>USAGE - Basic management</h2>\n\n<ul>\n<li><p>Install apache with default settings</p>\n\n<pre><code>class { &quot;apache&quot;: }\n</code></pre></li>\n<li><p>Disable apache service.</p>\n\n<pre><code>class { &quot;apache&quot;:\n disable =&gt; true\n}\n</code></pre></li>\n<li><p>Disable apache service at boot time, but don&#39;t stop if is running.</p>\n\n<pre><code>class { &quot;apache&quot;:\n disableboot =&gt; true\n}\n</code></pre></li>\n<li><p>Remove apache package</p>\n\n<pre><code>class { &quot;apache&quot;:\n absent =&gt; true\n}\n</code></pre></li>\n<li><p>Enable auditing without making changes on existing apache configuration files</p>\n\n<pre><code>class { &quot;apache&quot;:\n audit_only =&gt; true\n}\n</code></pre></li>\n<li><p>Install apache with a specific version</p>\n\n<pre><code>class { &quot;apache&quot;:\n version =&gt; &#39;2.2.22&#39;\n}\n</code></pre></li>\n</ul>\n\n<h2>USAGE - Default server management</h2>\n\n<ul>\n<li><p>Simple way to manage default apache configuration</p>\n\n<pre><code>apache::vhost { &#39;default&#39;:\n docroot =&gt; &#39;/var/www/document_root&#39;,\n server_name =&gt; false,\n priority =&gt; &#39;&#39;,\n template =&gt; &#39;apache/virtualhost/vhost.conf.erb&#39;,\n}\n</code></pre></li>\n<li><p>Using a source file to create the vhost</p>\n\n<pre><code>apache::vhost { &#39;default&#39;:\n source =&gt; &#39;puppet:///files/web/default.conf&#39;\n template =&gt; &#39;&#39;,\n}\n</code></pre></li>\n</ul>\n\n<h2>USAGE - Overrides and Customizations</h2>\n\n<ul>\n<li><p>Use custom sources for main config file</p>\n\n<pre><code>class { &quot;apache&quot;:\n source =&gt; [ &quot;puppet:///modules/lab42/apache/apache.conf-${hostname}&quot; , &quot;puppet:///modules/lab42/apache/apache.conf&quot; ],\n}\n</code></pre></li>\n<li><p>Use custom source directory for the whole configuration dir</p>\n\n<pre><code>class { &quot;apache&quot;:\n source_dir =&gt; &quot;puppet:///modules/lab42/apache/conf/&quot;,\n source_dir_purge =&gt; false, # Set to true to purge any existing file not present in $source_dir\n}\n</code></pre></li>\n<li><p>Use custom template for main config file </p>\n\n<pre><code>class { &quot;apache&quot;:\n template =&gt; &quot;example42/apache/apache.conf.erb&quot;, \n}\n</code></pre></li>\n<li><p>Define custom options that can be used in a custom template without the\nneed to add parameters to the apache class</p>\n\n<pre><code>class { &quot;apache&quot;:\n template =&gt; &quot;example42/apache/apache.conf.erb&quot;, \n options =&gt; {\n &#39;LogLevel&#39; =&gt; &#39;INFO&#39;,\n &#39;UsePAM&#39; =&gt; &#39;yes&#39;,\n },\n}\n</code></pre></li>\n<li><p>Automaticallly include a custom subclass</p>\n\n<pre><code>class { &quot;apache:&quot;\n my_class =&gt; &#39;apache::example42&#39;,\n}\n</code></pre></li>\n</ul>\n\n<h2>USAGE - Example42 extensions management</h2>\n\n<ul>\n<li><p>Activate puppi (recommended, but disabled by default)\nNote that this option requires the usage of Example42 puppi module</p>\n\n<pre><code>class { &quot;apache&quot;: \n puppi =&gt; true,\n}\n</code></pre></li>\n<li><p>Activate puppi and use a custom puppi_helper template (to be provided separately with\na puppi::helper define ) to customize the output of puppi commands </p>\n\n<pre><code>class { &quot;apache&quot;:\n puppi =&gt; true,\n puppi_helper =&gt; &quot;myhelper&quot;, \n}\n</code></pre></li>\n<li><p>Activate automatic monitoring (recommended, but disabled by default)\nThis option requires the usage of Example42 monitor and relevant monitor tools modules</p>\n\n<pre><code>class { &quot;apache&quot;:\n monitor =&gt; true,\n monitor_tool =&gt; [ &quot;nagios&quot; , &quot;monit&quot; , &quot;munin&quot; ],\n}\n</code></pre></li>\n<li><p>Activate automatic firewalling \nThis option requires the usage of Example42 firewall and relevant firewall tools modules</p>\n\n<pre><code>class { &quot;apache&quot;: \n firewall =&gt; true,\n firewall_tool =&gt; &quot;iptables&quot;,\n firewall_src =&gt; &quot;10.42.0.0/24&quot;,\n firewall_dst =&gt; &quot;$ipaddress_eth0&quot;,\n}\n</code></pre></li>\n</ul>\n\n<p><a href=\"https://travis-ci.org/example42/puppet-apache\"><img src=\"https://travis-ci.org/example42/puppet-apache.png?branch=master\" alt=\"Build Status\"></a></p>\n</section>",
481
+ "changelog": null,
482
+ "license": "<section class=\"plaintext\"><pre>Copyright (C) 2013 Alessandro Franceschi &#x2F; Lab42\n\nfor the relevant commits Copyright (C) by the respective authors.\n\nContact Lab42 at: info@lab42.it\n\nLicensed under the Apache License, Version 2.0 (the &quot;License&quot;);\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an &quot;AS IS&quot; 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</pre></section>",
483
+ "created_at": "2013-11-22 01:04:52 -0800",
484
+ "updated_at": "2013-11-22 01:18:21 -0800",
485
+ "deleted_at": null
486
+ },
487
+ "releases": [
488
+ {
489
+ "uri": "/v3/releases/example42-apache-2.1.4",
490
+ "version": "2.1.4"
491
+ },
492
+ {
493
+ "uri": "/v3/releases/example42-apache-2.1.3",
494
+ "version": "2.1.3"
495
+ },
496
+ {
497
+ "uri": "/v3/releases/example42-apache-2.1.2",
498
+ "version": "2.1.2"
499
+ },
500
+ {
501
+ "uri": "/v3/releases/example42-apache-2.1.1",
502
+ "version": "2.1.1"
503
+ },
504
+ {
505
+ "uri": "/v3/releases/example42-apache-2.1.0",
506
+ "version": "2.1.0"
507
+ },
508
+ {
509
+ "uri": "/v3/releases/example42-apache-2.0.8",
510
+ "version": "2.0.8"
511
+ },
512
+ {
513
+ "uri": "/v3/releases/example42-apache-2.0.7",
514
+ "version": "2.0.7"
515
+ }
516
+ ],
517
+ "homepage_url": "https://github.com/example42/puppet-apache",
518
+ "issues_url": ""
519
+ },
520
+ {
521
+ "uri": "/v3/modules/ghoneycutt-apache",
522
+ "name": "apache",
523
+ "downloads": 1118,
524
+ "created_at": "2010-06-26 00:22:43 -0700",
525
+ "updated_at": "2014-01-03 00:04:00 -0800",
526
+ "owner": {
527
+ "uri": "/v3/users/ghoneycutt",
528
+ "username": "ghoneycutt",
529
+ "gravatar_id": "eadada85ce760817d46ff939f2b857a6"
530
+ },
531
+ "current_release": {
532
+ "uri": "/v3/releases/ghoneycutt-apache-1.0.1",
533
+ "module": {
534
+ "uri": "/v3/modules/ghoneycutt-apache",
535
+ "name": "apache",
536
+ "owner": {
537
+ "uri": "/v3/users/ghoneycutt",
538
+ "username": "ghoneycutt",
539
+ "gravatar_id": "eadada85ce760817d46ff939f2b857a6"
540
+ }
541
+ },
542
+ "version": "1.0.1",
543
+ "metadata": {
544
+ "name": "ghoneycutt-apache",
545
+ "dependencies": [
546
+ {
547
+ "name": "ghoneycutt/ssh",
548
+ "version_requirement": ">= 1.0.0"
549
+ },
550
+ {
551
+ "name": "ghoneycutt/pam",
552
+ "version_requirement": ">= 1.0.0"
553
+ },
554
+ {
555
+ "name": "ghoneycutt/generic",
556
+ "version_requirement": ">= 1.0.0"
557
+ },
558
+ {
559
+ "name": "ghoneycutt/sudo",
560
+ "version_requirement": ">= 1.0.0"
561
+ }
562
+ ],
563
+ "author": "",
564
+ "license": "",
565
+ "version": "1.0.1",
566
+ "types": [
567
+
568
+ ],
569
+ "checksums": {
570
+ "files/perl.conf": "95b00bb9a16c01f8839f56f177058ec1",
571
+ "manifests/hup.pp": "f971526529926bf6259bb6ea2d8c6c10",
572
+ "manifests/perl.pp": "bb5cf6eaeb064ef76bf9c4fbaa711b77",
573
+ "manifests/python.pp": "a51da581545692a0dc716f2953f8b4ad",
574
+ "spec/spec_helper.rb": "ca19ec4f451ebc7fdb035b52eae6e909",
575
+ "templates/httpd.conf-CentOS.erb": "c0bebc0b4a5a831692964fdc8d5d54ba",
576
+ "templates/ssl_site.conf.erb": "5cccae5bf7683aaf8edff875c5312531",
577
+ "CHANGELOG": "c1c926302b2ab4ee2933505c0a190cc0",
578
+ "files/private_keys/apachehup": "70adb76e0c8431b3c2e98cae756167bd",
579
+ "manifests/php.pp": "5018f8d5f632b18b09c95f916d3a95b3",
580
+ "files/public_keys/apachehup": "24b730aa4b1244f51df30bc850a2a05d",
581
+ "files/favicon.ico": "39f06169979733a6efee9068927eccee",
582
+ "README": "2cb6ee17b0584156cb1796acafdae8a1",
583
+ "manifests/ssl.pp": "4497fcf6be15d50e5f6a6af46331dd0f",
584
+ "tests/init.pp": "4eac4a7ef68499854c54a78879e25535",
585
+ "files/ssl.conf": "fd530aaa468e4547e20b4e8cb12b6497",
586
+ "templates/sysconfig-httpd.erb": "72dc3c90b402a09f33920d3d3f2d41f0",
587
+ "files/php.conf": "6b47da620555b510da9d1cfba698fdc1",
588
+ "metadata.json": "d34d0b70aba36510fbc2df4e667479ef",
589
+ "spec/spec.opts": "a600ded995d948e393fbe2320ba8e51c",
590
+ "files/python.conf": "31f43ae7b2091d64c91648c9413ed334",
591
+ "manifests/init.pp": "f7dbc91d972ba84f33c67fcc2155b095",
592
+ "Modulefile": "40fb273e8a813a3352cb7e393770255f"
593
+ },
594
+ "source": ""
595
+ },
596
+ "tags": [
597
+ "webservers",
598
+ "apache",
599
+ "web",
600
+ "applications",
601
+ "web servers",
602
+ "php",
603
+ "python",
604
+ "perl",
605
+ "ssl",
606
+ "restart"
607
+ ],
608
+ "file_uri": "/v3/files/ghoneycutt-apache-1.0.1.tar.gz",
609
+ "file_size": 24876,
610
+ "file_md5": "db4e5479eafa47c556e1d30e1c323bec",
611
+ "downloads": 966,
612
+ "readme": "<section class=\"plaintext\"><pre>apache\n\nReleased 20100625 - Garrett Honeycutt - GPLv2\n\nManages apache servers, remote restarts, and mod_ssl, mod_php, mod_python, mod_perl\n\nYou can also easily setup a web server by only specifying the apache config file, such as\n\napache::vhost { &quot;mediawiki&quot;:\n source =&gt; &quot;puppet:&#x2F;&#x2F;&#x2F;modules&#x2F;mediawiki&#x2F;mediawiki.conf&quot;,\n}\n\n# Definition: apache::vhost\n#\n# setup a vhost\n#\n# Parameters: \n# $ensure - defaults to &#x27;present&#x27;\n# $content - quoted content or a template\n# $source - file to grab with the VirtualHost information\n#\n# Actions:\n# sets up a vhost\n#\n# Requires:\n# $content our $source must be set\n#\n# Sample Usage:\n# in the mediawiki module you could setup the web portion with the following\n# code, where the mediawiki.conf file contains the &lt;VirtualHost&gt; statements\n#\n# apache::vhost { &quot;mediawiki&quot;:\n# source =&gt; &quot;puppet:&#x2F;&#x2F;&#x2F;modules&#x2F;mediawiki&#x2F;mediawiki.conf&quot;,\n# } # apache::vhost\n\n# Definition: apache::module\n#\n# setup an apache module - this is used primarily by apache\n# subclasses, such as apache::php, apache::perl, etc\n# \n# Parameters: \n# $ensure - default to &#x27;present&#x27;\n# $content - quoted content or a template\n# $source - file to grab with the VirtualHost information\n#\n# Actions:\n# sets up an apache module\n# \n# Requires:\n# $content our $source must be set\n# \n# Sample Usage: \n# this would install the php.conf which includes the LoadModule,\n# AddHandler, AddType and related info that apache needs\n#\n# apache::module{&quot;php&quot;: \n# source =&gt; &quot;puppet:&#x2F;&#x2F;&#x2F;modules&#x2F;apache&#x2F;php.conf&quot;, \n# } # apache::module\n\n\n# Definition: apache::ssl::set_cert\n#\n# install certificate\n#\n# Parameters: \n# $certfile - public cert\n# $certkey - private key\n# $ip - ip address to use, uses $ipaddress from facter by default\n# $port - port to use, uses 443 by default\n# $cachain - cachain file\n# $revokefile - revoke file\n#\n# Actions:\n# installs certs\n#\n# Requires:\n# $certfile must be set\n# $certkey must be set\n#\n# Sample Usage:\n# # *.yoursite.com\n# @set_cert { &quot;staryoursite&quot;:\n# certfile =&gt; &quot;&#x2F;etc&#x2F;pki&#x2F;tls&#x2F;certs&#x2F;yoursite_cert.pem&quot;,\n# certkey =&gt; &quot;&#x2F;etc&#x2F;pki&#x2F;tls&#x2F;private&#x2F;yoursite_key.pem&quot;,\n# } # @set_cert\n</pre></section>",
613
+ "changelog": "<section class=\"plaintext\"><pre>1.0.0 - initial release\n1.0.1 - added documentation\n</pre></section>",
614
+ "license": null,
615
+ "created_at": "2010-08-11 23:06:05 -0700",
616
+ "updated_at": "2013-03-04 14:57:38 -0800",
617
+ "deleted_at": null
618
+ },
619
+ "releases": [
620
+ {
621
+ "uri": "/v3/releases/ghoneycutt-apache-1.0.1",
622
+ "version": "1.0.1"
623
+ },
624
+ {
625
+ "uri": "/v3/releases/ghoneycutt-apache-1.0.0",
626
+ "version": "1.0.0"
627
+ }
628
+ ],
629
+ "homepage_url": "http://github.com/ghoneycutt/puppet-apache",
630
+ "issues_url": "http://github.com/ghoneycutt/puppet-apache/issues"
631
+ },
632
+ {
633
+ "uri": "/v3/modules/theforeman-apache",
634
+ "name": "apache",
635
+ "downloads": 982,
636
+ "created_at": "2013-05-24 06:13:19 -0700",
637
+ "updated_at": "2014-01-06 10:18:46 -0800",
638
+ "owner": {
639
+ "uri": "/v3/users/theforeman",
640
+ "username": "theforeman",
641
+ "gravatar_id": "debaffa7d317b9ec76a588682fb1e640"
642
+ },
643
+ "current_release": {
644
+ "uri": "/v3/releases/theforeman-apache-1.4.0",
645
+ "module": {
646
+ "uri": "/v3/modules/theforeman-apache",
647
+ "name": "apache",
648
+ "owner": {
649
+ "uri": "/v3/users/theforeman",
650
+ "username": "theforeman",
651
+ "gravatar_id": "debaffa7d317b9ec76a588682fb1e640"
652
+ }
653
+ },
654
+ "version": "1.4.0",
655
+ "metadata": {
656
+ "name": "theforeman-apache",
657
+ "version": "1.4.0",
658
+ "source": "git://github.com/theforeman/puppet-apache",
659
+ "author": "theforeman",
660
+ "license": "GPLv3+",
661
+ "summary": "Apache HTTP server configuration",
662
+ "description": "Module for configuring Apache HTTP server for Foreman",
663
+ "project_page": "http://github.com/theforeman/foreman-installer",
664
+ "dependencies": [
665
+
666
+ ],
667
+ "types": [
668
+
669
+ ],
670
+ "checksums": {
671
+ "CHANGELOG.md": "71d63a8171ca616a3fa7c37e39e746f3",
672
+ "LICENSE": "9eef91148a9b14ec7f9df333daebc746",
673
+ "Modulefile": "aacc357c56c7d7314e0de30e08b4a9f9",
674
+ "README.md": "fc0d45f973e7c44c3613514aebf7c0d9",
675
+ "manifests/config.pp": "672529e14fde6604454d748de751fcdf",
676
+ "manifests/init.pp": "f53525086e13c013880ddd36b808f1fd",
677
+ "manifests/install.pp": "ce58e6bdb2d34b13e0eedb4a76d264d2",
678
+ "manifests/params.pp": "4219f11da48b0b3177772ccd1540cd0c",
679
+ "manifests/service.pp": "77b04bdf25293554b9f8759fa8bfad14",
680
+ "manifests/site.pp": "2c459dbe863622bb29d6b527c7c018fd",
681
+ "manifests/ssl.pp": "5247d16369fb2c7877859e328f6f9379",
682
+ "templates/vhost.conf": "549cc861d7e3cdc072b77f011b7b604c"
683
+ }
684
+ },
685
+ "tags": [
686
+ "foreman",
687
+ "apache",
688
+ "httpd"
689
+ ],
690
+ "file_uri": "/v3/files/theforeman-apache-1.4.0.tar.gz",
691
+ "file_size": 14579,
692
+ "file_md5": "442523febaa0075aa8bccf1c7fd8172a",
693
+ "downloads": 107,
694
+ "readme": "<section class=\"markdown\"><h1>Puppet module for managing Apache</h1>\n\n<p>Installs and configures Apache HTTP server.</p>\n\n<p>Part of the Foreman installer: <a href=\"http://github.com/theforeman/foreman-installer\">http://github.com/theforeman/foreman-installer</a></p>\n\n<h1>Contributing</h1>\n\n<ul>\n<li>Fork the project</li>\n<li>Commit and push until you are happy with your contribution</li>\n<li>Send a pull request with a description of your changes</li>\n</ul>\n\n<h1>More info</h1>\n\n<p>See <a href=\"http://theforeman.org\">http://theforeman.org</a> or at #theforeman irc channel on freenode</p>\n\n<p>Copyright (c) 2010-2013 Ohad Levy and their respective owners</p>\n\n<p>Except where specified in provided modules, this program and entire\nrepository is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\nany later version.</p>\n\n<p>This program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see <a href=\"http://www.gnu.org/licenses/\">http://www.gnu.org/licenses/</a>.</p>\n</section>",
695
+ "changelog": "<section class=\"markdown\"><h1>Changelog</h1>\n\n<h2>1.4.0</h2>\n\n<ul>\n<li>Enable mod_expires and mod_rewrite on Debian</li>\n<li>Remove theforeman/passenger dependency due to loop (Gavin Williams)</li>\n<li>Fix puppet-lint issues</li>\n</ul>\n</section>",
696
+ "license": "<section class=\"plaintext\"><pre> GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. &lt;http:&#x2F;&#x2F;fsf.org&#x2F;&gt;\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and&#x2F;or modify it.\n\n For the developers&#x27; and authors&#x27; protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users&#x27; and\nauthors&#x27; sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users&#x27; freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n &quot;This License&quot; refers to version 3 of the GNU General Public License.\n\n &quot;Copyright&quot; also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n &quot;The Program&quot; refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as &quot;you&quot;. &quot;Licensees&quot; and\n&quot;recipients&quot; may be individuals or organizations.\n\n To &quot;modify&quot; a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a &quot;modified version&quot; of the\nearlier work or a work &quot;based on&quot; the earlier work.\n\n A &quot;covered work&quot; means either the unmodified Program or a work based\non the Program.\n\n To &quot;propagate&quot; a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To &quot;convey&quot; a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays &quot;Appropriate Legal Notices&quot;\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The &quot;source code&quot; for a work means the preferred form of the work\nfor making modifications to it. &quot;Object code&quot; means any non-source\nform of a work.\n\n A &quot;Standard Interface&quot; means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The &quot;System Libraries&quot; of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n&quot;Major Component&quot;, in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The &quot;Corresponding Source&quot; for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work&#x27;s\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users&#x27; Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work&#x27;s\nusers, your or third parties&#x27; legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program&#x27;s source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n &quot;keep intact all notices&quot;.\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n&quot;aggregate&quot; if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation&#x27;s users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A &quot;User Product&quot; is either (1) a &quot;consumer product&quot;, which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, &quot;normally used&quot; refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n &quot;Installation Information&quot; for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n &quot;Additional permissions&quot; are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered &quot;further\nrestrictions&quot; within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An &quot;entity transaction&quot; is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party&#x27;s predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A &quot;contributor&quot; is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor&#x27;s &quot;contributor version&quot;.\n\n A contributor&#x27;s &quot;essential patent claims&quot; are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, &quot;control&quot; includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor&#x27;s essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a &quot;patent license&quot; is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To &quot;grant&quot; such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. &quot;Knowingly relying&quot; means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient&#x27;s use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is &quot;discriminatory&quot; if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others&#x27; Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and&#x2F;or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License &quot;or any later version&quot; applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy&#x27;s\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND&#x2F;OR OTHER PARTIES PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND&#x2F;OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n</pre></section>",
697
+ "created_at": "2013-12-02 08:53:09 -0800",
698
+ "updated_at": "2013-12-02 08:53:09 -0800",
699
+ "deleted_at": null
700
+ },
701
+ "releases": [
702
+ {
703
+ "uri": "/v3/releases/theforeman-apache-1.4.0",
704
+ "version": "1.4.0"
705
+ },
706
+ {
707
+ "uri": "/v3/releases/theforeman-apache-1.3.0",
708
+ "version": "1.3.0"
709
+ },
710
+ {
711
+ "uri": "/v3/releases/theforeman-apache-1.2.0",
712
+ "version": "1.2.0"
713
+ },
714
+ {
715
+ "uri": "/v3/releases/theforeman-apache-1.2.0-rc3",
716
+ "version": "1.2.0-rc3"
717
+ },
718
+ {
719
+ "uri": "/v3/releases/theforeman-apache-1.2.0-rc2",
720
+ "version": "1.2.0-rc2"
721
+ },
722
+ {
723
+ "uri": "/v3/releases/theforeman-apache-1.2.0-rc1",
724
+ "version": "1.2.0-rc1"
725
+ }
726
+ ],
727
+ "homepage_url": "http://github.com/theforeman/foreman-installer",
728
+ "issues_url": "https://tickets.puppetlabs.com"
729
+ },
730
+ {
731
+ "uri": "/v3/modules/vStone-apache",
732
+ "name": "apache",
733
+ "downloads": 974,
734
+ "created_at": "2013-08-01 11:06:34 -0700",
735
+ "updated_at": "2014-01-03 04:10:55 -0800",
736
+ "owner": {
737
+ "uri": "/v3/users/vStone",
738
+ "username": "vStone",
739
+ "gravatar_id": "41835625a324201c796a0a0cffe4796b"
740
+ },
741
+ "current_release": {
742
+ "uri": "/v3/releases/vStone-apache-0.13.1",
743
+ "module": {
744
+ "uri": "/v3/modules/vStone-apache",
745
+ "name": "apache",
746
+ "owner": {
747
+ "uri": "/v3/users/vStone",
748
+ "username": "vStone",
749
+ "gravatar_id": "41835625a324201c796a0a0cffe4796b"
750
+ }
751
+ },
752
+ "version": "0.13.1",
753
+ "metadata": {
754
+ "name": "vstone-apache",
755
+ "version": "0.13.1",
756
+ "source": "git://github.com/vStone/puppet-apache.git",
757
+ "author": "Jan Vansteenkiste <jan@vstone.eu>",
758
+ "license": "Apache License Version 2.0",
759
+ "summary": "Manage apache and vhosts with puppet.",
760
+ "description": "Attempts to be an all-in-one-solution for managing apache and all kinds of mods",
761
+ "project_page": "https://github.com/vStone/puppet-apache",
762
+ "dependencies": [
763
+
764
+ ],
765
+ "types": [
766
+
767
+ ],
768
+ "checksums": {
769
+ "CHANGELOG": "d47708832e02b139f27aab6411b6484a",
770
+ "Gemfile": "292e9f117cdca91b8d216f646fb42285",
771
+ "Gemfile.lock": "a1fc60633bad50d76937092e9e0adabc",
772
+ "LICENSE": "3b83ef96387f14655fc854ddc3c6bd57",
773
+ "Modulefile": "b18045be1fc418259d7e40237eae7395",
774
+ "README.md": "dbf5cf3d417cd187aa9e81fcf2add10c",
775
+ "Rakefile": "6fe6a88c25193fbaaa51f570a970aac5",
776
+ "lib/puppet/parser/functions/always_array.rb": "54be1a142838369e13cec1aed1b2e7fa",
777
+ "lib/puppet/parser/functions/create_mods.rb": "9e6e3fd2cf73d53fdcb26222d707656e",
778
+ "lib/puppet/parser/functions/fix_apache_vars.rb": "56e2ad65f8522ff1b6fdbc486df9bef2",
779
+ "lib/puppet/parser/functions/format_logfile.rb": "c175737244db5dd9cac52d0624a0ff0f",
780
+ "lib/puppet/parser/functions/render_allow_deny.rb": "4fcc8a9f68f5e1fe5cad4e5be6810f95",
781
+ "manifests/augeas/rm.pp": "89b184de20e5db8586bf7ce7fbeaf864",
782
+ "manifests/augeas/rmnode.pp": "32aa2cba37cec0f8f61fc5de54833b19",
783
+ "manifests/augeas/set.pp": "117a55f730b5bfd50e835ebfeecf4723",
784
+ "manifests/augeas.pp": "ab37b1929c481c09bf0651a8b7726d14",
785
+ "manifests/confd/file.pp": "80529facbdb08e6faefffdff91ddf3ce",
786
+ "manifests/confd/file_concat.pp": "b98bfe9af124cb8b2737a455a998d3c1",
787
+ "manifests/confd/file_exists.pp": "00556cd71fa0ecdc19865f706cf6f38f",
788
+ "manifests/confd/symfile.pp": "a1db47730343c623415c356039d834f6",
789
+ "manifests/confd/symfile_concat.pp": "b2e40a3a175f2a5ba0354de32a9545ec",
790
+ "manifests/confd.pp": "b5cbc2975d33c59fa1d90f1986187c57",
791
+ "manifests/config/loadmodule.pp": "2f840843bb5f0c3035d88699f3545137",
792
+ "manifests/init.pp": "065395f9b88910cba200bf98b862b38c",
793
+ "manifests/listen.pp": "0c5587c09ebcfe8054c10b32157d9393",
794
+ "manifests/loader.pp": "4d024fd7924ebd42ed5f16d3613ad04d",
795
+ "manifests/logformat.pp": "510bfdffe3b6923996634243387ed433",
796
+ "manifests/logrotate.pp": "2b1cb7d80edd9e964913078fc97548d4",
797
+ "manifests/mod/cluster.pp": "e7aff97b4ecfd1750da6f535be73cab7",
798
+ "manifests/mod/headers.pp": "81619404a62528b3c979b88297aedd92",
799
+ "manifests/mod/info.pp": "b747ddfdcee2cf1d4346bfcf4fd72bb3",
800
+ "manifests/mod/passenger.pp": "0d17a119361358ff6eec72065e2df2de",
801
+ "manifests/mod/php.pp": "f490926b06e5135a4812f8fb244ae8bc",
802
+ "manifests/mod/prefork.pp": "aacbcd3435371d93b1e004c1421dfb3d",
803
+ "manifests/mod/reverse_proxy.pp": "d04705c5a019af07f64aad2b07eacaac",
804
+ "manifests/mod/rewrite.pp": "fc19f2d837b0f477c1f28692a068b8d4",
805
+ "manifests/mod/ssl.pp": "d2a94ca96e1abfb5f4973e4a745bcb80",
806
+ "manifests/mod/status.pp": "1dc72906fd55c5d0d42b0c95253c080c",
807
+ "manifests/mod/userdir.pp": "2444c2b92bebe1faab8d9541574d5ebc",
808
+ "manifests/mod/xsendfile.pp": "2edb2a0e8d17f2994dc3088532bf8abd",
809
+ "manifests/module.pp": "75cefa955e65e10eb253fd8fd2195ed5",
810
+ "manifests/namevhost.pp": "60a4da03e9fa6baa4b62bb4416673240",
811
+ "manifests/packages.pp": "27e11d5591a6b7a3907f8c8ae518bc22",
812
+ "manifests/params.pp": "c63565dee7438086dfa5753a5475b21b",
813
+ "manifests/security/redhat.pp": "b4df0a326f245bfd23cf4a14356a75a4",
814
+ "manifests/security.pp": "5e9f003b73b4e7697f6cd44b263f9e90",
815
+ "manifests/service.pp": "bfcee17a154f287fd9e9349cd47c4aa6",
816
+ "manifests/setup/listen.pp": "dfe3416cb73889485ff93fdf2b031a40",
817
+ "manifests/setup/logformat.pp": "6ea3b9a09bfa29e428832cd27f4a06c0",
818
+ "manifests/setup/mod.pp": "079090bf0d463ffb68ce83b3e82f7358",
819
+ "manifests/setup/namevhost.pp": "bd4d9ae800200eb72538cc63c41781b1",
820
+ "manifests/setup/os/debian.pp": "63209f3fc1dd3e52acb1b48e1c9ecbda",
821
+ "manifests/setup/os/redhat.pp": "303a6c8606db65716bec800067c467ae",
822
+ "manifests/setup/vhost.pp": "733bf45f0b0629f6aebb53fecff62376",
823
+ "manifests/setup.pp": "6eca4b67b7f7b6f6612c05cd7e04b4e5",
824
+ "manifests/sys/config/concat/main.pp": "7f664f831a90690eacf674835395ee1d",
825
+ "manifests/sys/config/concat/mod.pp": "87bf619e7e17d5f520e06cd860ea1016",
826
+ "manifests/sys/config/concat/params.pp": "dca666110c53123e60f3e5d156d78860",
827
+ "manifests/sys/config/debian_concat/main.pp": "c5130b82e5a0100f23fc50d2e088aa4b",
828
+ "manifests/sys/config/debian_concat/mod.pp": "3780153a707614d855a853d7909bcd9c",
829
+ "manifests/sys/config/debian_concat/params.pp": "4c0d296df851cc9e78b24b1195ed0416",
830
+ "manifests/sys/config/split/main.pp": "1099595fa44578a725adb404384021d4",
831
+ "manifests/sys/config/split/mod.pp": "89719559d3d4f8bee18d11727c95d702",
832
+ "manifests/sys/config/split/params.pp": "58e33d9d5f4139fe6b72a07a72ba17ce",
833
+ "manifests/sys/modfile.pp": "67ed8e0b54ff91445304d45a255359b4",
834
+ "manifests/sys/modpackage.pp": "cc95376e13889721db26aba78ce1178b",
835
+ "manifests/vhost/mod/advertise.pp": "f79e9fdfef260ecacbd4e1d4e2b28201",
836
+ "manifests/vhost/mod/dummy.pp": "93406a7a10e0312abcdd4583dd7cd805",
837
+ "manifests/vhost/mod/headers.pp": "274653d34ff5356fb8a8956e261ec104",
838
+ "manifests/vhost/mod/manager.pp": "2b3f3d8a723e4152b877c26595627fc0",
839
+ "manifests/vhost/mod/passenger.pp": "bd7c7efd717689ac56c6220c64623cb3",
840
+ "manifests/vhost/mod/passenger4.pp": "eddb33561a26b51eb7f084dcc533580d",
841
+ "manifests/vhost/mod/reverse_proxy.pp": "5b55f84f0d7e561969e06e109bb9cf40",
842
+ "manifests/vhost/mod/rewrite.pp": "0a1d4af54d9f040b0f0d1bba1ed706e8",
843
+ "manifests/vhost/mod/server_info.pp": "b15227663b875dffe97a5cdbc4f3498c",
844
+ "manifests/vhost/mod/server_status.pp": "6340a8cfc174a3d7c706de60c532d133",
845
+ "manifests/vhost/mod/userdir.pp": "a0b0b1a98396346ffc269e24dff42fee",
846
+ "manifests/vhost/mod/webdav.pp": "a971999369aa294a100ec99638d05a35",
847
+ "manifests/vhost/ssl.pp": "25519252efe08b153b31459efe3b9761",
848
+ "manifests/vhost.README.md": "b5887a439a283a8e9b83b8fe9c88528d",
849
+ "manifests/vhost.pp": "046cfb2f0eb2ffef4feadbff2e89d77e",
850
+ "spec/classes/apache_mod_passenger__spec.rb": "421c129398fa68b7c76a5406d277defc",
851
+ "spec/classes/apache_spec.rb": "8fe09ab88676fcdf4139e843016f8165",
852
+ "spec/functions/fix_apache_vars_spec.rb": "3bf36b96b8a9e6913cd4ba96ac7c80d9",
853
+ "spec/spec.opts": "19e24badad2823f90a3697dd99105209",
854
+ "spec/spec_helper.rb": "59a6141c1d38c259822fd0a0ba9be6fc",
855
+ "templates/augeas/set-insert.erb": "7dde3f78111d3599e51e206e63abc8a2",
856
+ "templates/confd/confd_include.erb": "839eee3fea733546c458fc4ff18fd7db",
857
+ "templates/confd/confd_warning.erb": "9577db3fa5d595599ca9e976a1cf3ffd",
858
+ "templates/confd/listen.erb": "3077ef3519eea4e4c1005532fc61c590",
859
+ "templates/confd/logformat.erb": "66afc539b8f5d0e48b666fa4251d4b17",
860
+ "templates/confd/namevhost.erb": "b2948e1fdef1c820fbee34efba758b32",
861
+ "templates/config/os/centos6-ssl.conf": "544c24d0a404826131895e841fb4d184",
862
+ "templates/logrotate-vhosts.erb": "7f7b5d85143a332855814d43b5c534af",
863
+ "templates/mod/cluster.erb": "498420d95ca92f04883be7c719a182dd",
864
+ "templates/msg/directive-allow-order-fail.erb": "9deb7cf5a6c062bb5084ea6f7ffa1ab6",
865
+ "templates/msg/listen-allinterfaces-warning.erb": "9280d2360b71ae25854fecfea186d4c2",
866
+ "templates/msg/listen-fail-ip-port-fromname.erb": "067c9f53e9e6b74b9739c60e1d7169cc",
867
+ "templates/msg/mod-revproxy-via-fail.erb": "901c9370ecc62e9b915e62aafd6abd4a",
868
+ "templates/msg/vhost-ensure-unvalid-warning.erb": "f9a5cb07f88a1708846741918865333a",
869
+ "templates/msg/vhost-notdef-listen-warning.erb": "7dcc000b68269e85c6e41c5dcf191499",
870
+ "templates/vhost/config/splitconfig_mod_content.erb": "ef5823f0eb98679a682696f2fdaf34f0",
871
+ "templates/vhost/config/splitconfig_vhost.erb": "1c9d0bf71e3ffcc7a919516bb134c6ce",
872
+ "templates/vhost/mod/_header.erb": "efd7567bcef717272970737443ea5143",
873
+ "templates/vhost/mod/advertise.erb": "96e89d95f3d47ea039908c87a1b28abb",
874
+ "templates/vhost/mod/dummy.erb": "d8be1bce56228ff26f39918dd5fe7480",
875
+ "templates/vhost/mod/headers.erb": "b588f56209faf6be113a1d7de89e26eb",
876
+ "templates/vhost/mod/manager.erb": "41e0f2daa448f668f2e643294325d091",
877
+ "templates/vhost/mod/passenger-3.erb": "3d0070b4ff98b02084391caf93f2010a",
878
+ "templates/vhost/mod/passenger-4.erb": "d71b8d766223a5baf8cb8aa779af36b5",
879
+ "templates/vhost/mod/reverse_proxy.erb": "e40cab5f29f4e90a24bb8251ef946504",
880
+ "templates/vhost/mod/rewrite.erb": "ff4d82b61a21c2211760ad31472d6d58",
881
+ "templates/vhost/mod/server_info.erb": "227fe09b70b8915cfc4f7e3db2689a8b",
882
+ "templates/vhost/mod/server_status.erb": "bffb6cfdc61b990b93e7ddf55c3771bd",
883
+ "templates/vhost/mod/userdir.erb": "957d571e37b20e723a4666ed992d2db4",
884
+ "templates/vhost/mod/webdav.erb": "1747c6e2fda1c290e66bbd277e5a2eaf",
885
+ "templates/vhost/virtualhost.erb": "d7edcdd32ee1a2be0d25d42a4bdbd5fb",
886
+ "templates/vhost/virtualhost_end.erb": "9ca746d48f6f0b7adb99f338fbfb6b6a",
887
+ "templates/vhost/virtualhost_ssl.erb": "05f983167afe1314d69497ed2aeb8ba8"
888
+ }
889
+ },
890
+ "tags": [
891
+ "apache,",
892
+ "complex,",
893
+ "overengineered"
894
+ ],
895
+ "file_uri": "/v3/files/vStone-apache-0.13.1.tar.gz",
896
+ "file_size": 50129,
897
+ "file_md5": "f4b93fdf02e0f5042a6f838a2c33ee0f",
898
+ "downloads": 238,
899
+ "readme": "<section class=\"markdown\"><h1>Usage</h1>\n\n<p>See the module documentation on top of apache::params and apache::vhost for\nmore information on how to use this module. Each class should be pretty well\ndocumented.</p>\n\n<p>You can find online (generated) documentation here:\n<a href=\"http://jenkins.vstone.eu/job/puppet-apache/Puppet_Docs/\">http://jenkins.vstone.eu/job/puppet-apache/Puppet_Docs/</a></p>\n\n<h2>Example:</h2>\n\n<pre lang=\"puppet\"><code>\n # We do not want puppet to restart the service.\n class {&#39;apache::params&#39;:\n notify_service =&gt; false,\n }\n\n # Basic apache setup.\n class {&#39;apache&#39;: }\n\n # So we will be using php.\n class {&#39;apache::mod::php&#39;: }\n\n # We will have some ssl vhosts.\n apache::listen {&#39;443&#39;:}\n apache::namevhost {&#39;443&#39;: }\n\n # Vhost example with the 2 rewrite rules.\n apache::vhost {&#39;myvhost.example.com&#39;:\n mods =&gt; {\n &#39;rewrite&#39; =&gt; [\n { rewrite_cond =&gt; &#39;foo&#39;, rewrite_rule =&gt; &#39;bar&#39;, },\n { rewrite_cond =&gt; &#39;fooo&#39;, rewrite_rule =&gt; &#39;baaar&#39;, },\n ],\n }\n }\n\n\n</code></pre>\n\n<h1>Requirements</h1>\n\n<ul>\n<li>augeas &gt;= 0.9.0</li>\n</ul>\n\n<h2>Debian</h2>\n\n<ul>\n<li>libaugeas0 &gt;= 0.9.0</li>\n<li>augeas-lenses &gt;= 0.9.0</li>\n<li>libaugeas-ruby &gt;= 0.3.0</li>\n</ul>\n\n<p>You can find up-to-date packages in squeeze-backports.</p>\n\n<h1>Release Notes:</h1>\n\n<h2>Upgrade to 0.9</h2>\n\n<p>If you are upgrading from a version earlier than 0.9, you no longer have to\nspecify <code>apache::listen{&#39;80&#39;: }</code> and <code>apache::namevhost{&#39;80&#39;:}</code>. These 2 are\nnow created by default. You can disable this behaviour by specifying</p>\n\n<pre lang=\"puppet\"><code>class {&#39;apache&#39;:\n defaults =&gt; false,\n}\n</code></pre>\n\n<h1>Notes:</h1>\n\n<p>You MUST define the apache::params class before importing apache if you want\nto use anything besides the default parameter settings. This is due to the\nparsing of the manifests. When you import apache, the apache::params module\nwill be included because most things require apache::params.</p>\n\n<h1>Bugs</h1>\n\n<p>If you run into bugs or would like to request a new feature (pull requests\nare also welcome... if you dare touch the code), please use the repository\nlocated here: <a href=\"https://github.com/vStone/puppet-apache/\">https://github.com/vStone/puppet-apache/</a></p>\n\n<h1>Todo</h1>\n\n<ul>\n<li>Proper debian style configuration. For now, I have not have enought time to test this.</li>\n<li>Tests...</li>\n</ul>\n</section>",
900
+ "changelog": "<section class=\"plaintext\"><pre>## 0.13.1\n\nUpdated a lot of documentation.\n</pre></section>",
901
+ "license": "<section class=\"plaintext\"><pre>\n Apache License\n Version 2.0, January 2004\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n &quot;License&quot; shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n &quot;Licensor&quot; shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n &quot;Legal Entity&quot; shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n &quot;control&quot; means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n &quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n &quot;Source&quot; form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n &quot;Object&quot; form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n &quot;Work&quot; shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n &quot;Derivative Works&quot; shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n &quot;Contribution&quot; shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, &quot;submitted&quot;\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as &quot;Not a Contribution.&quot;\n\n &quot;Contributor&quot; shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a &quot;NOTICE&quot; text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and&#x2F;or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets &quot;[]&quot;\n replaced with your own identifying information. (Don&#x27;t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same &quot;printed page&quot; as the copyright notice for easier\n identification within third-party archives.\n\n Copyright [yyyy] [name of copyright owner]\n\n Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n</pre></section>",
902
+ "created_at": "2013-08-02 01:22:19 -0700",
903
+ "updated_at": "2013-08-02 01:22:19 -0700",
904
+ "deleted_at": null
905
+ },
906
+ "releases": [
907
+ {
908
+ "uri": "/v3/releases/vStone-apache-0.13.1",
909
+ "version": "0.13.1"
910
+ },
911
+ {
912
+ "uri": "/v3/releases/vStone-apache-0.13.0",
913
+ "version": "0.13.0"
914
+ }
915
+ ],
916
+ "homepage_url": "https://github.com/vStone/puppet-apache",
917
+ "issues_url": "https://github.com/vStone/puppet-apache/issues"
918
+ },
919
+ {
920
+ "uri": "/v3/modules/DavidSchmitt-apache",
921
+ "name": "apache",
922
+ "downloads": 853,
923
+ "created_at": "2010-05-26 12:02:53 -0700",
924
+ "updated_at": "2014-01-04 22:52:42 -0800",
925
+ "owner": {
926
+ "uri": "/v3/users/DavidSchmitt",
927
+ "username": "DavidSchmitt",
928
+ "gravatar_id": "f41b1342c973956dba590327908cb349"
929
+ },
930
+ "current_release": {
931
+ "uri": "/v3/releases/DavidSchmitt-apache-1.0.0",
932
+ "module": {
933
+ "uri": "/v3/modules/DavidSchmitt-apache",
934
+ "name": "apache",
935
+ "owner": {
936
+ "uri": "/v3/users/DavidSchmitt",
937
+ "username": "DavidSchmitt",
938
+ "gravatar_id": "f41b1342c973956dba590327908cb349"
939
+ }
940
+ },
941
+ "version": "1.0.0",
942
+ "metadata": {
943
+ "name": "DavidSchmitt-apache",
944
+ "dependencies": [
945
+ {
946
+ "name": "DavidSchmitt-common",
947
+ "version_requirement": "1.0.0"
948
+ },
949
+ {
950
+ "name": "ripienaar-concat",
951
+ "version_requirement": "20100507"
952
+ }
953
+ ],
954
+ "author": "",
955
+ "license": "",
956
+ "version": "1.0.0",
957
+ "types": [
958
+
959
+ ],
960
+ "checksums": {
961
+ "manifests/debian.pp": "7efab43b7f77251b68171f24b54dd43e",
962
+ "README": "2a3adc3b053ef1004df0a02cefbae31f",
963
+ "manifests/awstats.pp": "7762a6b81fb7b16368ea28b1c7fb249b",
964
+ "manifests/site.pp": "42fd8398224736e997f44724dc0e8f77",
965
+ "templates/munin-stats": "06a348e62d68c65f766bc6f107bf4948",
966
+ "manifests/init.pp": "8a622c2c8a5ba375675f45bfe21d9e77",
967
+ "Modulefile": "ba672dbba5297ba5e238dd646e0991d0"
968
+ },
969
+ "source": ""
970
+ },
971
+ "tags": [
972
+ "webservers",
973
+ "apache"
974
+ ],
975
+ "file_uri": "/v3/files/DavidSchmitt-apache-1.0.0.tar.gz",
976
+ "file_size": 4401,
977
+ "file_md5": "38827a7c956b8da49b62b33d41e51b04",
978
+ "downloads": 853,
979
+ "readme": "<section class=\"plaintext\"><pre>Overview\n========\n\nThis module manages apache2 on Debian&#x2F;etch. There are defines to handle sites\nand modules the Debian Way.\n\nSee also the wiki page at http:&#x2F;&#x2F;reductivelabs.com&#x2F;trac&#x2F;puppet&#x2F;wiki&#x2F;Recipes&#x2F;DebianApache2Recipe\nwhich was originally written by Tim Stoop &lt;tim.stoop@gmail.com&gt;\n\nVariables\n=========\n\nThe primary port (default: 80) can be configured by setting $apache2_port in\nthe node scope.\n\nSetting $apache2_ssl to &quot;enabled&quot;, causes the SSL module to be installed and \nconfigured. Additionally apache2 is configured to listen on 443 or\n$apache2_ssl_port and use puppet&#x27;s certificate.\n\n\nClasses\n=======\n\nThe main class, apache2, installs apache2 with the default MPM. \n\nThe apache2::no_default_site variant additionally removes Debian&#x27;s default site\nconfiguration.\n\n\nTypes\n=====\n\nThis module provides types for site and module management.\n\n\tapache2::site (\n\t\t$ensure = {*present*, absent, &quot;filename&quot;},\n\t\t$require_package = {*apache2*, packagename},\n\t\t$content,\n\t\t$source,\n\t)\n\nThis type manages the &#x2F;etc&#x2F;apache2&#x2F;sites-available file and enables or disables\nthe &#x2F;etc&#x2F;apache2&#x2F;sites-enabled&#x2F;$name symlink by calling a2ensite or a2dissite\nas neccessary.\n\t\n\n\n\n\tapache2::module (\n\t\t$ensure = {*present*, absent},\n\t\t$require = {*apache2*, packagename}\n\t)\n\nThis type enables or disables the &#x2F;etc&#x2F;apache2&#x2F;mods-enabled&#x2F;$name symlink by\ncalling a2enmod or a2dismod as neccessary.\n\t\n\n\n\nMonitoring\n==========\n\nThe class installs a nagios service check for the primary port. Additionally\na NameVirtualHost for $hostname is configured where the server-status is\navailable for access from $ipaddress. This is used by the munin plugins\napache_accesses, apache_processes and apache_volume.\n\n\n\nTODO\n====\n\nThe site type should manage the sites-available file too, by providing\ncontent&#x2F;source parameters.\n\nWith the recent changes to &quot;require&quot; stacking, the site&#x27;s and module&#x27;s require\nparameter is obsolete.\n</pre></section>",
980
+ "changelog": null,
981
+ "license": null,
982
+ "created_at": "2010-05-26 12:03:12 -0700",
983
+ "updated_at": "2013-03-04 14:57:32 -0800",
984
+ "deleted_at": null
985
+ },
986
+ "releases": [
987
+ {
988
+ "uri": "/v3/releases/DavidSchmitt-apache-1.0.0",
989
+ "version": "1.0.0"
990
+ }
991
+ ],
992
+ "homepage_url": "http://github.com/DavidS/puppet-apache",
993
+ "issues_url": null
994
+ },
995
+ {
996
+ "uri": "/v3/modules/brightbox-apache",
997
+ "name": "apache",
998
+ "downloads": 847,
999
+ "created_at": "2012-06-09 12:16:58 -0700",
1000
+ "updated_at": "2014-01-03 00:58:05 -0800",
1001
+ "owner": {
1002
+ "uri": "/v3/users/brightbox",
1003
+ "username": "brightbox",
1004
+ "gravatar_id": "47f28b42f7dfe7115b339cbca7e84dd5"
1005
+ },
1006
+ "current_release": {
1007
+ "uri": "/v3/releases/brightbox-apache-1.0.1",
1008
+ "module": {
1009
+ "uri": "/v3/modules/brightbox-apache",
1010
+ "name": "apache",
1011
+ "owner": {
1012
+ "uri": "/v3/users/brightbox",
1013
+ "username": "brightbox",
1014
+ "gravatar_id": "47f28b42f7dfe7115b339cbca7e84dd5"
1015
+ }
1016
+ },
1017
+ "version": "1.0.1",
1018
+ "metadata": {
1019
+ "types": [
1020
+
1021
+ ],
1022
+ "author": "brightbox",
1023
+ "checksums": {
1024
+ "Modulefile": "a0277c19a7db53c3a40b040254ecf319",
1025
+ "spec/spec_helper.rb": "67329d39c5c3635f0b8f79dab5811ea3",
1026
+ "spec/classes/apache_modsecurity_spec.rb": "b2131c3a6d29fe39c0ce44fe770a797d",
1027
+ "templates/php-fastcgi.erb": "0e1617cdecbd9fa3dfcc23b83d5ba8fb",
1028
+ "templates/passenger.erb": "8d5235aed91955e941a1eff1eacaa772",
1029
+ "templates/ports.conf.erb": "f6b6edcf3f86d80f0afa53fd3f60c2be",
1030
+ "spec/classes/apache_spec.rb": "7d80f0ca4d6210cfc05a20bbd53b3681",
1031
+ "manifests/init.pp": "e3e308b0cbd683239eef7efe0578c590",
1032
+ "manifests/modsecurity.pp": "a0c8db939bb1a0b285af47da6a4cc368"
1033
+ },
1034
+ "dependencies": [
1035
+ {
1036
+ "name": "brightbox-apt",
1037
+ "version_requirement": ">= 1.0.0"
1038
+ }
1039
+ ],
1040
+ "summary": "Apache management",
1041
+ "source": "",
1042
+ "version": "1.0.1",
1043
+ "description": "Support for modules, sites, php, passenger, modsecurity and java",
1044
+ "license": "GPL3",
1045
+ "name": "brightbox-apache",
1046
+ "project_page": "https://github.com/brightbox/puppet"
1047
+ },
1048
+ "tags": [
1049
+ "apache",
1050
+ "web",
1051
+ "ruby",
1052
+ "passenger",
1053
+ "HTTP",
1054
+ "php",
1055
+ "modsecurity"
1056
+ ],
1057
+ "file_uri": "/v3/files/brightbox-apache-1.0.1.tar.gz",
1058
+ "file_size": 2918,
1059
+ "file_md5": "be3b293f15ffbec7ac0725f0c96efb06",
1060
+ "downloads": 702,
1061
+ "readme": null,
1062
+ "changelog": null,
1063
+ "license": null,
1064
+ "created_at": "2012-06-09 12:21:27 -0700",
1065
+ "updated_at": "2013-03-04 15:02:40 -0800",
1066
+ "deleted_at": null
1067
+ },
1068
+ "releases": [
1069
+ {
1070
+ "uri": "/v3/releases/brightbox-apache-1.0.1",
1071
+ "version": "1.0.1"
1072
+ },
1073
+ {
1074
+ "uri": "/v3/releases/brightbox-apache-1.0.0",
1075
+ "version": "1.0.0"
1076
+ }
1077
+ ],
1078
+ "homepage_url": "https://github.com/brightbox/puppet",
1079
+ "issues_url": "https://github.com/brightbox/puppet/issues"
1080
+ },
1081
+ {
1082
+ "uri": "/v3/modules/saltycowdawg-apache",
1083
+ "name": "apache",
1084
+ "downloads": 546,
1085
+ "created_at": "2012-02-19 20:52:54 -0800",
1086
+ "updated_at": "2014-01-03 00:44:16 -0800",
1087
+ "owner": {
1088
+ "uri": "/v3/users/saltycowdawg",
1089
+ "username": "saltycowdawg",
1090
+ "gravatar_id": "69d914a0d3f73874f642cb6887cc74b2"
1091
+ },
1092
+ "current_release": {
1093
+ "uri": "/v3/releases/saltycowdawg-apache-0.0.5",
1094
+ "module": {
1095
+ "uri": "/v3/modules/saltycowdawg-apache",
1096
+ "name": "apache",
1097
+ "owner": {
1098
+ "uri": "/v3/users/saltycowdawg",
1099
+ "username": "saltycowdawg",
1100
+ "gravatar_id": "69d914a0d3f73874f642cb6887cc74b2"
1101
+ }
1102
+ },
1103
+ "version": "0.0.5",
1104
+ "metadata": {
1105
+ "dependencies": [
1106
+
1107
+ ],
1108
+ "name": "saltycowdawg-apache",
1109
+ "project_page": "UNKNOWN",
1110
+ "author": "saltycowdawg",
1111
+ "license": "GPL",
1112
+ "version": "0.0.5",
1113
+ "checksums": {
1114
+ "spec/spec_helper.rb": "ca19ec4f451ebc7fdb035b52eae6e909",
1115
+ "README": "183e7a15a07b6ee5f6d76619e1a02a21",
1116
+ "tests/init.pp": "4eac4a7ef68499854c54a78879e25535",
1117
+ "spec/spec.opts": "a600ded995d948e393fbe2320ba8e51c",
1118
+ "metadata.json": "d34d0b70aba36510fbc2df4e667479ef",
1119
+ "manifests/init.pp": "312096c40a73f7575404163f8adccec6",
1120
+ "Modulefile": "4fca54a6af2c1c0da397190f42e5ba08"
1121
+ },
1122
+ "types": [
1123
+
1124
+ ],
1125
+ "summary": "Manage installation and configuration of apache",
1126
+ "description": "Install apache package and configurations",
1127
+ "source": "UNKNOWN"
1128
+ },
1129
+ "tags": [
1130
+ "apache",
1131
+ "web",
1132
+ "httpd",
1133
+ "server"
1134
+ ],
1135
+ "file_uri": "/v3/files/saltycowdawg-apache-0.0.5.tar.gz",
1136
+ "file_size": 1549,
1137
+ "file_md5": "91a0758c508f2ca234548c8f24a3faff",
1138
+ "downloads": 546,
1139
+ "readme": "<section class=\"plaintext\"><pre>apache\n\nThis is the apache module.\n</pre></section>",
1140
+ "changelog": null,
1141
+ "license": null,
1142
+ "created_at": "2012-02-22 14:52:34 -0800",
1143
+ "updated_at": "2013-03-04 14:59:04 -0800",
1144
+ "deleted_at": null
1145
+ },
1146
+ "releases": [
1147
+ {
1148
+ "uri": "/v3/releases/saltycowdawg-apache-0.0.5",
1149
+ "version": "0.0.5"
1150
+ }
1151
+ ],
1152
+ "homepage_url": "",
1153
+ "issues_url": ""
1154
+ },
1155
+ {
1156
+ "uri": "/v3/modules/evenup-apache",
1157
+ "name": "apache",
1158
+ "downloads": 435,
1159
+ "created_at": "2013-04-18 09:18:40 -0700",
1160
+ "updated_at": "2014-01-03 03:49:22 -0800",
1161
+ "owner": {
1162
+ "uri": "/v3/users/evenup",
1163
+ "username": "evenup",
1164
+ "gravatar_id": "57199d05662772a2c1f82521caaaf7e6"
1165
+ },
1166
+ "current_release": {
1167
+ "uri": "/v3/releases/evenup-apache-2.0.0",
1168
+ "module": {
1169
+ "uri": "/v3/modules/evenup-apache",
1170
+ "name": "apache",
1171
+ "owner": {
1172
+ "uri": "/v3/users/evenup",
1173
+ "username": "evenup",
1174
+ "gravatar_id": "57199d05662772a2c1f82521caaaf7e6"
1175
+ }
1176
+ },
1177
+ "version": "2.0.0",
1178
+ "metadata": {
1179
+ "license": "Apache",
1180
+ "version": "2.0.0",
1181
+ "types": [
1182
+
1183
+ ],
1184
+ "description": "Installs, configures, and runs the apache service. Maintains module config files and vhosts.",
1185
+ "source": "UNKNOWN",
1186
+ "checksums": {
1187
+ "files/mod_security.d/activated_rules/modsecurity_35_scanners.data": "b3f7bad41c7f79d499f6ee3e413671cb",
1188
+ "CHANGELOG": "2adcad4f84090147fd511310f3c1f530",
1189
+ "templates/vhost/30-docroot.conf.erb": "9928cba32ab653b7b9e1eca48720651e",
1190
+ "spec/defines/apache_securefile.rb": "5b809c6e08580c444c65e33f8ee0279c",
1191
+ "spec/classes/apache_userdir_spec.rb": "aa4358ad08e5ea5dd2b589df9f27f675",
1192
+ "manifests/vhost.pp": "ac130e1538939babb500812841eab7ab",
1193
+ "spec/defines/apache_namevirtualhost_spec.rb": "269c1f9a08985c089a7c6ed8ed75d692",
1194
+ "spec/classes/apache_python_spec.rb": "83eb50db2e48debcba842aa99c085138",
1195
+ "templates/ssl.conf": "a961d7cd2731f93006b08634d438ae9a",
1196
+ "files/mod_security.d/activated_rules/modsecurity_35_bad_robots.data": "ea9d65ca6ffaf4294cfd07a20c4519d1",
1197
+ "manifests/wsgi.pp": "abfc660ba2abeeca57cedecfc3bcb83d",
1198
+ "files/mod_security.d/activated_rules/modsecurity_crs_47_common_exceptions.conf": "886dd952c64b07ba2a0847e1d96625eb",
1199
+ "Modulefile": "433d98e426d9052f5ca3d9a6541bb342",
1200
+ "manifests/status.pp": "51d0863c8b84d84b283003f8fd5d5836",
1201
+ "templates/vhost/20-aliases.conf.erb": "aadcdaeca6f040c8640aa29bc1a1448f",
1202
+ "templates/vhost/01-header.conf.erb": "7fe0b81eb79af50c523af80b1ecf9a74",
1203
+ "files/mod_security.d/activated_rules/modsecurity_crs_21_protocol_anomalies.conf": "4e50281b2bd831e1417a5ce4cc763430",
1204
+ "spec/classes/apache_wsgi_spec.rb": "9a29c4770b8049339b406a8ea1b92ffd",
1205
+ "manifests/ssl.pp": "890cfdb9eae8ee953fddb859a826aee2",
1206
+ "files/mod_security.d/activated_rules/modsecurity_crs_59_outbound_blocking.conf": "b7097d7785f29c549032bb4fdc5344df",
1207
+ "files/mod_security.d/activated_rules/modsecurity_40_generic_attacks.data": "984a799c59ce6722cbf7acce0412280c",
1208
+ "manifests/service.pp": "52cccd415e46bd678ceae495ed8f5799",
1209
+ "templates/vhost/10-redirect_http.conf.erb": "7f83a9c4bb0bb461ef4af8dcc7f505eb",
1210
+ "manifests/mod_security.pp": "1bf53a6408f29ee97cd8bf0746b1da1b",
1211
+ "spec/defines/apache_vhost_spec.rb": "d9ac637a2e0864faa72eb86dcd92c98c",
1212
+ "manifests/python.pp": "c573f45c5cd7ce3f0e599e375a4328f5",
1213
+ "spec/spec_helper.rb": "5707481fc513f0b892b91788ee9c4bbd",
1214
+ "templates/passenger.conf": "63d482c99986285863461752e893bab5",
1215
+ "files/mod_security.d/activated_rules/modsecurity_crs_49_inbound_blocking.conf": "34240b0b8745ca6f70ff250a782a2dbb",
1216
+ "files/mod_security.d/activated_rules/modsecurity_crs_20_protocol_violations.conf": "d296b2319cf15310874d696909f9261d",
1217
+ "templates/wsgi.conf": "004f8ab23575544bf4b8284ed27c8e23",
1218
+ "manifests/cfgfile.pp": "44cfece76ef8a104577c4039d68f4cee",
1219
+ "files/httpd.sysconfig": "46953ae9c76c9ef980f58e19de37d930",
1220
+ "templates/vhost/ajp.conf.erb": "6c255c3b7f9c0b5c7ba34997f074d659",
1221
+ "spec/classes/apache_service_spec.rb": "4dc5e173d9ebacb8028b7eeeda0b3230",
1222
+ "templates/vhost/40-locations.conf.erb": "7edffedeeb41813591d2216c22b2bce0",
1223
+ "files/mod_security.d/activated_rules/modsecurity_crs_23_request_limits.conf": "6c9466ce99af216d678ee8089e30a632",
1224
+ "templates/vhost/35-proxy_thin.conf.erb": "2faed460842249624901b692bd5259ff",
1225
+ "files/mod_security.d/activated_rules/modsecurity_crs_35_bad_robots.conf": "262635bf64b21fe65de2828c4efe9d73",
1226
+ "files/mod_security.d/activated_rules/modsecurity_50_outbound.data": "01702c7e10710ba4154969ee1f2e1876",
1227
+ "manifests/init.pp": "57fdb0408ffb248818a84dce32ba460b",
1228
+ "files/mod_security.d/activated_rules/modsecurity_crs_30_http_policy.conf": "3d2215075cabcdb44c8b1b0357f20e4c",
1229
+ "manifests/namevhost.pp": "f62e95717d261266730a57ee1545448a",
1230
+ "files/mod_security.d/activated_rules/modsecurity_crs_42_tight_security.conf": "e80950d3e0093f1cb1072d8aff3ab488",
1231
+ "spec/classes/apache_init_spec.rb": "0a80292e5cbfb6c26bae544df37bcb90",
1232
+ "templates/vhost/99-footer.conf.erb": "e27b2525783e590ca1820f1e2118285d",
1233
+ "LICENSE": "6a34c40bb8fa2134a463a814bae7dbe6",
1234
+ "spec/classes/apache_status_spec.rb": "a9f90ed60eb694cd55162ecb024c71b1",
1235
+ "files/mod_security.d/activated_rules/modsecurity_50_outbound_malware.data": "1931e7aef602b80b582bd793817c2b44",
1236
+ "spec/classes/apache_passenger_spec.rb": "35a7955b0590ff8e6271bded2539fd40",
1237
+ "templates/mod_security.conf": "a4ca1b658fc03fbe3415aab3e9698f76",
1238
+ "files/mod_security.d/activated_rules/modsecurity_crs_40_generic_attacks.conf": "6e71f9769f76e729560d60efdbfceacd",
1239
+ "files/mod_security.d/activated_rules/modsecurity_crs_41_sql_injection_attacks.conf": "0ee54a9b6dd2c872d107aac6433137d7",
1240
+ "templates/vhost/15-ssl.conf.erb": "476ff33f40ad775d0736c6d6b0adb078",
1241
+ "templates/vhost/25-site_directives.conf.erb": "b8d88dab1ab74f84ef36d9a6cc14ede7",
1242
+ "manifests/securefile.pp": "bb2c4f8566ee2b138159948e03a0984f",
1243
+ "templates/vhost/35-proxy_tomcat.conf.erb": "8700d102edb59ae4ee58799afa23de90",
1244
+ "manifests/passenger.pp": "4fac02dd151c2584640b782a0095c6f2",
1245
+ "manifests/install.pp": "89856dfc1962a7e50b3f4b59a2305e6e",
1246
+ "manifests/mod_evasive.pp": "96eefd0c91e9a5d6d2c50ce2383d56ff",
1247
+ "templates/vhost/35-proxy_generic.conf.erb": "86419b618636fb6718af7bdcac813cac",
1248
+ "spec/classes/apache_install_spec.rb": "e66b0998758c9af77a34b58b2b3bec09",
1249
+ "templates/mod_evasive.conf": "e7294eae967a243e07df02ffe89443a8",
1250
+ "Rakefile": "f37e6131fe7de9a49b09d31596f5fbf1",
1251
+ "README.md": "9e60f5db82c21ec302feb497cc141686",
1252
+ "templates/python.conf": "002de5e21d8c011181fa912f9c2c7a7f",
1253
+ "templates/vhost/45-modsec.conf.erb": "68a98742c58a75d729d81385ebc6852d",
1254
+ "Gemfile": "fa52fbc6974ce6e08b25564319366442",
1255
+ "spec/defines/apache_cfgfile_spec.rb": "59c59d30b7be855c2bfb2e8c7faa90e1",
1256
+ "files/httpd.conf": "9838e3471702474949e5bf035f608fb1",
1257
+ "templates/userdir.conf": "93b4fc8fd0a5c2156473e54c21cdf4d6",
1258
+ "files/mod_security.d/activated_rules/modsecurity_crs_50_outbound.conf": "95c233d3ded439bb63cafcff7c2e7b82",
1259
+ "spec/classes/apache_ssl_spec.rb": "2eece0eacd007ae57923e7ea4e89baf7",
1260
+ "spec/classes/apache_mod_evasive_spec.rb": "fc12b2ee74b87cdc1af12c021e64027f",
1261
+ "files/mod_security.d/modsecurity_crs_10_config.conf": "bb7343ef92ebb8cd49b0bbcdd24cd666",
1262
+ "files/mod_security.d/activated_rules/modsecurity_crs_45_trojans.conf": "50bbcf95888eb4fbd9a9eadfb4640f9a",
1263
+ "files/mod_security.d/activated_rules/modsecurity_crs_41_xss_attacks.conf": "218fe638733aaa6cb9ee583480beef2c",
1264
+ "manifests/userdir.pp": "3fac3e79d202b4faed096fef85a56e07",
1265
+ "files/mod_security.d/activated_rules/modsecurity_crs_60_correlation.conf": "0b06b06fd6ef64979105395bf70ecce5",
1266
+ "manifests/monitoring/sensu.pp": "98536c68bba70dc78c98de53b8843bfb",
1267
+ "files/mod_security.d/activated_rules/modsecurity_41_sql_injection_attacks.data": "13c505eded2a528130101d0181dfb3ad",
1268
+ "templates/status.conf": "2adb889c41f469e42d53444ccd58e0a6",
1269
+ "spec/classes/apache_mod_security_spec.rb": "e5879ae7e2f8e3df2b484c93ee9e4810"
1270
+ },
1271
+ "summary": "Manages apache.",
1272
+ "dependencies": [
1273
+ {
1274
+ "version_requirement": ">= 1.0.0",
1275
+ "name": "evenup/logrotate"
1276
+ },
1277
+ {
1278
+ "name": "evenup/beaver"
1279
+ },
1280
+ {
1281
+ "version_requirement": ">= 3.2.0",
1282
+ "name": "puppetlabs/stdlib"
1283
+ },
1284
+ {
1285
+ "version_requirement": ">= 0.2.0",
1286
+ "name": "ripienaar/concat"
1287
+ }
1288
+ ],
1289
+ "author": "Justin Lambert <jlambert@letsevenup.com>",
1290
+ "project_page": "https://github.com/evenup/evenup-apache",
1291
+ "name": "evenup-apache"
1292
+ },
1293
+ "tags": [
1294
+ "apache",
1295
+ "vhost",
1296
+ "ajp",
1297
+ "centos",
1298
+ "CentOS"
1299
+ ],
1300
+ "file_uri": "/v3/files/evenup-apache-2.0.0.tar.gz",
1301
+ "file_size": 100667,
1302
+ "file_md5": "4744e2ac943f86f0a2a64196e6037996",
1303
+ "downloads": 435,
1304
+ "readme": "<section class=\"markdown\"><h1>What is it?</h1>\n\n<p>A puppet module that installs apache with mod_evasive and mod_security \n(optional). This module has been written and tested on CentOS 6 and is \nprimarily used for configuring apache as a proxy for Tomcat via AJP and other\nservices via TCP, but it also has support for mod_passenger, mod_python, and\nmod_wsgi as well. </p>\n\n<p>Disabling mod_security by vhost, rule, or IP are provided. JSON logging for\nvhosts allowing easy import into logstash is available.</p>\n\n<p>Support for SSL certificates, password files, or any other sensitive \ninformation may be installed installed to a limted access directory through\napache::securefile.</p>\n\n<p>Monitoring by <a href=\"http://sensuapp.org\">sensu</a> is provided, but\nadditional monitoring solutions can easily be added.</p>\n\n<h2>Usage:</h2>\n\n<p>Generic apache install</p>\n\n<pre>\n class { 'apache': }\n</pre>\n\n<p>Adding a NameVirtualHost on port 80:</p>\n\n<pre>\n apache::namevhost { '80': }\n</pre>\n\n<p>Generic config files:</p>\n\n<pre>\n apache::cfgfile { 'myapp':\n content => template('mymodule/apache.cfg'),\n filename => 'myapp.cfg',\n }\n</pre>\n\n<p>Tomcat AJP proxy with http -&gt; https redirect:</p>\n\n<pre>\n apache::vhost { 'example-http':\n port => 80,\n serverName => $::fqdn,\n serverAlias => [ 'example.com' ],\n redirectToHTTPS => true,\n logstash => true,\n }\n\n apache::vhost { 'example-https':\n serverName => $::fqdn,\n serverAlias => [ 'example.com' ],\n proxy => true,\n proxyTomcat => true,\n port => 443,\n rewrite_to_https => true,\n modSecOverrides => true,\n modSecRemoveById => [ '11111' ],\n logstash => true,\n }\n</pre>\n\n<p>TCP proxy:</p>\n\n<pre>\n apache::vhost { 'newservice':\n port => 80,\n serverName => $::fqdn,\n serverAlias => [ 'newservice.example.com' ],\n proxy => true,\n proxyThin => true,\n thinPort => 3000,\n thinNumServers => 3,\n modSecOverrides => true,\n modSecRemoveById => [ '970901', '960015' ],\n logstash => true,\n }\n</pre>\n\n<p>Static content:</p>\n\n<pre>\n apache::vhost { 'example.com':\n serverName => $::fqdn,\n serverAlias => ['www.example.com', 'example.com'],\n docroot => '/var/www/html/example',\n modSecOverrides => true,\n modSecRemoveById => [ '970901', '960015' ];\n }\n</pre>\n\n<h2>Known Issues:</h2>\n\n<p>Only tested on CentOS 6</p>\n\n<p>TODO:</p>\n\n<hr>\n\n<p>[ ] Make mod_evasive optional\n[ ] Make mod_status optional and configurable\n[ ] Allow disabling mod_security by file\n[ ] Improve documentation, complex module</p>\n\n<p>License:</p>\n\n<hr>\n\n<p>Released under the Apache 2.0 licence</p>\n\n<h2>Contribute:</h2>\n\n<ul>\n<li>Fork it</li>\n<li>Create a topic branch</li>\n<li>Improve/fix (with spec tests)</li>\n<li>Push new topic branch</li>\n<li>Submit a PR</li>\n</ul>\n</section>",
1305
+ "changelog": "<section class=\"plaintext\"><pre>v2.0.0:\n Initial public release\n</pre></section>",
1306
+ "license": "<section class=\"plaintext\"><pre> Copyright 2013 EvenUp Inc\n\n Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n</pre></section>",
1307
+ "created_at": "2013-04-18 09:20:47 -0700",
1308
+ "updated_at": "2013-04-18 09:20:47 -0700",
1309
+ "deleted_at": null
1310
+ },
1311
+ "releases": [
1312
+ {
1313
+ "uri": "/v3/releases/evenup-apache-2.0.0",
1314
+ "version": "2.0.0"
1315
+ }
1316
+ ],
1317
+ "homepage_url": "https://github.com/evenup/evenup-apache",
1318
+ "issues_url": "https://github.com/evenup/evenup-apache/issues"
1319
+ },
1320
+ {
1321
+ "uri": "/v3/modules/arusso-apache",
1322
+ "name": "apache",
1323
+ "downloads": 394,
1324
+ "created_at": "2013-05-30 00:07:14 -0700",
1325
+ "updated_at": "2014-01-03 04:26:57 -0800",
1326
+ "owner": {
1327
+ "uri": "/v3/users/arusso",
1328
+ "username": "arusso",
1329
+ "gravatar_id": "83bd473bcbb35670a605d686b75b378f"
1330
+ },
1331
+ "current_release": {
1332
+ "uri": "/v3/releases/arusso-apache-0.0.5",
1333
+ "module": {
1334
+ "uri": "/v3/modules/arusso-apache",
1335
+ "name": "apache",
1336
+ "owner": {
1337
+ "uri": "/v3/users/arusso",
1338
+ "username": "arusso",
1339
+ "gravatar_id": "83bd473bcbb35670a605d686b75b378f"
1340
+ }
1341
+ },
1342
+ "version": "0.0.5",
1343
+ "metadata": {
1344
+ "checksums": {
1345
+ "manifests/install.pp": "bd234c453a28a375d199659e284c0283",
1346
+ "LICENSE": "fbfe578caf7e0886e3aae63cdc7c27a3",
1347
+ "files/proxy_ajp.conf": "b6c78d22064262741cd2043ca18118b3",
1348
+ "CHANGELOG": "508b4de49447ead9c2771e633f9f618a",
1349
+ "manifests/init.pp": "436ec6abb3b5486147f637dda01ccf3c",
1350
+ "README.markdown": "860470aa9425e0d727899d7a19a9f8b9",
1351
+ "Modulefile": "143ff2309490d4712a998c009919dc59",
1352
+ "manifests/vhost.pp": "1b340eea011e71148e75b7f61ab496d7",
1353
+ "files/vhost-zzz-localhost.conf": "eab3019a920c1873a35adec3433a2e58",
1354
+ "templates/vhost.conf.erb": "f752acb15e1b91a7986d4c70224289f4",
1355
+ "manifests/mod/php.pp": "b0fc374c93b38cb886660ad021cb3519",
1356
+ "files/vhost-ssl.include": "c3fe7c8809fa145f729369329b5e13a3",
1357
+ "manifests/mod/proxy_ajp.pp": "7a56a005a6c27288e45bf59df7e30194",
1358
+ "files/php.conf": "50015ff8bb23090aae4f8556987c5e40",
1359
+ "manifests/service.pp": "6761b98da8568d5c7121ef686d1b06e1",
1360
+ "manifests/params.pp": "3683c268fcecfd02b6e36f391a5bb4f7",
1361
+ "manifests/namevirtualhost.pp": "55f023ac7c7c2aaad5380206f94845c6",
1362
+ "manifests/mod.pp": "c146e1d8db6b91185b62c8cb1364a523",
1363
+ "manifests/mod/ssl.pp": "7ffce2ab890f249392cb40379f3bbb7a",
1364
+ "files/vhost.include": "bfa9574669c87775e8a0d9c81d589db8",
1365
+ "templates/httpd.conf.erb.el6": "f9971fbf59ad1561ba397b11123b2b5b",
1366
+ "templates/httpd.conf.erb.el5": "bd10e344abee0f1abc1249097e6e1aad",
1367
+ "files/ssl.conf": "fc69477111daeb3d5376e6e388d5e63f",
1368
+ "manifests/config.pp": "eda2ba9bfa618f0f1ece01ab70f2ff35"
1369
+ },
1370
+ "description": "This module manages the apache web server, foo.",
1371
+ "project_page": "UNKNOWN",
1372
+ "summary": "Apache Web Server Management",
1373
+ "source": "UNKNOWN",
1374
+ "dependencies": [
1375
+ {
1376
+ "version_requirement": ">= 0.0.1",
1377
+ "name": "arusso/oski"
1378
+ },
1379
+ {
1380
+ "version_requirement": ">= 2.6.0",
1381
+ "name": "puppetlabs/stdlib"
1382
+ }
1383
+ ],
1384
+ "author": "arusso",
1385
+ "version": "0.0.5",
1386
+ "name": "arusso-apache",
1387
+ "types": [
1388
+
1389
+ ],
1390
+ "license": "MIT License"
1391
+ },
1392
+ "tags": [
1393
+ "apache",
1394
+ "rhel"
1395
+ ],
1396
+ "file_uri": "/v3/files/arusso-apache-0.0.5.tar.gz",
1397
+ "file_size": 31798,
1398
+ "file_md5": "68f18e110ffa502fd76514e56dc440a7",
1399
+ "downloads": 162,
1400
+ "readme": "<section class=\"markdown\"><h1>apache Module</h1>\n\n<p>This module manages apache, with emphasis on setting up virtual hosts and\nmanaging ssl.</p>\n\n<h1>Examples</h1>\n\n<pre lang=\"puppet\"><code> # configure the global apache\n class { &#39;apache&#39;:\n ensure =&gt; running,\n enable =&gt; true,\n server_admin =&gt; &#39;webmaster@example.com&#39;,\n }\n\n # setup a vhost for www.example.com, mark it as the default vhost and\n # add a few aliases.\n apache::vhost { &#39;www.example.com&#39;:\n is_default =&gt; true,\n server_name =&gt; &#39;www.example.com&#39;,\n server_alias =&gt; [ &#39;www-2.example.com&#39;,\n &#39;blog.example.com&#39; ],\n ssl =&gt; false,\n }\n\n # if server_name is not specified, the $namevar is used. So in this case\n # server_name = &#39;www2.example.com&#39;. This one has ssl setup using a\n # self-signed cert (since not intermedaite cert is provided).\n apache::vhost { &#39;www2.example.com&#39;:\n ssl =&gt; true,\n ssl_key_file =&gt; &#39;/etc/pki/tls/private/private.key&#39;,\n ssl_crt_file =&gt; &#39;/etc/pki/tls/certs/public.crt&#39;,\n }\n\n # another ssl example, this time with an intermediate cert being provided\n apache::vhost { &#39;www3.example.com:\n ssl =&gt; true,\n ssl_key_file =&gt; &#39;/etc/pki/tls/private/private.key&#39;,\n ssl_crt_file =&gt; &#39;/etc/pki/tls/certs/public.crt&#39;,\n ssl_int_file =&gt; &#39;/etc/pki/tls/certs/intermediate.crt&#39;,\n }\n</code></pre>\n\n<h2>License</h2>\n\n<p>See LICENSE file</p>\n\n<h2>Copyright</h2>\n\n<p>Copyright &copy; 2013 The Regents of the University of California</p>\n\n<h2>Contact</h2>\n\n<p>Aaron Russo <a href=\"mailto:arusso@berkeley.edu\">arusso@berkeley.edu</a></p>\n\n<h2>Support</h2>\n\n<p>Please log tickets and issues at the\n<a href=\"https://github.com/arusso/puppet-apache/issues/\">Projects site</a></p>\n</section>",
1401
+ "changelog": "<section class=\"plaintext\"><pre>2013-10-07 Aaron Russo &lt;arusso@berkeley.edu&gt; - 0.0.5\n* Issue#9: Allow override of Ssl::Cert dependencies\n\n2013-10-03 Aaron Russo &lt;arusso@berkeley.edu&gt; - 0.0.4\n* Issue#6: Ability to enable&#x2F;disable include files\n* Issue#8: Implemented unused document_root parameter in vhosts\n\n2013-09-19 Aaron Russo &lt;arusso@berkeley.edu&gt; - 0.0.3\n* Issue#1: adding NameVirtualHost lines\n* Issue#2: replaced priority parameter with is_default\n* Issue#3: removed version parameter from apache class\n* Issue#4: removed params_lookup function for default param values\n\n2013-06-02 Aaron Russo &lt;arusso@berkeley.edu&gt; - 0.0.2\n* updating docs for acct rename\n\n2013-05-28 Aaron Russo &lt;arusso@berkeley.edu&gt; - 0.0.1\n* Initial Release\n</pre></section>",
1402
+ "license": "<section class=\"plaintext\"><pre>The MIT License (MIT)\n\nCopyright (c) 2013 The Regents of the University of California\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the &quot;Software&quot;), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and&#x2F;or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n</pre></section>",
1403
+ "created_at": "2013-10-07 14:22:59 -0700",
1404
+ "updated_at": "2013-10-07 14:22:59 -0700",
1405
+ "deleted_at": null
1406
+ },
1407
+ "releases": [
1408
+ {
1409
+ "uri": "/v3/releases/arusso-apache-0.0.5",
1410
+ "version": "0.0.5"
1411
+ },
1412
+ {
1413
+ "uri": "/v3/releases/arusso-apache-0.0.4",
1414
+ "version": "0.0.4"
1415
+ },
1416
+ {
1417
+ "uri": "/v3/releases/arusso-apache-0.0.3",
1418
+ "version": "0.0.3"
1419
+ },
1420
+ {
1421
+ "uri": "/v3/releases/arusso-apache-0.0.1",
1422
+ "version": "0.0.1"
1423
+ }
1424
+ ],
1425
+ "homepage_url": "https://github.com/arusso23/puppet-apache",
1426
+ "issues_url": "https://github.com/arusso23/puppet-apache/issues"
1427
+ },
1428
+ {
1429
+ "uri": "/v3/modules/JonTheNiceGuy-simple_apache_vhost",
1430
+ "name": "simple_apache_vhost",
1431
+ "downloads": 323,
1432
+ "created_at": "2013-05-21 06:33:36 -0700",
1433
+ "updated_at": "2014-01-03 03:44:37 -0800",
1434
+ "owner": {
1435
+ "uri": "/v3/users/JonTheNiceGuy",
1436
+ "username": "JonTheNiceGuy",
1437
+ "gravatar_id": "835f44d1c523f16a8669628c7dc02cbe"
1438
+ },
1439
+ "current_release": {
1440
+ "uri": "/v3/releases/JonTheNiceGuy-simple_apache_vhost-0.0.2",
1441
+ "module": {
1442
+ "uri": "/v3/modules/JonTheNiceGuy-simple_apache_vhost",
1443
+ "name": "simple_apache_vhost",
1444
+ "owner": {
1445
+ "uri": "/v3/users/JonTheNiceGuy",
1446
+ "username": "JonTheNiceGuy",
1447
+ "gravatar_id": "835f44d1c523f16a8669628c7dc02cbe"
1448
+ }
1449
+ },
1450
+ "version": "0.0.2",
1451
+ "metadata": {
1452
+ "name": "JonTheNiceGuy-simple_apache_vhost",
1453
+ "version": "0.0.2",
1454
+ "source": "UNKNOWN",
1455
+ "author": "JonTheNiceGuy",
1456
+ "license": "Apache License, Version 2.0",
1457
+ "summary": "This puppet module provisions a single simple Apache vhost in both HTTP and HTTPS modes, enabling pretty URLs and custom base file paths",
1458
+ "description": "This puppet module provisions a single simple Apache vhost in both HTTP and HTTPS modes. The provisioned vhost has in-built rewrite rules to point HTTP traffic to the HTTPS site, or to follow the same rules as the HTTPS component. The \"default\" rewrite rules point all unfound locations to the index.php in the stated path.",
1459
+ "project_page": "https://github.com/JonTheNiceGuy/JonTheNiceGuy-simple_apache_vhost",
1460
+ "dependencies": [
1461
+
1462
+ ],
1463
+ "types": [
1464
+
1465
+ ],
1466
+ "checksums": {
1467
+ "Modulefile": "7829c9d356394499bd793d2e953e9a29",
1468
+ "README.md": "cec6f52f318efc1d870a3ffe65460fb0",
1469
+ "files/ssl.key": "62d7a564eb636ac2f52eaebbb8e02d91",
1470
+ "files/ssl.pem": "116e0fa22379d361e1b95e1dfa9d6080",
1471
+ "manifests/init.pp": "4900deaa4943ba9f012bf48d7e1a4789",
1472
+ "templates/ports.erb": "9f741fa4f018b586178e83059f13993d",
1473
+ "templates/vhost.erb": "542c1cb7924ea236651f06ac60ca42e5"
1474
+ }
1475
+ },
1476
+ "tags": [
1477
+ "apache-httpd",
1478
+ "httpd",
1479
+ "apache",
1480
+ "debian",
1481
+ "ubuntu",
1482
+ "vhost",
1483
+ "tls",
1484
+ "ssl",
1485
+ "ssl-tls",
1486
+ "tls-ssl"
1487
+ ],
1488
+ "file_uri": "/v3/files/JonTheNiceGuy-simple_apache_vhost-0.0.2.tar.gz",
1489
+ "file_size": 5965,
1490
+ "file_md5": "d02214349238bfee321fb2c8895ffdc1",
1491
+ "downloads": 293,
1492
+ "readme": "<section class=\"markdown\"><h1>simple_apache_vhost</h1>\n\n<h4>Table of Contents</h4>\n\n<ol>\n<li><a href=\"#overview\">Overview</a></li>\n<li><a href=\"#module-description\">Module Description</a></li>\n<li><a href=\"#setup-and-usage\">Setup and Usage</a>\n\n<ul>\n<li><a href=\"#basic-setup\">Basic Setup</a></li>\n<li><a href=\"#non-standard-ports\">Non Standard Ports</a></li>\n<li><a href=\"#changing-the-base-path\">Changing the Base Path</a></li>\n</ul></li>\n<li><a href=\"#license\">License</a></li>\n<li><a href=\"#support\">Support</a></li>\n<li><a href=\"#limitations\">Limitations</a></li>\n<li><a href=\"#release-notes\">Release Notes</a></li>\n</ol>\n\n<h2>Overview</h2>\n\n<p>This puppet module provisions a single simple Apache vhost in both HTTP and HTTPS modes, enabling pretty URLs and custom base file paths.</p>\n\n<h2>Module Description</h2>\n\n<p>This puppet module provisions a single simple Apache vhost in both HTTP and HTTPS modes. The provisioned vhost has in-built rewrite rules to point HTTP traffic to the HTTPS site, or to follow the same rules as the HTTPS component. The &quot;default&quot; rewrite rules point all unfound locations to the index.php in the stated path.</p>\n\n<h2>Setup and Usage</h2>\n\n<p><strong>What simple_apache_vhost affects:</strong></p>\n\n<ul>\n<li>Configuration files and directories (created and written to)</li>\n<li>Packages, Services and Configuration files</li>\n<li>Apache Modules</li>\n<li>Virtual Hosts</li>\n<li>Listened-to Ports</li>\n</ul>\n\n<h3>Basic Setup</h3>\n\n<p>To install simple_apache_vhost with all the default options</p>\n\n<pre><code>class { &#39;simple_apache_vhost&#39;: }\n</code></pre>\n\n<p>The defaults are determined by your operating system. Currently the only set \nof default options which have been configured are for the Debian/Ubuntu \nsystem, but migration should be very straightforward.</p>\n\n<h3>Non Standard ports</h3>\n\n<p>To install simple_apache_vhost with non-standard ports and a provisioned \nSSL/TLS certificate</p>\n\n<pre><code>class { &#39;simple_apache_vhost&#39;:\n http_port =&gt; &#39;1234&#39;,\n https_port =&gt; &#39;12345&#39;,\n ssl_key =&gt; &#39;/tmp/ssl/key1&#39;,\n ssl_pem =&gt; &#39;/tmp/ssl/pem1&#39;\n}\n</code></pre>\n\n<h3>Changing the base path</h3>\n\n<p>If you&#39;ve got a web application (such as Zend or similar) and want to move your\nnormal web path to /var/www/public, you can do this by setting the <code>base_path</code>\nvalue. You can also prevent auto-forwarding of traffic from the HTTP service to\nthe HTTPS service by changing the <code>redirect_to_ssl</code> to false.</p>\n\n<pre><code>class { &#39;simple_apache_vhost&#39;:\n base_path =&gt; &quot;/var/www/public&quot;,\n redirect_to_ssl =&gt; false\n}\n</code></pre>\n\n<h2>License</h2>\n\n<p>Copyright (C) 2013 Jon Spriggs</p>\n\n<p>Jon can be contacted at: <a href=\"mailto:jon@sprig.gs\">jon@sprig.gs</a></p>\n\n<p>Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at</p>\n\n<p><a href=\"http://www.apache.org/licenses/LICENSE-2.0\">http://www.apache.org/licenses/LICENSE-2.0</a></p>\n\n<p>Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; 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.</p>\n\n<h2>Support</h2>\n\n<p>Please raise issues, changes and pull requests at <a href=\"https://github.com/JonTheNiceGuy/JonTheNiceGuy-simple_apache_vhost\">https://github.com/JonTheNiceGuy/JonTheNiceGuy-simple_apache_vhost</a></p>\n\n<h2>Limitations</h2>\n\n<p>Currently this code only supports Debian and Ubuntu.</p>\n\n<h2>Release Notes</h2>\n\n<p>This release note refers to the last release only. For previous notes, please see the commit log</p>\n\n<ul>\n<li>This is the initial release</li>\n</ul>\n</section>",
1493
+ "changelog": null,
1494
+ "license": null,
1495
+ "created_at": "2013-05-27 05:25:05 -0700",
1496
+ "updated_at": "2013-05-27 05:25:05 -0700",
1497
+ "deleted_at": null
1498
+ },
1499
+ "releases": [
1500
+ {
1501
+ "uri": "/v3/releases/JonTheNiceGuy-simple_apache_vhost-0.0.2",
1502
+ "version": "0.0.2"
1503
+ },
1504
+ {
1505
+ "uri": "/v3/releases/JonTheNiceGuy-simple_apache_vhost-0.0.1",
1506
+ "version": "0.0.1"
1507
+ }
1508
+ ],
1509
+ "homepage_url": "https://github.com/JonTheNiceGuy/JonTheNiceGuy-simple_apache_vhost",
1510
+ "issues_url": "https://github.com/JonTheNiceGuy/JonTheNiceGuy-simple_apache_vhost/issues"
1511
+ },
1512
+ {
1513
+ "uri": "/v3/modules/thias-apache_httpd",
1514
+ "name": "apache_httpd",
1515
+ "downloads": 2358,
1516
+ "created_at": "2012-03-07 17:50:35 -0800",
1517
+ "updated_at": "2014-01-06 05:13:17 -0800",
1518
+ "owner": {
1519
+ "uri": "/v3/users/thias",
1520
+ "username": "thias",
1521
+ "gravatar_id": "20efddb3bfbb60822cf750b87b9ed3e9"
1522
+ },
1523
+ "current_release": {
1524
+ "uri": "/v3/releases/thias-apache_httpd-0.4.2",
1525
+ "module": {
1526
+ "uri": "/v3/modules/thias-apache_httpd",
1527
+ "name": "apache_httpd",
1528
+ "owner": {
1529
+ "uri": "/v3/users/thias",
1530
+ "username": "thias",
1531
+ "gravatar_id": "20efddb3bfbb60822cf750b87b9ed3e9"
1532
+ }
1533
+ },
1534
+ "version": "0.4.2",
1535
+ "metadata": {
1536
+ "project_page": "https://github.com/thias/puppet-apache_httpd",
1537
+ "license": "Apache 2.0",
1538
+ "source": "git://github.com/thias/puppet-apache_httpd",
1539
+ "types": [
1540
+
1541
+ ],
1542
+ "description": "Install and enable the Apache httpd web server and manage its\n configuration with snippets.",
1543
+ "version": "0.4.2",
1544
+ "summary": "Apache HTTP Daemon installation and configuration",
1545
+ "name": "thias-apache_httpd",
1546
+ "author": "Matthias Saou",
1547
+ "checksums": {
1548
+ "templates/conf.d/ssl.conf.orig": "41f59421026a473a0378c58d539069c6",
1549
+ "files/welcome.conf": "127e668bbf50be1ec582418b1b47e5bd",
1550
+ "tests/init.pp": "1caed8c1310cb3eda308ddf7b42dcf9f",
1551
+ "files/trace.inc": "00b0ef3384ae0ae23641de16a4f409c2",
1552
+ "LICENSE": "99219472697a01561e7630d63aaecdc1",
1553
+ "ChangeLog": "0db4a33f6ab2eb9b0ce9a242b895a823",
1554
+ "manifests/file.pp": "8f8a71da792997d0afb1166f5203aa80",
1555
+ "manifests/service/base.pp": "2279d654b21e3bf07fad3019ea1e5169",
1556
+ "Modulefile": "18fc0f67cd149a96ed4662d0751a8f6c",
1557
+ "templates/conf.d/ssl.conf": "187df1d47d7ac4ab6b2abb9624949d9b",
1558
+ "templates/conf/httpd.conf.erb": "4edf27e8e00ab7bc2989042f62ccf585",
1559
+ "manifests/service/ssl.pp": "bccb811431ae834e4e063c417e0b1e38",
1560
+ "manifests/install.pp": "f91474cc2c29623f7f0ec9dcb1d364cf",
1561
+ "README.md": "0c3b8beda12164ae05ebce1f0410546c",
1562
+ "manifests/init.pp": "6aa9d1d12ed8e97ca9f1793a454ce98f",
1563
+ "templates/etc/logrotate.erb": "ab4f8cd53d473c83aa5aff20d726340e",
1564
+ "files/proxy_ajp.conf": "c7d462c30779b0270a141984ad70e70c",
1565
+ "tests/file.pp": "fe34321a9d1997677b02fa20751ab279",
1566
+ "templates/conf/httpd.conf.orig": "27a5c8d9e75351b08b8ca1171e8a0bbd",
1567
+ "templates/etc/sysconfig.erb": "5e16a682e88b07c38a4baab936630e5b",
1568
+ "files/proxy_ajp.conf.orig": "8b0da169a5f7963b6bf28f9d8de7785f"
1569
+ },
1570
+ "dependencies": [
1571
+
1572
+ ]
1573
+ },
1574
+ "tags": [
1575
+ "webservers",
1576
+ "apache",
1577
+ "rhel",
1578
+ "CentOS",
1579
+ "httpd"
1580
+ ],
1581
+ "file_uri": "/v3/files/thias-apache_httpd-0.4.2.tar.gz",
1582
+ "file_size": 33889,
1583
+ "file_md5": "461bc230b1a881ecf90d09b94780330d",
1584
+ "downloads": 311,
1585
+ "readme": "<section class=\"markdown\"><h1>puppet-apache_httpd</h1>\n\n<h2>Overview</h2>\n\n<p>Install the Apache HTTP daemon and manage its main configuration as well as\nadditional configuration snippets.</p>\n\n<p>The module is very Red Hat Enterprise Linux focused, as the defaults try to\nchange everything in ways which are typical for RHEL.</p>\n\n<ul>\n<li><code>apache_httpd</code> : Main definition for the server and its main configuration.</li>\n<li><code>apache_httpd::file</code> : Definition to manage additional configuration files.</li>\n</ul>\n\n<p>The main <code>apache_httpd</code> isn&#39;t a class in order to be able to set global\ndefaults for its parameters, which is only possible with definitions. The\n<code>$name</code> can be either <code>prefork</code> or <code>worker</code>.</p>\n\n<p>This module disables TRACE and TRACK methods by default, which is best practice\n(using rewrite rules, so only when it is enabled).</p>\n\n<p>The <code>apache::service::</code> prefixed classes aren&#39;t meant to be used standalone,\nand are included as needed by the main class.</p>\n\n<h2>Examples</h2>\n\n<p>Sripped down instance running as the git user for the cgit cgi :</p>\n\n<pre><code>apache_httpd { &#39;worker&#39;:\n modules =&gt; [ &#39;mime&#39;, &#39;setenvif&#39;, &#39;alias&#39;, &#39;proxy&#39;, &#39;cgi&#39; ],\n keepalive =&gt; &#39;On&#39;,\n user =&gt; &#39;git&#39;,\n group =&gt; &#39;git&#39;,\n}\n</code></pre>\n\n<p>Complete instance with https, a typical module list ready for php and the\noriginal Red Hat welcome page disabled :</p>\n\n<pre><code>apache_httpd { &#39;prefork&#39;:\n ssl =&gt; true,\n modules =&gt; [\n &#39;auth_basic&#39;,\n &#39;authn_file&#39;,\n &#39;authz_host&#39;,\n &#39;authz_user&#39;,\n &#39;mime&#39;,\n &#39;negotiation&#39;,\n &#39;dir&#39;,\n &#39;alias&#39;,\n &#39;rewrite&#39;,\n &#39;proxy&#39;,\n ],\n welcome =&gt; false,\n}\n</code></pre>\n\n<p>Example entry for <code>site.pp</code> to change some of the defaults globally :</p>\n\n<pre><code>Apache_httpd {\n extendedstatus =&gt; &#39;On&#39;,\n serveradmin =&gt; &#39;root@example.com&#39;,\n serversignature =&gt; &#39;Off&#39;,\n}\n</code></pre>\n\n<p>Configuration snippets can be added from anywhere in your manifest, based on\nfiles or templates, and will automatically reload httpd when changed :</p>\n\n<pre><code>apache_httpd::file { &#39;www.example.com.conf&#39;:\n source =&gt; &#39;puppet:///modules/mymodule/httpd.d/www.example.com.conf&#39;,\n}\napache_httpd::file { &#39;global-alias.conf&#39;:\n content =&gt; &#39;Alias /whatever /var/www/whatever&#39;,\n}\napache_httpd::file { &#39;myvhosts.conf&#39;:\n content =&gt; template(&#39;mymodule/httpd.d/myvhosts.conf.erb&#39;),\n}\n</code></pre>\n\n<p>Note that when adding or removing modules, a reload might not be sufficient,\nin which case you will have to perform a full restart by other means.</p>\n</section>",
1586
+ "changelog": "<section class=\"plaintext\"><pre>2013-10-01 - 0.4.2\n* Add global servername parameter.\n\n2013-04-19 - 0.4.1\n* Use @varname syntax in templates to silence puppet 3.2 warnings.\n\n2013-03-08 - 0.4.0\n* Split module out to its own repo.\n* Update README and switch to markdown.\n* Cosmetic cleanups.\n\n2012-04-26 - 0.3.2\n* Fix logrotate file, the PID path was wrong for most systems (thomasvs).\n* Make sure the default logrotate file is identical to the original RHEL6 one.\n\n2012-04-20 - 0.3.1\n* Support multiple listens and setting namevirtualhosts (Jared Curtis).\n\n2012-03-07 - 0.3.0\n* Rename from apache-httpd to apache_httpd to conform with puppetlabs docs.\n* Update tests to cover more cases.\n* Include LICENSE since the module will be distributed individually.\n* Update included documentation details.\n\n</pre></section>",
1587
+ "license": "<section class=\"plaintext\"><pre>Copyright (C) 2011-2013 Matthias Saou\n\nLicensed under the Apache License, Version 2.0 (the &quot;License&quot;);\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an &quot;AS IS&quot; 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\n</pre></section>",
1588
+ "created_at": "2013-10-01 07:45:55 -0700",
1589
+ "updated_at": "2013-10-01 07:45:55 -0700",
1590
+ "deleted_at": null
1591
+ },
1592
+ "releases": [
1593
+ {
1594
+ "uri": "/v3/releases/thias-apache_httpd-0.4.2",
1595
+ "version": "0.4.2"
1596
+ },
1597
+ {
1598
+ "uri": "/v3/releases/thias-apache_httpd-0.4.1",
1599
+ "version": "0.4.1"
1600
+ },
1601
+ {
1602
+ "uri": "/v3/releases/thias-apache_httpd-0.3.2",
1603
+ "version": "0.3.2"
1604
+ },
1605
+ {
1606
+ "uri": "/v3/releases/thias-apache_httpd-0.3.1",
1607
+ "version": "0.3.1"
1608
+ },
1609
+ {
1610
+ "uri": "/v3/releases/thias-apache_httpd-0.3.0",
1611
+ "version": "0.3.0"
1612
+ }
1613
+ ],
1614
+ "homepage_url": "https://github.com/thias/puppet-apache_httpd",
1615
+ "issues_url": "https://github.com/thias/puppet-apache_httpd/issues"
1616
+ },
1617
+ {
1618
+ "uri": "/v3/modules/mstanislav-apache_yum",
1619
+ "name": "apache_yum",
1620
+ "downloads": 624,
1621
+ "created_at": "2011-02-01 21:04:34 -0800",
1622
+ "updated_at": "2014-01-05 10:16:15 -0800",
1623
+ "owner": {
1624
+ "uri": "/v3/users/mstanislav",
1625
+ "username": "mstanislav",
1626
+ "gravatar_id": "9eaada9384c46142a8fd246f11cb9bef"
1627
+ },
1628
+ "current_release": {
1629
+ "uri": "/v3/releases/mstanislav-apache_yum-1.0.0",
1630
+ "module": {
1631
+ "uri": "/v3/modules/mstanislav-apache_yum",
1632
+ "name": "apache_yum",
1633
+ "owner": {
1634
+ "uri": "/v3/users/mstanislav",
1635
+ "username": "mstanislav",
1636
+ "gravatar_id": "9eaada9384c46142a8fd246f11cb9bef"
1637
+ }
1638
+ },
1639
+ "version": "1.0.0",
1640
+ "metadata": {
1641
+ "types": [
1642
+
1643
+ ],
1644
+ "name": "mstanislav-apache_yum",
1645
+ "description": "UNKNOWN",
1646
+ "author": "mstanislav",
1647
+ "summary": "UNKNOWN",
1648
+ "license": "UNKNOWN",
1649
+ "source": "UNKNOWN",
1650
+ "checksums": {
1651
+ "templates/ssl.conf.erb": "a6c5fca7412e773be366afbc0638c0d9",
1652
+ "files/passenger.conf": "117bf6245f9b4b15e4930769e9417f9f",
1653
+ "files/httpd.conf": "b056fcfb38311bf3c743b541d3838c83",
1654
+ "Modulefile": "874b94f5ea13aaea881ef5b4f84a62d6",
1655
+ "manifests/init.pp": "84852639e7a2a9767d91f1f908f78633"
1656
+ },
1657
+ "dependencies": [
1658
+
1659
+ ],
1660
+ "project_page": "UNKNOWN",
1661
+ "version": "1.0.0"
1662
+ },
1663
+ "tags": [
1664
+ "apache",
1665
+ "passenger",
1666
+ "HTTP",
1667
+ "apache2",
1668
+ "httpd"
1669
+ ],
1670
+ "file_uri": "/v3/files/mstanislav-apache_yum-1.0.0.tar.gz",
1671
+ "file_size": 3873,
1672
+ "file_md5": "79de057eac0feb265766c908e6b89aaa",
1673
+ "downloads": 624,
1674
+ "readme": null,
1675
+ "changelog": null,
1676
+ "license": null,
1677
+ "created_at": "2011-02-01 21:05:00 -0800",
1678
+ "updated_at": "2013-03-04 14:57:47 -0800",
1679
+ "deleted_at": null
1680
+ },
1681
+ "releases": [
1682
+ {
1683
+ "uri": "/v3/releases/mstanislav-apache_yum-1.0.0",
1684
+ "version": "1.0.0"
1685
+ }
1686
+ ],
1687
+ "homepage_url": "https://github.com/mstanislav/Puppet-Modules",
1688
+ "issues_url": "https://github.com/mstanislav/Puppet-Modules/issues"
1689
+ },
1690
+ {
1691
+ "uri": "/v3/modules/pdxmph-apache_sites",
1692
+ "name": "apache_sites",
1693
+ "downloads": 460,
1694
+ "created_at": "2012-11-13 13:31:19 -0800",
1695
+ "updated_at": "2014-01-03 01:31:14 -0800",
1696
+ "owner": {
1697
+ "uri": "/v3/users/pdxmph",
1698
+ "username": "pdxmph",
1699
+ "gravatar_id": "1d6922c678360456f3bb48f637b092dc"
1700
+ },
1701
+ "current_release": {
1702
+ "uri": "/v3/releases/pdxmph-apache_sites-0.0.1",
1703
+ "module": {
1704
+ "uri": "/v3/modules/pdxmph-apache_sites",
1705
+ "name": "apache_sites",
1706
+ "owner": {
1707
+ "uri": "/v3/users/pdxmph",
1708
+ "username": "pdxmph",
1709
+ "gravatar_id": "1d6922c678360456f3bb48f637b092dc"
1710
+ }
1711
+ },
1712
+ "version": "0.0.1",
1713
+ "metadata": {
1714
+ "description": "UNKNOWN",
1715
+ "author": "pdxmph",
1716
+ "project_page": "UNKNOWN",
1717
+ "source": "UNKNOWN",
1718
+ "checksums": {
1719
+ "Modulefile": "5a51e5f14a40ae51bfcb8b9597d44f9a",
1720
+ "lib/puppet/type/a2site.rb": "b1f3dc67d3d78caa15e9c4425fa00ed3",
1721
+ "lib/puppet/provider/a2site/a2site.rb": "1ac52ed3db316126bfb7c7792aaea944",
1722
+ "LICENSE": "34425b769c76d908f0389558cb49e7ef",
1723
+ "README.markdown": "5d3f2aa253cebed8a96b4e478acaf8a2"
1724
+ },
1725
+ "version": "0.0.1",
1726
+ "name": "pdxmph-puppet-apache-sites",
1727
+ "dependencies": [
1728
+
1729
+ ],
1730
+ "types": [
1731
+ {
1732
+ "doc": "Manage Apache 2 sites on Debian and Ubuntu",
1733
+ "parameters": [
1734
+ {
1735
+ "doc": "The name of the site to be managed",
1736
+ "name": "name"
1737
+ }
1738
+ ],
1739
+ "providers": [
1740
+ {
1741
+ "doc": "Manage Apache 2 sites on Debian and Ubuntu\n\nRequired binaries: `a2ensite`, `a2dissite`. Default for `operatingsystem` == `debian, ubuntu`.",
1742
+ "name": "a2site"
1743
+ }
1744
+ ],
1745
+ "properties": [
1746
+ {
1747
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`.",
1748
+ "name": "ensure"
1749
+ }
1750
+ ],
1751
+ "name": "a2site"
1752
+ }
1753
+ ],
1754
+ "summary": "UNKNOWN",
1755
+ "license": "Apache License, Version 2.0"
1756
+ },
1757
+ "tags": [
1758
+ "apache",
1759
+ "ubuntu",
1760
+ "debian",
1761
+ "a2ensite",
1762
+ "a2dissite"
1763
+ ],
1764
+ "file_uri": "/v3/files/pdxmph-apache_sites-0.0.1.tar.gz",
1765
+ "file_size": 1746,
1766
+ "file_md5": "58ecc25414bf0acf7c872236a1621354",
1767
+ "downloads": 460,
1768
+ "readme": "<section class=\"markdown\"><h1>Puppet Apache Module Type</h1>\n\n<p>This type enables and disables Apache sites for Debian and Ubuntu.</p>\n\n<p>License: GPLv3</p>\n\n<h2>Requirements</h2>\n\n<ul>\n<li>NA</li>\n</ul>\n\n<h2>Usage</h2>\n\n<pre><code>a2site { &quot;site_name&quot;:\n ensure =&gt; present,\n}\n</code></pre>\n</section>",
1769
+ "changelog": null,
1770
+ "license": "<section class=\"plaintext\"><pre>This program and entire repository is free software; you can\nredistribute it and&#x2F;or modify it under the terms of the GNU\nGeneral Public License as published by the Free Software\nFoundation; either version 2 of the License, or any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n</pre></section>",
1771
+ "created_at": "2012-11-13 13:35:43 -0800",
1772
+ "updated_at": "2013-03-04 15:03:08 -0800",
1773
+ "deleted_at": null
1774
+ },
1775
+ "releases": [
1776
+ {
1777
+ "uri": "/v3/releases/pdxmph-apache_sites-0.0.1",
1778
+ "version": "0.0.1"
1779
+ }
1780
+ ],
1781
+ "homepage_url": "https://github.com/pdxmph/puppet-apache-sites",
1782
+ "issues_url": "https://github.com/pdxmph/puppet-apache-sites/issues"
1783
+ },
1784
+ {
1785
+ "uri": "/v3/modules/ikoula-wp_apache_nfs",
1786
+ "name": "wp_apache_nfs",
1787
+ "downloads": 180,
1788
+ "created_at": "2013-09-19 09:12:31 -0700",
1789
+ "updated_at": "2014-01-03 03:48:57 -0800",
1790
+ "owner": {
1791
+ "uri": "/v3/users/ikoula",
1792
+ "username": "ikoula",
1793
+ "gravatar_id": "86cf1833bca0ad430773a958c46906ec"
1794
+ },
1795
+ "current_release": {
1796
+ "uri": "/v3/releases/ikoula-wp_apache_nfs-0.0.1",
1797
+ "module": {
1798
+ "uri": "/v3/modules/ikoula-wp_apache_nfs",
1799
+ "name": "wp_apache_nfs",
1800
+ "owner": {
1801
+ "uri": "/v3/users/ikoula",
1802
+ "username": "ikoula",
1803
+ "gravatar_id": "86cf1833bca0ad430773a958c46906ec"
1804
+ }
1805
+ },
1806
+ "version": "0.0.1",
1807
+ "metadata": {
1808
+ "license": "GPL Version 2.0",
1809
+ "author": "ikoula",
1810
+ "types": [
1811
+
1812
+ ],
1813
+ "source": "UNKNOWN",
1814
+ "project_page": "https://github.com/ikoula/cloudstack",
1815
+ "dependencies": [
1816
+
1817
+ ],
1818
+ "description": "Module for Apache NFS Wordpress CloudStack by Ikoula instance deployment",
1819
+ "name": "ikoula/wp_apache_nfs",
1820
+ "checksums": {
1821
+ "README": "80a3f2a0ba208a284dbb1d3be6fb6682",
1822
+ "Modulefile": "f5ecfa4bed8afdb1322a101a9c48d146",
1823
+ "files/etc.apache2.sites-available.default-ssl": "08cca243359d2252a53e2784a95bdd38",
1824
+ "files/etc.apache2.sites-available.default": "54dbdf4ce45ab4fbd5765b5599811d17",
1825
+ "spec/spec_helper.rb": "a55d1e6483344f8ec6963fcb2c220372",
1826
+ "manifests/init.pp": "30cd82f8be28c885c629a68702d1d9e9",
1827
+ "tests/init.pp": "3ca07dfe7f9baf465bc2f4bc929723c3"
1828
+ },
1829
+ "version": "0.0.1",
1830
+ "summary": "Module for Apache PHP and a NFS mount of Wordpress Installation CloudStack by Ikoula instance deployment"
1831
+ },
1832
+ "tags": [
1833
+ "apache",
1834
+ "wordpress",
1835
+ "nfs",
1836
+ "cloudstack",
1837
+ "ikoula"
1838
+ ],
1839
+ "file_uri": "/v3/files/ikoula-wp_apache_nfs-0.0.1.tar.gz",
1840
+ "file_size": 5722,
1841
+ "file_md5": "af64e1ca75ca7ad44f9069e4bbb44bf5",
1842
+ "downloads": 180,
1843
+ "readme": "<section class=\"plaintext\"><pre>wp_apache_nfs\n\nThis is the wp_apache_nfs module.\n\nLicense\n-------\n\nGPLv2\n\nContact\n-------\ncontribATikoula.com\n\nSupport\n-------\n\nOur GitHub : https:&#x2F;&#x2F;github.com&#x2F;ikoula&#x2F;cloudstack\n\n</pre></section>",
1844
+ "changelog": null,
1845
+ "license": null,
1846
+ "created_at": "2013-09-19 09:12:42 -0700",
1847
+ "updated_at": "2013-09-19 09:12:42 -0700",
1848
+ "deleted_at": null
1849
+ },
1850
+ "releases": [
1851
+ {
1852
+ "uri": "/v3/releases/ikoula-wp_apache_nfs-0.0.1",
1853
+ "version": "0.0.1"
1854
+ }
1855
+ ],
1856
+ "homepage_url": "https://github.com/ikoula/cloudstack",
1857
+ "issues_url": ""
1858
+ },
1859
+ {
1860
+ "uri": "/v3/modules/fliplap-apache_modules_sles11",
1861
+ "name": "apache_modules_sles11",
1862
+ "downloads": 437,
1863
+ "created_at": "2010-10-14 22:25:21 -0700",
1864
+ "updated_at": "2014-01-03 00:08:56 -0800",
1865
+ "owner": {
1866
+ "uri": "/v3/users/fliplap",
1867
+ "username": "fliplap",
1868
+ "gravatar_id": "6889df128c17cdc421d0588820dde6d4"
1869
+ },
1870
+ "current_release": {
1871
+ "uri": "/v3/releases/fliplap-apache_modules_sles11-1.0.1",
1872
+ "module": {
1873
+ "uri": "/v3/modules/fliplap-apache_modules_sles11",
1874
+ "name": "apache_modules_sles11",
1875
+ "owner": {
1876
+ "uri": "/v3/users/fliplap",
1877
+ "username": "fliplap",
1878
+ "gravatar_id": "6889df128c17cdc421d0588820dde6d4"
1879
+ }
1880
+ },
1881
+ "version": "1.0.1",
1882
+ "metadata": {
1883
+ "dependencies": [
1884
+
1885
+ ],
1886
+ "name": "jamtur01-puppet-apache-modules",
1887
+ "author": "",
1888
+ "license": "",
1889
+ "version": "1.0.1",
1890
+ "checksums": {
1891
+ "LICENSE": "34425b769c76d908f0389558cb49e7ef",
1892
+ "lib/puppet/provider/a2mod/a2mod.rb": "557d39cad0925fcc65ca82fa1ab19125",
1893
+ "README.markdown": "4f9267651f77d3b1e6b099343ed5f150",
1894
+ "lib/puppet/type/a2mod.rb": "a149f8ebde2940403e94467e2417b482",
1895
+ "Modulefile": "b8e2e077ff36680896707952146d4164"
1896
+ },
1897
+ "types": [
1898
+ {
1899
+ "name": "a2mod",
1900
+ "doc": "Manage Apache 2 modules on Suse Enterprise Linux 11 - based on jamtur01-puppet-apache-modules",
1901
+ "parameters": [
1902
+ {
1903
+ "name": "name",
1904
+ "doc": "The name of the module to be managed"
1905
+ }
1906
+ ],
1907
+ "providers": [
1908
+ {
1909
+ "name": "a2mod",
1910
+ "doc": "Manage Apache 2 modules on Suse Enterprise Linux Server 11 Required binaries: ``a2dismod``, ``a2enmod``. Default for ``operatingsystem`` == ``SLES``. "
1911
+ }
1912
+ ],
1913
+ "properties": [
1914
+ {
1915
+ "name": "ensure",
1916
+ "doc": "The basic property that the resource should be in. Valid values are ``present``, ``absent``."
1917
+ }
1918
+ ]
1919
+ }
1920
+ ],
1921
+ "source": ""
1922
+ },
1923
+ "tags": [
1924
+
1925
+ ],
1926
+ "file_uri": "/v3/files/fliplap-apache_modules_sles11-1.0.1.tar.gz",
1927
+ "file_size": 1796,
1928
+ "file_md5": "099029f20cc7b9b535774dadc7315860",
1929
+ "downloads": 437,
1930
+ "readme": "<section class=\"markdown\"><h1>Puppet Apache Module Type</h1>\n\n<p>This type loads and unloads Apache modules for SUSE (SLES 11 tested) </p>\n\n<p>License: GPLv3</p>\n\n<h2>Requirements</h2>\n\n<ul>\n<li>NA</li>\n</ul>\n\n<h2>Usage</h2>\n\n<pre><code>a2mod { &quot;module&quot;:\n ensure =&gt; present,\n}\n</code></pre>\n</section>",
1931
+ "changelog": null,
1932
+ "license": "<section class=\"plaintext\"><pre>This program and entire repository is free software; you can\nredistribute it and&#x2F;or modify it under the terms of the GNU\nGeneral Public License as published by the Free Software\nFoundation; either version 2 of the License, or any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n</pre></section>",
1933
+ "created_at": "2010-10-14 22:38:20 -0700",
1934
+ "updated_at": "2013-03-04 14:57:42 -0800",
1935
+ "deleted_at": null
1936
+ },
1937
+ "releases": [
1938
+ {
1939
+ "uri": "/v3/releases/fliplap-apache_modules_sles11-1.0.1",
1940
+ "version": "1.0.1"
1941
+ }
1942
+ ],
1943
+ "homepage_url": "",
1944
+ "issues_url": ""
1945
+ },
1946
+ {
1947
+ "uri": "/v3/modules/jamtur01-httpauth",
1948
+ "name": "httpauth",
1949
+ "downloads": 18293,
1950
+ "created_at": "2010-05-31 23:48:04 -0700",
1951
+ "updated_at": "2014-01-06 11:03:55 -0800",
1952
+ "owner": {
1953
+ "uri": "/v3/users/jamtur01",
1954
+ "username": "jamtur01",
1955
+ "gravatar_id": "31cc2100279326dd6148a7e163692097"
1956
+ },
1957
+ "current_release": {
1958
+ "uri": "/v3/releases/jamtur01-httpauth-0.0.2",
1959
+ "module": {
1960
+ "uri": "/v3/modules/jamtur01-httpauth",
1961
+ "name": "httpauth",
1962
+ "owner": {
1963
+ "uri": "/v3/users/jamtur01",
1964
+ "username": "jamtur01",
1965
+ "gravatar_id": "31cc2100279326dd6148a7e163692097"
1966
+ }
1967
+ },
1968
+ "version": "0.0.2",
1969
+ "metadata": {
1970
+ "types": [
1971
+ {
1972
+ "providers": [
1973
+ {
1974
+ "doc": "Manage HTTP Basic and Digest authentication files",
1975
+ "name": "httpauth"
1976
+ }
1977
+ ],
1978
+ "properties": [
1979
+ {
1980
+ "doc": " Valid values are `present`, `absent`.",
1981
+ "name": "ensure"
1982
+ }
1983
+ ],
1984
+ "doc": "Manage HTTP Basic or Digest password files. httpauth { 'user': file => '/path/to/password/file', password => 'password', mechanism => basic, ensure => present, } ",
1985
+ "name": "httpauth",
1986
+ "parameters": [
1987
+ {
1988
+ "doc": "The name of the user to be managed.",
1989
+ "name": "name"
1990
+ },
1991
+ {
1992
+ "doc": "The HTTP password file to be managed. If it doesn't exist it is created.",
1993
+ "name": "file"
1994
+ },
1995
+ {
1996
+ "doc": "The password in plaintext.",
1997
+ "name": "password"
1998
+ },
1999
+ {
2000
+ "doc": "The realm - defaults to nil and mainly used for Digest authentication.",
2001
+ "name": "realm"
2002
+ },
2003
+ {
2004
+ "doc": "The authentication mechanism to use - either basic or digest. Default to basic. Valid values are `basic`, `digest`.",
2005
+ "name": "mechanism"
2006
+ }
2007
+ ]
2008
+ }
2009
+ ],
2010
+ "author": "puppet",
2011
+ "dependencies": [
2012
+
2013
+ ],
2014
+ "license": "Apache 2.0",
2015
+ "summary": "Puppet type for managing HTTP Basic and Digest auth files, a la htpasswd.",
2016
+ "project_page": "https://github.com/jamtur01/puppet-httpauth",
2017
+ "description": "UNKNOWN",
2018
+ "source": "UNKNOWN",
2019
+ "checksums": {
2020
+ "spec/spec.opts": "a600ded995d948e393fbe2320ba8e51c",
2021
+ "lib/puppet/type/httpauth.rb": "beab42ad1086202db040c72bc6783494",
2022
+ "lib/puppet/provider/httpauth/httpauth.rb": "c71417aa66ca270ffa501f779f87de62",
2023
+ "spec/unit/type/httpauth.rb": "a42a6d3b57debd7fca90d832ba7094a7",
2024
+ "Rakefile": "871849fbd09bcc076f4ab87ff750ddf6",
2025
+ "README.markdown": "1a4288364496bddee1cbd102099fecf1",
2026
+ "Modulefile": "eaba4cd27b76a1c9787f56d86d5305a5",
2027
+ "spec/spec_helper.rb": "f6e809f57723ea8a2bd121ad99bfce4c"
2028
+ },
2029
+ "version": "0.0.2",
2030
+ "name": "puppet-httpauth"
2031
+ },
2032
+ "tags": [
2033
+ "apache",
2034
+ "HTTP",
2035
+ "basic",
2036
+ "digest",
2037
+ "authentication",
2038
+ "auth",
2039
+ "htpasswd",
2040
+ "htdigest"
2041
+ ],
2042
+ "file_uri": "/v3/files/jamtur01-httpauth-0.0.2.tar.gz",
2043
+ "file_size": 3411,
2044
+ "file_md5": "b3868fcbcf52e3740cb4becf93838072",
2045
+ "downloads": 18072,
2046
+ "readme": "<section class=\"markdown\"><h1>Puppet HTTP Authentication type</h1>\n\n<p>This provides a HTTP Authentication type for Puppet that support Basic and Digest authentication.</p>\n\n<p>Copyright - James Turnbull <a href=\"mailto:james@lovedthanlost.net\">james@lovedthanlost.net</a></p>\n\n<p>License: GPLv3</p>\n\n<p>Thanks to John Ferlito and JKur (<a href=\"https://github.com/jkur\">https://github.com/jkur</a>) for patches.</p>\n\n<h2>Requirements</h2>\n\n<ul>\n<li>webrick</li>\n</ul>\n\n<h2>Usage</h2>\n\n<pre><code>httpauth { &#39;user&#39;:\n file =&gt; &#39;/path/to/password/file&#39;,\n password =&gt; &#39;password&#39;,\n realm =&gt; &#39;realm&#39;,\n mechanism =&gt; basic,\n ensure =&gt; present,\n}\n</code></pre>\n</section>",
2047
+ "changelog": null,
2048
+ "license": null,
2049
+ "created_at": "2012-06-06 01:07:36 -0700",
2050
+ "updated_at": "2013-03-04 14:57:26 -0800",
2051
+ "deleted_at": null
2052
+ },
2053
+ "releases": [
2054
+ {
2055
+ "uri": "/v3/releases/jamtur01-httpauth-0.0.2",
2056
+ "version": "0.0.2"
2057
+ },
2058
+ {
2059
+ "uri": "/v3/releases/jamtur01-httpauth-0.0.1",
2060
+ "version": "0.0.1"
2061
+ }
2062
+ ],
2063
+ "homepage_url": "http://github.com/jamtur01/puppet-httpauth",
2064
+ "issues_url": null
2065
+ },
2066
+ {
2067
+ "uri": "/v3/modules/puppetlabs-passenger",
2068
+ "name": "passenger",
2069
+ "downloads": 9895,
2070
+ "created_at": "2010-05-21 06:58:19 -0700",
2071
+ "updated_at": "2014-01-06 14:24:15 -0800",
2072
+ "owner": {
2073
+ "uri": "/v3/users/puppetlabs",
2074
+ "username": "puppetlabs",
2075
+ "gravatar_id": "fdd009b7c1ec96e088b389f773e87aec"
2076
+ },
2077
+ "current_release": {
2078
+ "uri": "/v3/releases/puppetlabs-passenger-0.2.0",
2079
+ "module": {
2080
+ "uri": "/v3/modules/puppetlabs-passenger",
2081
+ "name": "passenger",
2082
+ "owner": {
2083
+ "uri": "/v3/users/puppetlabs",
2084
+ "username": "puppetlabs",
2085
+ "gravatar_id": "fdd009b7c1ec96e088b389f773e87aec"
2086
+ }
2087
+ },
2088
+ "version": "0.2.0",
2089
+ "metadata": {
2090
+ "name": "puppetlabs-passenger",
2091
+ "version": "0.2.0",
2092
+ "summary": "Puppet module for Passenger",
2093
+ "author": "puppetlabs",
2094
+ "description": "Module for Passenger configuration",
2095
+ "dependencies": [
2096
+ {
2097
+ "name": "puppetlabs/apache",
2098
+ "version_requirement": ">= 0.0.3"
2099
+ },
2100
+ {
2101
+ "name": "puppetlabs/ruby",
2102
+ "version_requirement": ">= 0.0.1"
2103
+ },
2104
+ {
2105
+ "name": "puppetlabs/stdlib"
2106
+ }
2107
+ ],
2108
+ "types": [
2109
+
2110
+ ],
2111
+ "checksums": {
2112
+ ".bundle/config": "7f1c988748783d2a8d455376eed1470c",
2113
+ ".fixtures.yml": "41ba6344fbcf0f472b874c12ad1cc627",
2114
+ ".nodeset.yml": "8d1b7762d4125ce53379966a1daf355c",
2115
+ ".travis.yml": "e82b0189a9f6f6a508a1f93f910b8f10",
2116
+ "CHANGELOG": "04fc8176a68c796105ee2fd5fa9c6f14",
2117
+ "Gemfile": "aba4d00d83671fab4f9d8c8289ba00f1",
2118
+ "Gemfile.lock": "695cb2e86551d8a98a43b390b7de7762",
2119
+ "LICENSE": "4509849dc8e58abcb92d4e1faacb588b",
2120
+ "Modulefile": "382022ec106d71e1203354f568b04022",
2121
+ "README.md": "0d32ae2a95d9a380ebf4c3bea7e6acaa",
2122
+ "Rakefile": "0428ea3759a4692c91604396c406a9c1",
2123
+ "manifests/compile.pp": "eaa9c817086ca92171e5d0fc856f75c8",
2124
+ "manifests/config.pp": "0afc9649d841d9fb4c471aaaab4bcfb9",
2125
+ "manifests/init.pp": "7003de5e1bf2cc1a33192e1af8862f74",
2126
+ "manifests/install.pp": "eac2484a8a3606b6ca53e3ff58bb78e2",
2127
+ "manifests/params.pp": "c11f1497285905df60ac54654e9fb9ad",
2128
+ "spec/classes/passenger_spec.rb": "7e18ffaacabe932f2af294bea2569941",
2129
+ "spec/spec_helper.rb": "0db89c9a486df193c0e40095422e19dc",
2130
+ "spec/spec_helper_system.rb": "9389463e478bfc517e3176efbb1121db",
2131
+ "spec/system/basic_spec.rb": "428a3c3e140bb442ebf878a838dba83d",
2132
+ "spec/system/class_spec.rb": "f461c73ed2d3e4305fdf8486fe8df16a",
2133
+ "templates/passenger-conf.erb": "56f4e3052da62d6d86d0530780d32411",
2134
+ "templates/passenger-enabled.erb": "c00ba3dc84a5676e70d0b8828ece50d3",
2135
+ "templates/passenger-load.erb": "97e00ed94f9274112bddc224ae76bf64",
2136
+ "tests/init.pp": "ed442a24364697ff755ec0399fb4a0a5"
2137
+ },
2138
+ "source": "git://github.com/puppetlabs/puppetlabs-passenger.git",
2139
+ "project_page": "https://github.com/puppetlabs/puppetlabs-passenger",
2140
+ "license": "Apache 2.0"
2141
+ },
2142
+ "tags": [
2143
+ "apache",
2144
+ "passenger",
2145
+ "rails",
2146
+ "rack"
2147
+ ],
2148
+ "file_uri": "/v3/files/puppetlabs-passenger-0.2.0.tar.gz",
2149
+ "file_size": 8700,
2150
+ "file_md5": "5d93ddc97a8feb788b35ccd419a20646",
2151
+ "downloads": 1378,
2152
+ "readme": "<section class=\"markdown\"><h1>passenger</h1>\n\n<h2>Overview</h2>\n\n<p>The Passenger module allows easy configuration and management of Phusion Passenger. </p>\n\n<h2>Module Description</h2>\n\n<p>The Passenger module lets you run Rails or Rack inside Apache with ease. Utilizing <a href=\"http://www.modrails.com\">Passenger</a>, an application server for Ruby (Rack) and Python (WSGI) apps, the Passenger module enables quick configuration of Passenger for Apache. </p>\n\n<h2>Setup</h2>\n\n<p><strong>What Passenger affects:</strong></p>\n\n<ul>\n<li>Apache</li>\n<li>installs packages on chosen nodes </li>\n<li>package/service/configuration files for Passenger</li>\n</ul>\n\n<h3>Beginning with Passenger</h3>\n\n<p>Install and begin managing Passenger on a node by declaring the class in your node definition:</p>\n\n<pre><code>node default {\n class {&#39;passenger&#39;: }\n}\n</code></pre>\n\n<p>This will establish Passenger on your node with sane default values. However, you can manually set the parameter values:</p>\n\n<pre><code>node default {\n class {&#39;passenger&#39;:\n passenger_version =&gt; &#39;2.2.11&#39;,\n passenger_provider =&gt; &#39;gem&#39;,\n passenger_package =&gt; &#39;passenger&#39;,\n gem_path =&gt; &#39;/var/lib/gems/1.8/gems&#39;,\n gem_binary_path =&gt; &#39;/var/lib/gems/1.8/bin&#39;,\n passenger_root =&gt; &#39;/var/lib/gems/1.8/gems/passenger-2.2.11&#39;\n mod_passenger_location =&gt; &#39;/var/lib/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so&#39;,\n }\n}\n</code></pre>\n\n<h2>Usage</h2>\n\n<p>The <code>passenger</code> class has a set of configurable parameters that allow you to control aspects of Passenger&#39;s installation. </p>\n\n<p><strong>Parameters within <code>passenger</code></strong></p>\n\n<h4><code>passenger_version</code></h4>\n\n<p>The Version of Passenger to be installed</p>\n\n<h4><code>gem_path</code></h4>\n\n<p>The path to rubygems on your system</p>\n\n<h4><code>gem_binary_path</code></h4>\n\n<p>Path to Rubygems binaries on your system</p>\n\n<h4><code>mod_passenger_location</code></h4>\n\n<p>Path to Passenger&#39;s mod_passenger.so file</p>\n\n<h4><code>passenger_provider</code></h4>\n\n<p>The package provider to use for the system</p>\n\n<h4><code>passenger_package</code></h4>\n\n<p>The name of the Passenger package</p>\n\n<h2>Implementation</h2>\n\n<p>This module operates by compiling Ruby gems on the system being managed. </p>\n\n<h2>Limitations</h2>\n\n<p>This module was developed and tested against RHEL and Debian based systems (Centos, Fedora, Redhat, Debian, Ubuntu). This module may require you to specify default parameter values to accommodate other distributions.</p>\n\n<h2>Development</h2>\n\n<p>Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.</p>\n\n<p>We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.</p>\n\n<p>You can read the complete module contribution guide <a href=\"http://projects.puppetlabs.com/projects/module-site/wiki/Module_contributing\">on the Puppet Labs wiki.</a></p>\n\n<h2>Release Notes</h2>\n\n<p><strong>0.0.4 Release</strong></p>\n\n<ul>\n<li>Remove puppetlabs-gcc dependency</li>\n<li>Add package dependencies for Passenger 3.0</li>\n<li>Re-order resources (removing chaining syntax)</li>\n</ul>\n</section>",
2153
+ "changelog": "<section class=\"plaintext\"><pre>* 2013-11-20 0.2.0\n\nSummary:\n\nThis release refactors the module fairly expensively, and adds Passenger 4\nsupport.\n\nFeatures:\n- Parameters in `passenger` class:\n - `package_name`: Name of the passenger package.\n - `package_ensure`: Ensure state of the passenger package.\n - `package_provider`: Provider to use to install passenger.\n - `passenger_root`: Root directory for passenger.\n\n\n* 2013-07-31 0.1.0\n\nSummary:\n\nSeveral changes over the last year to improve compatibility against\nmodern distributions, improvements to make things more robust and\nsome fixes for Puppet 3.\n\nFeatures:\n- Parameters in `passenger` class:\n - `passenger_ruby`: Allows you to customize what ruby binary is used.\n\nBugfixes:\n- Ubuntu compatibility fixes.\n- Debian 6+ compatibility fixes.\n- Fixes against newer puppetlabs-apache.\n- Properly qualify variables.\n- Restart apache if passenger configuration changes.\n- Don&#x27;t try to load unless compilation stage was successful.\n</pre></section>",
2154
+ "license": "<section class=\"plaintext\"><pre>Copyright (C) 2012 Puppet Labs Inc\n\nPuppet Labs can be contacted at: info@puppetlabs.com\n\nLicensed under the Apache License, Version 2.0 (the &quot;License&quot;);\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an &quot;AS IS&quot; 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</pre></section>",
2155
+ "created_at": "2013-11-20 11:12:55 -0800",
2156
+ "updated_at": "2013-11-20 11:12:55 -0800",
2157
+ "deleted_at": null
2158
+ },
2159
+ "releases": [
2160
+ {
2161
+ "uri": "/v3/releases/puppetlabs-passenger-0.2.0",
2162
+ "version": "0.2.0"
2163
+ },
2164
+ {
2165
+ "uri": "/v3/releases/puppetlabs-passenger-0.1.0",
2166
+ "version": "0.1.0"
2167
+ },
2168
+ {
2169
+ "uri": "/v3/releases/puppetlabs-passenger-0.0.4",
2170
+ "version": "0.0.4"
2171
+ },
2172
+ {
2173
+ "uri": "/v3/releases/puppetlabs-passenger-0.0.3",
2174
+ "version": "0.0.3"
2175
+ }
2176
+ ],
2177
+ "homepage_url": "https://github.com/puppetlabs/puppetlabs-passenger",
2178
+ "issues_url": "https://tickets.puppetlabs.com/browse/MODULES"
2179
+ },
2180
+ {
2181
+ "uri": "/v3/modules/domcleal-augeasproviders",
2182
+ "name": "augeasproviders",
2183
+ "downloads": 9077,
2184
+ "created_at": "2012-03-04 14:54:18 -0800",
2185
+ "updated_at": "2014-01-06 13:35:36 -0800",
2186
+ "owner": {
2187
+ "uri": "/v3/users/domcleal",
2188
+ "username": "domcleal",
2189
+ "gravatar_id": "28cbd62b9edb6946b44807356de82d7b"
2190
+ },
2191
+ "current_release": {
2192
+ "uri": "/v3/releases/domcleal-augeasproviders-1.0.2",
2193
+ "module": {
2194
+ "uri": "/v3/modules/domcleal-augeasproviders",
2195
+ "name": "augeasproviders",
2196
+ "owner": {
2197
+ "uri": "/v3/users/domcleal",
2198
+ "username": "domcleal",
2199
+ "gravatar_id": "28cbd62b9edb6946b44807356de82d7b"
2200
+ }
2201
+ },
2202
+ "version": "1.0.2",
2203
+ "metadata": {
2204
+ "name": "domcleal-augeasproviders",
2205
+ "version": "1.0.2",
2206
+ "source": "git://github.com/hercules-team/augeasproviders",
2207
+ "author": "Dominic Cleal, Raphael Pinson",
2208
+ "license": "Apache 2.0",
2209
+ "summary": "Alternative Augeas-based providers for Puppet",
2210
+ "description": "This module provides alternative providers for core Puppet types using the Augeas configuration API library.",
2211
+ "project_page": "http://github.com/hercules-team/augeasproviders",
2212
+ "dependencies": [
2213
+
2214
+ ],
2215
+ "types": [
2216
+ {
2217
+ "name": "sshd_config",
2218
+ "doc": "Manages settings in an OpenSSH sshd_config file.\n\nThe resource name is used for the setting name, but if the `condition` is\ngiven, then the name can be something else and the `key` given as the name\nof the setting.\n\nSubsystem entries are not managed by this type. There is a specific `sshd_config_subsystem` type to manage these entries.",
2219
+ "properties": [
2220
+ {
2221
+ "name": "ensure",
2222
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2223
+ },
2224
+ {
2225
+ "name": "value",
2226
+ "doc": "Value to change the setting to. The follow parameters take an array of values:\n \n- MACs;\n- AcceptEnv;\n- AllowGroups;\n- AllowUsers;\n- DenyGroups;\n- DenyUsers.\n \nAll other parameters take a string. When passing an array to other parameters, only the first value in the array will be considered."
2227
+ }
2228
+ ],
2229
+ "parameters": [
2230
+ {
2231
+ "name": "name",
2232
+ "doc": "The name of the setting, or a unique string if `condition` given."
2233
+ },
2234
+ {
2235
+ "name": "key",
2236
+ "doc": "Overrides setting name to prevent resource conflicts if `condition` is\ngiven."
2237
+ },
2238
+ {
2239
+ "name": "target",
2240
+ "doc": "The file in which to store the settings, defaults to\n`/etc/ssh/sshd_config`."
2241
+ },
2242
+ {
2243
+ "name": "condition",
2244
+ "doc": "Match group condition for the entry,\nin the format:\n\n sshd_config { 'PermitRootLogin':\n value => 'without-password',\n condition => 'Host example.net',\n }\n\nThe value can contain multiple conditions, concatenated together with\nwhitespace. This is used if the `Match` block has multiple criteria.\n\n condition => 'Host example.net User root'\n "
2245
+ }
2246
+ ],
2247
+ "providers": [
2248
+ {
2249
+ "doc": "Uses Augeas API to update an sshd_config parameter"
2250
+ }
2251
+ ]
2252
+ },
2253
+ {
2254
+ "name": "sysctl",
2255
+ "doc": "Manages entries in /etc/sysctl.conf.",
2256
+ "properties": [
2257
+ {
2258
+ "name": "ensure",
2259
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2260
+ },
2261
+ {
2262
+ "name": "val",
2263
+ "doc": "An alias for 'value'. Maintains interface compatibility with the traditional ParsedFile sysctl provider. If both are set, 'value' will take precedence over 'val'."
2264
+ },
2265
+ {
2266
+ "name": "value",
2267
+ "doc": "Value to change the setting to. Settings with multiple values (such as net.ipv4.tcp_mem) are represented as a single whitespace separated string."
2268
+ },
2269
+ {
2270
+ "name": "comment",
2271
+ "doc": "Text to be stored in a comment immediately above the entry. It will be automatically prepended with the name of the setting in order for the provider to know whether it controls the comment or not."
2272
+ }
2273
+ ],
2274
+ "parameters": [
2275
+ {
2276
+ "name": "name",
2277
+ "doc": "The name of the setting, e.g. net.ipv4.ip_forward"
2278
+ },
2279
+ {
2280
+ "name": "target",
2281
+ "doc": "The file in which to store the settings, defaults to\n `/etc/sysctl.conf`."
2282
+ },
2283
+ {
2284
+ "name": "apply",
2285
+ "doc": "Whether to apply the value using the sysctl command. Valid values are `true`, `false`."
2286
+ }
2287
+ ],
2288
+ "providers": [
2289
+ {
2290
+ "doc": "Uses Augeas API to update sysctl settings\n\nRequired binaries: `sysctl`."
2291
+ }
2292
+ ]
2293
+ },
2294
+ {
2295
+ "name": "apache_setenv",
2296
+ "doc": "Manages SetEnv entries in a Apache config",
2297
+ "properties": [
2298
+ {
2299
+ "name": "ensure",
2300
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2301
+ },
2302
+ {
2303
+ "name": "value",
2304
+ "doc": "The value to set it to"
2305
+ }
2306
+ ],
2307
+ "parameters": [
2308
+ {
2309
+ "name": "name",
2310
+ "doc": "The variable name to set"
2311
+ },
2312
+ {
2313
+ "name": "target",
2314
+ "doc": "The config file to use"
2315
+ }
2316
+ ],
2317
+ "providers": [
2318
+ {
2319
+ "doc": "Use Augeas API to update SetEnv in Apache"
2320
+ }
2321
+ ]
2322
+ },
2323
+ {
2324
+ "name": "sshd_config_subsystem",
2325
+ "doc": "Manages Subsystem settings in an OpenSSH sshd_config file.",
2326
+ "properties": [
2327
+ {
2328
+ "name": "ensure",
2329
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2330
+ },
2331
+ {
2332
+ "name": "command",
2333
+ "doc": "The command to execute upon subsystem request."
2334
+ }
2335
+ ],
2336
+ "parameters": [
2337
+ {
2338
+ "name": "name",
2339
+ "doc": "The name of the subsystem to set."
2340
+ },
2341
+ {
2342
+ "name": "target",
2343
+ "doc": "The file in which to store the settings, defaults to\n `/etc/ssh/sshd_config`."
2344
+ }
2345
+ ],
2346
+ "providers": [
2347
+ {
2348
+ "doc": "Uses Augeas API to update a Subsystem parameter in sshd_config."
2349
+ }
2350
+ ]
2351
+ },
2352
+ {
2353
+ "name": "kernel_parameter",
2354
+ "doc": "Manages kernel parameters stored in bootloaders.",
2355
+ "properties": [
2356
+ {
2357
+ "name": "ensure",
2358
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2359
+ },
2360
+ {
2361
+ "name": "value",
2362
+ "doc": "Value of the parameter if applicable. Many parameters are just keywords so this must be left blank, while others (e.g. 'vga') will take a value."
2363
+ }
2364
+ ],
2365
+ "parameters": [
2366
+ {
2367
+ "name": "name",
2368
+ "doc": "The parameter name, e.g. 'quiet' or 'vga'."
2369
+ },
2370
+ {
2371
+ "name": "target",
2372
+ "doc": "The bootloader configuration file, if in a non-default location for the provider."
2373
+ },
2374
+ {
2375
+ "name": "bootmode",
2376
+ "doc": "Boot mode(s) to apply the parameter to. Either 'all' (default) to use the parameter on all boots (normal and recovery mode), 'normal' for just normal boots or 'recovery' for just recovery boots. Valid values are `all`, `normal`, `recovery`."
2377
+ }
2378
+ ],
2379
+ "providers": [
2380
+ {
2381
+ "name": "grub",
2382
+ "doc": "Uses Augeas API to update kernel parameters in GRUB's menu.lst"
2383
+ },
2384
+ {
2385
+ "name": "grub2",
2386
+ "doc": "Uses Augeas API to update kernel parameters in GRUB2's /etc/default/grub\n\nRequired binaries: `/usr/sbin/grub2-mkconfig`."
2387
+ }
2388
+ ]
2389
+ },
2390
+ {
2391
+ "name": "syslog",
2392
+ "doc": "Manages settings in syslog.conf.",
2393
+ "properties": [
2394
+ {
2395
+ "name": "ensure",
2396
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2397
+ },
2398
+ {
2399
+ "name": "no_sync",
2400
+ "doc": "Whether to omit syncing the file after every logging, ony when action_type is file. Valid values are `true`, `false`."
2401
+ }
2402
+ ],
2403
+ "parameters": [
2404
+ {
2405
+ "name": "name",
2406
+ "doc": "The name of the resource."
2407
+ },
2408
+ {
2409
+ "name": "facility",
2410
+ "doc": "The syslog facility for the selector."
2411
+ },
2412
+ {
2413
+ "name": "level",
2414
+ "doc": "The syslog level for the selector."
2415
+ },
2416
+ {
2417
+ "name": "action_type",
2418
+ "doc": "The type of action: file, hostname, user or program."
2419
+ },
2420
+ {
2421
+ "name": "action",
2422
+ "doc": "The action for the entry."
2423
+ },
2424
+ {
2425
+ "name": "target",
2426
+ "doc": "The file in which to store the settings, defaults to\n `/etc/syslog.conf`."
2427
+ },
2428
+ {
2429
+ "name": "lens",
2430
+ "doc": "The augeas lens used to parse the file"
2431
+ }
2432
+ ],
2433
+ "providers": [
2434
+ {
2435
+ "doc": "Uses Augeas API to update a syslog.conf entry"
2436
+ },
2437
+ {
2438
+ "name": "rsyslog",
2439
+ "doc": "Uses Augeas API to update an rsyslog.conf entry"
2440
+ }
2441
+ ]
2442
+ },
2443
+ {
2444
+ "name": "nrpe_command",
2445
+ "doc": "Manages commands in /etc/nagios/nrpe.cfg.",
2446
+ "properties": [
2447
+ {
2448
+ "name": "ensure",
2449
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2450
+ },
2451
+ {
2452
+ "name": "command",
2453
+ "doc": "Check command to run on the system, with arguments"
2454
+ }
2455
+ ],
2456
+ "parameters": [
2457
+ {
2458
+ "name": "name",
2459
+ "doc": "The name of the command, e.g. check_my_stuff"
2460
+ },
2461
+ {
2462
+ "name": "target",
2463
+ "doc": "The file in which to store the command, defaults to\n `/etc/nagios/nrpe.cfg`."
2464
+ }
2465
+ ],
2466
+ "providers": [
2467
+ {
2468
+ "doc": "Uses Augeas API to update nrpe commands"
2469
+ }
2470
+ ]
2471
+ },
2472
+ {
2473
+ "name": "shellvar",
2474
+ "doc": "Manages variables in simple shell scripts.",
2475
+ "properties": [
2476
+ {
2477
+ "name": "ensure",
2478
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2479
+ },
2480
+ {
2481
+ "name": "value",
2482
+ "doc": "Value to change the variable to."
2483
+ },
2484
+ {
2485
+ "name": "comment",
2486
+ "doc": "Text to be stored in a comment immediately above the entry. It will be automatically prepended with the name of the variable in order for the provider to know whether it controls the comment or not."
2487
+ }
2488
+ ],
2489
+ "parameters": [
2490
+ {
2491
+ "name": "variable",
2492
+ "doc": "The name of the variable, e.g. OPTIONS"
2493
+ },
2494
+ {
2495
+ "name": "quoted",
2496
+ "doc": "Quoting method to use, defaults to `auto`.\n\n* `auto` will quote only if necessary, leaving existing quotes as-is\n* `double` and `single` will always quotes\n* `none` will remove quotes, which may result in save failures Valid values are `auto`, `double`, `single`, `none`, `false`, `true`."
2497
+ },
2498
+ {
2499
+ "name": "array_type",
2500
+ "doc": "Type of array mapping to use, defaults to `auto`.\n\n* `auto` will detect the current type, and default to `string`\n* `string` will render the array as a string and use space-separated values\n* `array` will render the array as a shell array Valid values are `auto`, `string`, `array`."
2501
+ },
2502
+ {
2503
+ "name": "target",
2504
+ "doc": "The file in which to store the variable."
2505
+ }
2506
+ ],
2507
+ "providers": [
2508
+ {
2509
+ "doc": "Uses Augeas API to update shell script variables"
2510
+ }
2511
+ ]
2512
+ },
2513
+ {
2514
+ "name": "pg_hba",
2515
+ "doc": "Manages commands in pg_hba.conf.",
2516
+ "properties": [
2517
+ {
2518
+ "name": "ensure",
2519
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`, `positioned`."
2520
+ },
2521
+ {
2522
+ "name": "method",
2523
+ "doc": "The authentication method"
2524
+ },
2525
+ {
2526
+ "name": "options",
2527
+ "doc": "The hash of authentication options"
2528
+ }
2529
+ ],
2530
+ "parameters": [
2531
+ {
2532
+ "name": "name",
2533
+ "doc": "The default namevar"
2534
+ },
2535
+ {
2536
+ "name": "type",
2537
+ "doc": "The type of host Valid values are `local`, `host`, `hostssl`, `hostnossl`."
2538
+ },
2539
+ {
2540
+ "name": "database",
2541
+ "doc": "The database"
2542
+ },
2543
+ {
2544
+ "name": "user",
2545
+ "doc": "The user"
2546
+ },
2547
+ {
2548
+ "name": "address",
2549
+ "doc": "The address (for host, hostssl, hostnossl types)"
2550
+ },
2551
+ {
2552
+ "name": "target",
2553
+ "doc": "The file in which to the pg_hba rule"
2554
+ },
2555
+ {
2556
+ "name": "position",
2557
+ "doc": "Where to place the new entry"
2558
+ }
2559
+ ],
2560
+ "providers": [
2561
+ {
2562
+ "doc": "Uses Augeas API to update pg_hba settings"
2563
+ }
2564
+ ]
2565
+ },
2566
+ {
2567
+ "name": "puppet_auth",
2568
+ "doc": "Manages settings in Puppet's auth.conf.",
2569
+ "properties": [
2570
+ {
2571
+ "name": "ensure",
2572
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
2573
+ },
2574
+ {
2575
+ "name": "environments",
2576
+ "doc": "The list of environments the rule applies to."
2577
+ },
2578
+ {
2579
+ "name": "methods",
2580
+ "doc": "The list of methods the rule applies to. Possible values are:\n\n- find;\n- search;\n- save;\n- destroy."
2581
+ },
2582
+ {
2583
+ "name": "allow",
2584
+ "doc": "The list of hosts allowed for this rule,\nspecified by hostname or cername. Regexes are allowed,\nas well as the special value `*`."
2585
+ },
2586
+ {
2587
+ "name": "allow_ip",
2588
+ "doc": "The list of IPs allowed for this rule.\nRequires Puppet 3.0.0 or greater."
2589
+ },
2590
+ {
2591
+ "name": "authenticated",
2592
+ "doc": "The type of authentication for the rule. Possible values are:\n\n- yes;\n- no;\n- on;\n- off;\n- any."
2593
+ }
2594
+ ],
2595
+ "parameters": [
2596
+ {
2597
+ "name": "name",
2598
+ "doc": "The name of the resource."
2599
+ },
2600
+ {
2601
+ "name": "path",
2602
+ "doc": "The path for the auth rule."
2603
+ },
2604
+ {
2605
+ "name": "path_regex",
2606
+ "doc": "Whether the path is specified as a regex. Valid values are `true`, `false`."
2607
+ },
2608
+ {
2609
+ "name": "ins_before",
2610
+ "doc": "Optional XPath expression to specify where to insert the auth rule.\n\nThis parameter takes special values working as aliases:\n\n- `first allow`, mapping to `path[allow][1]`;\n- `last allow`, mapping to `path[allow][last()]`;\n- `first deny`, mapping to `path[count(allow)=0][1]`;\n- `last deny`, mapping to path[count(allow)=0][last()]`"
2611
+ },
2612
+ {
2613
+ "name": "ins_after",
2614
+ "doc": "Optional XPath expression to specify where to insert the auth rule.\n\nThis parameter takes special values working as aliases:\n\n- `first allow`, mapping to `path[allow][1]`;\n- `last allow`, mapping to `path[allow][last()]`;\n- `first deny`, mapping to `path[count(allow)=0][1]`;\n- `last deny`, mapping to path[count(allow)=0][last()]`"
2615
+ },
2616
+ {
2617
+ "name": "target",
2618
+ "doc": "The file in which to store the settings, defaults to\n `/etc/puppet/auth.conf`."
2619
+ }
2620
+ ],
2621
+ "providers": [
2622
+ {
2623
+ "doc": "Uses Augeas API to update a rule in Puppet's auth.conf."
2624
+ }
2625
+ ]
2626
+ }
2627
+ ],
2628
+ "checksums": {
2629
+ "CONTRIBUTING.md": "11e7aa5b3f05c7b09d32a385578db71f",
2630
+ "Changelog": "67a8c94966c143165d11b60f9d71865a",
2631
+ "Gemfile": "ffb402399ce96277f2e439294ebe4ac5",
2632
+ "Gemfile.lock": "31ef64b8925d8d78596c32fb730d2fd7",
2633
+ "LICENSE": "0a23d6c579795bb78b0de2ba06b1dfeb",
2634
+ "Modulefile": "e1fbe38b9395a9902be17da540a014f0",
2635
+ "README.md": "17fa460c65b8cb025a1d1bc996a24f5a",
2636
+ "Rakefile": "340a2ef6ee5a822c9e0bed70862fca6b",
2637
+ "docs/CHANGELOG.html": "712adda1ee4f95abaa369748e37c8afc",
2638
+ "docs/CONTRIBUTING.html": "47d11b3c6b78b460a15555d6a300256a",
2639
+ "docs/Makefile": "a39d8376506e31d445f134a658e48ecd",
2640
+ "docs/README.html": "55b192ae2b2556e490bca8ee2b7ba25f",
2641
+ "docs/buttondown.css": "f15e6924612f4c5ae477030bf7bf665b",
2642
+ "docs/examples/apache_setenv.md": "62cf9cadbf3f207734ee5c6d3c84143e",
2643
+ "docs/examples/host.md": "ccc23a5bc50a746c90a6890012d64ce7",
2644
+ "docs/examples/kernel_parameter.md": "716f9890eef1a71bfbed77ef16219471",
2645
+ "docs/examples/mailalias.md": "5e13bdf971e6c1ae81ce946c4cde9276",
2646
+ "docs/examples/mounttab.md": "a244e500f1ce2d991e56dc93dc7cb869",
2647
+ "docs/examples/nrpe_command.md": "6ae395751d493a28ca591078a6587695",
2648
+ "docs/examples/pg_hba.md": "be48d901f065eb79eb812a99047ab7ff",
2649
+ "docs/examples/puppet_auth.md": "35c2400a4c63112680da83d24a901674",
2650
+ "docs/examples/shellvar.md": "b056d5308d657d3b20af712f2df392d6",
2651
+ "docs/examples/sshd_config.md": "226cd405bfafb81cba6bc3baf9d99182",
2652
+ "docs/examples/sshd_config_subsystem.md": "e5dacd86a8bb2679f08908ecbbb2f42f",
2653
+ "docs/examples/sysctl.md": "1d41d081676e14ec7afa3a10ec77f2ea",
2654
+ "docs/examples/syslog.md": "355e0ff109881a34986302676d258791",
2655
+ "docs/examples.html": "7755abb4cb3660f69cd68a6538c10caf",
2656
+ "docs/examples.md": "40e34f471adecc717736ba27d93a4ae1",
2657
+ "docs/examples_header.html": "6b96fe444bf6b8accc3e32c24a8490ec",
2658
+ "docs/examples_header.md": "30ca99c44f2c022d61c33d3c951f5e4c",
2659
+ "docs/images/augeasproviders-spec-augparse.png": "19df7091646b354bcf85903b28cdf2d6",
2660
+ "docs/images/augeasproviders-spec-part1.png": "9d4bd03096614a39bf0d8beeb1537749",
2661
+ "docs/images/augeasproviders-spec-specshould.png": "b803dd2e6acaa7e67d9c030aab312d4f",
2662
+ "docs/index.html": "33e0369142c6dc29fda1e31ec1742a6a",
2663
+ "docs/index.md": "374dbf0d63e77d11b53bb97cdf963090",
2664
+ "docs/motw.html": "7bfe94da2f1cb68274febc86b5e769b8",
2665
+ "docs/motw.md": "0227cd4d0aee940d1df0ebea7b5fcb06",
2666
+ "docs/specs.html": "f4a30d7684a0b9cff200085a0ca98f1c",
2667
+ "docs/specs.md": "9eb05fe66f1d4e3686515182bac19e38",
2668
+ "lib/augeasproviders/mounttab/fstab.rb": "7ceea9a30b033b231dde1f4f1ee21079",
2669
+ "lib/augeasproviders/mounttab/vfstab.rb": "3be8bf59a4539cdaaa0bdda8e8c33174",
2670
+ "lib/augeasproviders/mounttab.rb": "d0dd1845a9408148eed0d8dbb93790c2",
2671
+ "lib/augeasproviders/provider.rb": "b634bcacc9ad40fbad17d6fb8b4b1b14",
2672
+ "lib/augeasproviders/type.rb": "1a91d2fec25301a1ba09042462f4372c",
2673
+ "lib/augeasproviders.rb": "4730498403c2d9ced6d586669ae7bbbc",
2674
+ "lib/puppet/provider/apache_setenv/augeas.rb": "3a5f17147d57750348ef9b39ef5e3058",
2675
+ "lib/puppet/provider/host/augeas.rb": "f1c9c58ae1ca4d450f9946e5e431f3b5",
2676
+ "lib/puppet/provider/kernel_parameter/grub.rb": "4a8b4ea3be974976c9dc05fd557b009c",
2677
+ "lib/puppet/provider/kernel_parameter/grub2.rb": "456fce5ec37df1f454c46f84aa8cc484",
2678
+ "lib/puppet/provider/mailalias/augeas.rb": "a86f77d15928a17e32a7cdfeb4090546",
2679
+ "lib/puppet/provider/mounttab/augeas.rb": "e2cedcedd7d312844e184572c61eceef",
2680
+ "lib/puppet/provider/nrpe_command/augeas.rb": "6362f4dec54e726fe58f2281f68c97e1",
2681
+ "lib/puppet/provider/pg_hba/augeas.rb": "0c936a460f99aef1089b6488aa1df9e2",
2682
+ "lib/puppet/provider/puppet_auth/augeas.rb": "962054aaf99c0de34c2dd265c4026f71",
2683
+ "lib/puppet/provider/shellvar/augeas.rb": "cec8e65c29da5970722f4b910f9748fd",
2684
+ "lib/puppet/provider/sshd_config/augeas.rb": "9ac4871bfd06d96e41ad295631ea9cfc",
2685
+ "lib/puppet/provider/sshd_config_subsystem/augeas.rb": "ad2e9060dfa9d84512f96c807563328f",
2686
+ "lib/puppet/provider/sysctl/augeas.rb": "408f8304890166d874aa6b60f84158ed",
2687
+ "lib/puppet/provider/syslog/augeas.rb": "3192ffa10d2fcf1a599779edc06083be",
2688
+ "lib/puppet/provider/syslog/rsyslog.rb": "2c077f0a8a2110343d0e2818bb3b0326",
2689
+ "lib/puppet/type/apache_setenv.rb": "dddc11b0c1c3ca92434f3820b70bbdf7",
2690
+ "lib/puppet/type/kernel_parameter.rb": "aa05738676e60fb432edd61fb72f95ea",
2691
+ "lib/puppet/type/nrpe_command.rb": "b639c9ee2cd6b5be91c3518be9ce8cad",
2692
+ "lib/puppet/type/pg_hba.rb": "22750898802ef2d02d4f0825d6ca3c95",
2693
+ "lib/puppet/type/puppet_auth.rb": "4879beaae171df46cc70ca6cd9057f1d",
2694
+ "lib/puppet/type/shellvar.rb": "ba5133cd31b6799a2e91c1b60eeebccb",
2695
+ "lib/puppet/type/sshd_config.rb": "281b25e8ddd43aaecd0373358dfa2a13",
2696
+ "lib/puppet/type/sshd_config_subsystem.rb": "f8d2d0e7ae12eb222c97825f275c3cd9",
2697
+ "lib/puppet/type/sysctl.rb": "ab61fd2889a36f80993cb3e8d2fa5711",
2698
+ "lib/puppet/type/syslog.rb": "38d8db1bf661078a68f2aaa03aa4a752",
2699
+ "manifests/init.pp": "33a2ec2e85db97f9b8b3e27d7b08e7d5",
2700
+ "spec/fixtures/unit/augeasproviders/provider/broken": "7657a3a3c58088d06aa33ab174622ef4",
2701
+ "spec/fixtures/unit/augeasproviders/provider/full": "20380104252d133d336cec79930ac625",
2702
+ "spec/fixtures/unit/puppet/apache_setenv/broken": "6a01556b45cde8a64fcb809810d41d43",
2703
+ "spec/fixtures/unit/puppet/apache_setenv/empty": "d41d8cd98f00b204e9800998ecf8427e",
2704
+ "spec/fixtures/unit/puppet/apache_setenv/full": "ac2608c38289d3ee813d001a3b6868ec",
2705
+ "spec/fixtures/unit/puppet/apache_setenv/simple": "534e3774e415f71a0eeea3e1c276ff3c",
2706
+ "spec/fixtures/unit/puppet/host/broken": "7657a3a3c58088d06aa33ab174622ef4",
2707
+ "spec/fixtures/unit/puppet/host/empty": "68b329da9893e34099c7d8ad5cb9c940",
2708
+ "spec/fixtures/unit/puppet/host/full": "20380104252d133d336cec79930ac625",
2709
+ "spec/fixtures/unit/puppet/kernel_parameter_grub/broken": "3d1c58f1d44d0231f34bae6b2e08c3df",
2710
+ "spec/fixtures/unit/puppet/kernel_parameter_grub/full": "11c31975ef0c4ae6749b326d02b3f44a",
2711
+ "spec/fixtures/unit/puppet/kernel_parameter_grub2/broken": "dd0b6633ef7bf01593927e0953555749",
2712
+ "spec/fixtures/unit/puppet/kernel_parameter_grub2/full": "ff203824922bb2bc5e823ffd0d9287f5",
2713
+ "spec/fixtures/unit/puppet/mailalias/broken": "7657a3a3c58088d06aa33ab174622ef4",
2714
+ "spec/fixtures/unit/puppet/mailalias/empty": "d41d8cd98f00b204e9800998ecf8427e",
2715
+ "spec/fixtures/unit/puppet/mailalias/full": "76a769cc7efe5e27e3c992c9cb695588",
2716
+ "spec/fixtures/unit/puppet/mounttab_fstab/broken": "14e37dc984061fe2f3b32f666872b9aa",
2717
+ "spec/fixtures/unit/puppet/mounttab_fstab/empty": "d41d8cd98f00b204e9800998ecf8427e",
2718
+ "spec/fixtures/unit/puppet/mounttab_fstab/full": "36122c5b2fc9619838c0f009c41612c0",
2719
+ "spec/fixtures/unit/puppet/mounttab_vfstab/broken": "c670fb8d65147a83eea6baeec218a093",
2720
+ "spec/fixtures/unit/puppet/mounttab_vfstab/empty": "d41d8cd98f00b204e9800998ecf8427e",
2721
+ "spec/fixtures/unit/puppet/mounttab_vfstab/full": "73cd949d3b00bff34b25e21e84197e8d",
2722
+ "spec/fixtures/unit/puppet/nrpe_command/broken": "7657a3a3c58088d06aa33ab174622ef4",
2723
+ "spec/fixtures/unit/puppet/nrpe_command/empty": "d41d8cd98f00b204e9800998ecf8427e",
2724
+ "spec/fixtures/unit/puppet/nrpe_command/full": "f51ce4ffb282fdd0782db7993ea230a7",
2725
+ "spec/fixtures/unit/puppet/pg_hba/broken": "cf43a8b553a24d7fada4537d28911cae",
2726
+ "spec/fixtures/unit/puppet/pg_hba/empty": "68b329da9893e34099c7d8ad5cb9c940",
2727
+ "spec/fixtures/unit/puppet/pg_hba/full": "068aafbab0d59bedf45bed12699f67e0",
2728
+ "spec/fixtures/unit/puppet/puppet_auth/broken": "56f785241d0ed9fe51a8170b9dd50272",
2729
+ "spec/fixtures/unit/puppet/puppet_auth/empty": "d41d8cd98f00b204e9800998ecf8427e",
2730
+ "spec/fixtures/unit/puppet/puppet_auth/full": "1bf33c8f5fa99e42a5490cf8166a3c80",
2731
+ "spec/fixtures/unit/puppet/rsyslog/broken": "0d97022df1ad5428512f5c20f49e5b79",
2732
+ "spec/fixtures/unit/puppet/rsyslog/empty": "d41d8cd98f00b204e9800998ecf8427e",
2733
+ "spec/fixtures/unit/puppet/rsyslog/full": "ab5109f47b56cdf68d1a49d1dc2f161e",
2734
+ "spec/fixtures/unit/puppet/shellvar/broken": "b25c9c687a562b638209926a7cdeec02",
2735
+ "spec/fixtures/unit/puppet/shellvar/empty": "d41d8cd98f00b204e9800998ecf8427e",
2736
+ "spec/fixtures/unit/puppet/shellvar/full": "a7f155c873f669fa4695a83ca6a53a8f",
2737
+ "spec/fixtures/unit/puppet/sshd_config/broken": "180da60c75056519fdaf4b4e8fe73e56",
2738
+ "spec/fixtures/unit/puppet/sshd_config/empty": "d41d8cd98f00b204e9800998ecf8427e",
2739
+ "spec/fixtures/unit/puppet/sshd_config/full": "2152c57f394aa75347bba1d8666fd371",
2740
+ "spec/fixtures/unit/puppet/sshd_config/nomatch": "a276b6b8e3fbc2e6c7915ba0de10950c",
2741
+ "spec/fixtures/unit/puppet/sshd_config_subsystem/broken": "180da60c75056519fdaf4b4e8fe73e56",
2742
+ "spec/fixtures/unit/puppet/sshd_config_subsystem/empty": "d41d8cd98f00b204e9800998ecf8427e",
2743
+ "spec/fixtures/unit/puppet/sshd_config_subsystem/full": "336b6c3da647bb3b052a8bc178425c02",
2744
+ "spec/fixtures/unit/puppet/sysctl/broken": "4ad66fadf9b67382b16817c66105b8a5",
2745
+ "spec/fixtures/unit/puppet/sysctl/empty": "d41d8cd98f00b204e9800998ecf8427e",
2746
+ "spec/fixtures/unit/puppet/sysctl/full": "f647c9efc637e452c88259ab7f90e71c",
2747
+ "spec/fixtures/unit/puppet/sysctl/small": "f7c2d9f63cd00cca8d055bcf83e4911c",
2748
+ "spec/fixtures/unit/puppet/syslog/broken": "9d1884537b34bb75b6545014a85b5296",
2749
+ "spec/fixtures/unit/puppet/syslog/empty": "d41d8cd98f00b204e9800998ecf8427e",
2750
+ "spec/fixtures/unit/puppet/syslog/full": "3509686927da43b107dc1090d0caaaae",
2751
+ "spec/lib/augeas_spec/augparse.rb": "aba3b1e4cba77c5cae79b365a8625f67",
2752
+ "spec/lib/augeas_spec/fixtures.rb": "957152713139276627a2005b40a481ed",
2753
+ "spec/lib/augeas_spec.rb": "347f96f25a5610c69519af8c05cf35d5",
2754
+ "spec/spec.opts": "a600ded995d948e393fbe2320ba8e51c",
2755
+ "spec/spec_helper.rb": "57a56adc3b220c8dc0afecdef283858d",
2756
+ "spec/unit/augeasproviders/provider_spec.rb": "ecf3ead5a7e351ecb50df0342b890fdd",
2757
+ "spec/unit/puppet/apache_setenv_spec.rb": "4d721ec28430b568d7034c9753fa21d0",
2758
+ "spec/unit/puppet/host_spec.rb": "b4fb6b6e96921c17180731af553ef425",
2759
+ "spec/unit/puppet/kernel_parameter_grub2_spec.rb": "6b27266a6dafac6e7a6c65ca8a155a03",
2760
+ "spec/unit/puppet/kernel_parameter_grub_spec.rb": "eb5d33d32c0c469d760d49981a322284",
2761
+ "spec/unit/puppet/mailalias_spec.rb": "bc9805cd726848f68c04dd3476cd3296",
2762
+ "spec/unit/puppet/mounttab_fstab_spec.rb": "58b9ee0c774bf95207d40cf758382736",
2763
+ "spec/unit/puppet/mounttab_vfstab_spec.rb": "a6abf535a6bafbc115aed87359a4fe1f",
2764
+ "spec/unit/puppet/nrpe_command_spec.rb": "1a751265d24a474c856fa6dcd6142ce4",
2765
+ "spec/unit/puppet/pg_hba_spec.rb": "ef79c198ca071b2cb5cfb44231c1d901",
2766
+ "spec/unit/puppet/puppet_auth_spec.rb": "318fc55bb031a080dfdd88ce8b919261",
2767
+ "spec/unit/puppet/rsyslog_spec.rb": "4f10000eb491b1cae315573360a4ff0f",
2768
+ "spec/unit/puppet/shellvar_spec.rb": "4e3e2d3ca22385b72003e2fa2440b348",
2769
+ "spec/unit/puppet/shellvar_type_spec.rb": "2f18150a7c96830e639546a4dafff3e2",
2770
+ "spec/unit/puppet/sshd_config_spec.rb": "3a91c684a08208e1a182b3af60c76ae6",
2771
+ "spec/unit/puppet/sshd_config_subsystem_spec.rb": "b8b1a285812c0c974cf02ff610b6dbea",
2772
+ "spec/unit/puppet/sysctl_spec.rb": "445c596e2cbeacdaa784a485fe390e52",
2773
+ "spec/unit/puppet/syslog_spec.rb": "43d9c9a10c86bbb876ea97e223ebf0a7"
2774
+ }
2775
+ },
2776
+ "tags": [
2777
+ "utilities",
2778
+ "mail",
2779
+ "nagios",
2780
+ "ssh",
2781
+ "sysctl",
2782
+ "hosts",
2783
+ "syslog",
2784
+ "nrpe",
2785
+ "sshd",
2786
+ "augeas",
2787
+ "host",
2788
+ "aliases",
2789
+ "mailalias",
2790
+ "mount",
2791
+ "mounttab",
2792
+ "fstab",
2793
+ "vfstab",
2794
+ "grub",
2795
+ "grub2",
2796
+ "kernel",
2797
+ "apache",
2798
+ "httpd",
2799
+ "sysconfig",
2800
+ "shell",
2801
+ "auth.conf",
2802
+ "rsyslog",
2803
+ "postgresql",
2804
+ "pg_hba"
2805
+ ],
2806
+ "file_uri": "/v3/files/domcleal-augeasproviders-1.0.2.tar.gz",
2807
+ "file_size": 187123,
2808
+ "file_md5": "8269efa8b955dec684abd53a82172e44",
2809
+ "downloads": 1952,
2810
+ "readme": "<section class=\"markdown\"><h1>augeasproviders: alternative Augeas-based providers for Puppet</h1>\n\n<p>This module provides alternative providers for core Puppet types such as\n<code>host</code> and <code>mailalias</code> using the Augeas configuration library. It also adds\nsome of its own types for new functionality.</p>\n\n<p>The advantage of using Augeas over the default Puppet <code>parsedfile</code>\nimplementations is that Augeas will go to great lengths to preserve file\nformatting and comments, while also failing safely when needed.</p>\n\n<p>These providers will hide <em>all</em> of the Augeas commands etc., you don&#39;t need to\nknow anything about Augeas to make use of it.</p>\n\n<p>If you want to make changes to config files in your own way, you should use\nthe <code>augeas</code> type directly. For more information about Augeas, see the\n<a href=\"http://augeas.net\">web site</a> or the\n<a href=\"http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas\">Puppet/Augeas</a>\nwiki page.</p>\n\n<h2>Types and providers</h2>\n\n<p>The following builtin types have an Augeas-based provider implemented:</p>\n\n<ul>\n<li><code>host</code></li>\n<li><code>mailalias</code></li>\n</ul>\n\n<p>The following other types have a provider implemented:</p>\n\n<ul>\n<li><code>mounttab</code> from <a href=\"http://forge.puppetlabs.com/puppetlabs/mount_providers\">puppetlabs-mount_providers</a></li>\n</ul>\n\n<p>The module adds the following new types:</p>\n\n<ul>\n<li><code>apache_setenv</code> for updating SetEnv entries in Apache HTTP Server configs</li>\n<li><code>kernel_parameter</code> for adding kernel parameters to GRUB Legacy or GRUB 2 configs</li>\n<li><code>nrpe_command</code> for setting command entries in Nagios NRPE&#39;s <code>nrpe.cfg</code></li>\n<li><code>pg_hba</code> for PostgreSQL&#39;s <code>pg_hba.conf</code> entries</li>\n<li><code>puppet_auth</code> for authentication rules in Puppet&#39;s <code>auth.conf</code></li>\n<li><code>shellvar</code> for shell variables in <code>/etc/sysconfig</code> or <code>/etc/default</code> etc.</li>\n<li><code>sshd_config</code> for setting configuration entries in OpenSSH&#39;s <code>sshd_config</code></li>\n<li><code>sshd_config_subsystem</code> for setting subsystem entries in OpenSSH&#39;s <code>sshd_config</code></li>\n<li><code>sysctl</code> for entries inside Linux&#39;s sysctl.conf</li>\n<li><code>syslog</code> for entries inside syslog.conf</li>\n</ul>\n\n<p>Lots of examples are provided in the accompanying documentation (see\n<code>docs/examples.html</code>) and are also published <a href=\"http://augeasproviders.com/documentation/examples.html\">on the web site</a>.\nIf this is a git checkout, you will need to run <code>make</code> in docs/ to generate the\nHTML pages.</p>\n\n<p>Type documentation can be generated with <code>puppet doc -r type</code> or viewed on the\n<a href=\"http://forge.puppetlabs.com/domcleal/augeasproviders\">Puppet Forge page</a>.</p>\n\n<p>For builtin types and mounttab, the default provider will automatically become\nthe <code>augeas</code> provider once the module is installed. This can be changed back\nto <code>parsed</code> where necessary.</p>\n\n<h2>Requirements</h2>\n\n<p>Ensure both Augeas and ruby-augeas 0.3.0+ bindings are installed and working as\nnormal.</p>\n\n<p>See <a href=\"http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas#Pre-requisites\">Puppet/Augeas pre-requisites</a>.</p>\n\n<h2>Installing</h2>\n\n<p>On Puppet 2.7.14+, the module can be installed easily (<a href=\"http://docs.puppetlabs.com/puppet/2.7/reference/modules_installing.html\">documentation</a>):</p>\n\n<pre><code>puppet module install domcleal/augeasproviders\n</code></pre>\n\n<p>You may see an error similar to this on Puppet 2.x (<a href=\"http://projects.puppetlabs.com/issues/13858\">#13858</a>):</p>\n\n<pre><code>Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type `kernel_parameter` at ...\n</code></pre>\n\n<p>Ensure the module is present in your puppetmaster&#39;s own environment (it doesn&#39;t\nhave to use it) and that the master has pluginsync enabled. Run the agent on\nthe puppetmaster to cause the custom types to be synced to its local libdir\n(<code>puppet master --configprint libdir</code>) and then restart the puppetmaster so it\nloads them.</p>\n\n<h2>Planned</h2>\n\n<p>The following builtin types have Augeas-based providers planned:</p>\n\n<ul>\n<li><code>ssh_authorized_key</code></li>\n<li><code>port</code>, once <a href=\"http://projects.puppetlabs.com/issues/5660\">#5660</a> is done</li>\n<li><code>yumrepo</code>, once <a href=\"http://projects.puppetlabs.com/issues/8758\">#8758</a> is done</li>\n</ul>\n\n<p>Other ideas for new types are:</p>\n\n<ul>\n<li><code>/etc/system</code> types</li>\n</ul>\n\n<h2>Issues</h2>\n\n<p>Please file any issues or suggestions <a href=\"https://github.com/hercules-team/augeasproviders/issues\">on GitHub</a>.</p>\n</section>",
2811
+ "changelog": "<section class=\"plaintext\"><pre># Changelog\n\n## 1.0.2\n* no change, re-release for bad tarball checksum\n\n## 1.0.1\n* sysctl: fix quoting issue when applying settings, fixes #53 (Jeremy Kitchen)\n* sysctl: fix apply=&gt;false, was always running, fixes #56 (Trey Dockendorf)\n* all: use augeas&#x2F;lenses&#x2F; from Puppet&#x27;s pluginsync libdir (Craig Dunn)\n* sshd: create array entries before Match groups\n\n## 1.0.0\n* devel: AugeasProviders::Provider has gained a large number of helper methods\n for writing providers\n* all: providers completely refactored to use AugeasProviders::Provider helpers\n* sysctl: ignore whitespace inside values during comparisons, fixes #50\n* shellvar: fix require to work for puppet apply&#x2F;specs\n\n## 0.7.0\n* pg_hba: new type for managing PostgreSQL pg_hba.conf entries\n* shellvar: add support for array values\n* sysctl: add &#x27;apply&#x27; parameter to change live kernel value (default: true)\n* sysctl: add &#x27;val&#x27; parameter alias for duritong&#x2F;puppet-sysctl compatibility\n* mailalias: fix quoting of pipe recipients, fixes #41\n* devel: test Ruby 2.0\n\n## 0.6.1\n* syslog: add rsyslog provider variant, requires Augeas 1.0.0\n* all: fix ruby-augeas 0.3.0 compatibility on Ruby 1.9\n* all: don&#x27;t throw error when target file doesn&#x27;t already exist\n* kernel_parameter&#x2F;grub: ensure partially present parameters will be removed\n\n## 0.6.0\n* apache_setenv: new type for managing Apache HTTP SetEnv config options (Endre\n Karlson)\n* puppet_auth: new type for managing Puppet&#x27;s auth.conf file\n* shellvar: new type for managing &#x2F;etc&#x2F;{default,sysconfig}\n* kernel_parameter: use EFI GRUB legacy config if present\n* devel: replaced librarian-puppet with puppetlabs_spec_helper&#x27;s .fixtures.yml\n* devel: use augparse --notypecheck for improved speed\n\n## 0.5.3\n* sshd_config: reinstate separate name parameter\n* docs: add sshd_config multiple keys example, fixes #27\n\n## 0.5.2\n* sshd_config, sysctl: create entries after commented out entry\n* host, mailalias: implement prefetch for performance\n* sshd_config: remove separate name parameter, only use key as namevar\n* docs: remove symlinks from docs&#x2F;, fixes #25, improve README, rename LICENSE\n* devel: improve idempotence logging\n* devel: update to Augeas 1.0.0, test Puppet 3.1\n\n## 0.5.1\n* all: fix library loading issue with `puppet apply`\n\n## 0.5.0\n* kernel_parameter: new type for managing kernel arguments in GRUB Legacy and\n GRUB 2 configs\n* docs: documentation index, existing articles and numerous examples for all\n providers added\n* docs: URLs changed to GitHub hercules-team organisation\n* devel: files existence stubbed out in tests\n* devel: Augeas submodule changed to point to GitHub\n* devel: specs compatibility with 2.7.20 fixed\n\n## 0.4.0\n* nrpe_command: new type for managing NRPE settings (Christian Kaenzig)\n* syslog: new type for managing (r)syslog destinations (Raphaël Pinson)\n\n## 0.3.1\n* all: fix missing require causing load errors\n* sshd_config: store multiple values for a setting as multiple entries, e.g.\n multiple ListenAddress lines (issue #13)\n* docs: minor fixes\n* devel: test Puppet 3.0\n\n## 0.3.0\n* sysctl: new type for managing sysctl.conf entries\n* mounttab: add Solaris &#x2F;etc&#x2F;vfstab support\n* mounttab: fix options property idempotency\n* mounttab: fix key=value options in fstab instances\n* host: fix comment and host_aliases properties idempotency\n* all: log &#x2F;augeas&#x2F;&#x2F;error output when unable to save\n* packaging: hard mount_providers dependency removed\n* devel: augparse used to test providers against expected tree\n* devel: augeas submodule included for testing against latest lenses\n\n## 0.2.0\n* mounttab: new provider for mounttab type in puppetlabs-mount_providers\n (supports fstab only, no vfstab), mount_providers now a dependency\n* devel: librarian-puppet used to install Puppet module dependencies\n\n## 0.1.1\n* host: fix host_aliases param support pre-2.7\n* sshd_config: find Match groups in instances&#x2F;ralsh\n* sshd_config: support arrays for ((Allow|Deny)(Groups|Users))|AcceptEnv|MACs\n* sshd_config_subsystem: new type and provider (Raphaël Pinson)\n* devel: use Travis CI, specify deps via Gemfile + bundler\n* specs: fixes for 0.25 and 2.6 series\n\n## 0.1.0\n* host: fix pre-2.7 compatibility when without comment property\n* sshd_config: new type and provider (Raphaël Pinson)\n* all: fix provider confine to enable use in same run as ruby-augeas install\n (Puppet #14822)\n* devel: refactor common augopen code into utility class\n* specs: fix both Ruby 1.8 and mocha 0.12 compatibility\n\n## 0.0.4\n* host: fix handling of multiple host_aliases\n* host: fix handling of empty comment string, now removes comment\n* host: fix missing ensure and comment parameters in puppet resource, only\n return aliases if present\n* mailalias: fix missing ensure parameter in puppet resource\n* specs: added comprehensive test harness for both providers\n\n## 0.0.3\n* all: add instances methods to enable `puppet resource`\n\n## 0.0.2\n* mailalias: new provider added for builtin mailalias type\n\n## 0.0.1\n* host: new provider added for builtin host type\n</pre></section>",
2812
+ "license": "<section class=\"plaintext\"><pre>augeasproviders: alternative Augeas-based providers for Puppet\n\nCopyright (c) 2012 Dominic Cleal\n\nLicensed under the Apache License, Version 2.0 (the &quot;License&quot;);\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an &quot;AS IS&quot; 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</pre></section>",
2813
+ "created_at": "2013-10-28 11:15:54 -0700",
2814
+ "updated_at": "2013-10-28 11:15:54 -0700",
2815
+ "deleted_at": null
2816
+ },
2817
+ "releases": [
2818
+ {
2819
+ "uri": "/v3/releases/domcleal-augeasproviders-1.0.2",
2820
+ "version": "1.0.2"
2821
+ },
2822
+ {
2823
+ "uri": "/v3/releases/domcleal-augeasproviders-1.0.1",
2824
+ "version": "1.0.1"
2825
+ },
2826
+ {
2827
+ "uri": "/v3/releases/domcleal-augeasproviders-1.0.0",
2828
+ "version": "1.0.0"
2829
+ },
2830
+ {
2831
+ "uri": "/v3/releases/domcleal-augeasproviders-0.7.0",
2832
+ "version": "0.7.0"
2833
+ },
2834
+ {
2835
+ "uri": "/v3/releases/domcleal-augeasproviders-0.6.1",
2836
+ "version": "0.6.1"
2837
+ },
2838
+ {
2839
+ "uri": "/v3/releases/domcleal-augeasproviders-0.6.0",
2840
+ "version": "0.6.0"
2841
+ },
2842
+ {
2843
+ "uri": "/v3/releases/domcleal-augeasproviders-0.5.3",
2844
+ "version": "0.5.3"
2845
+ },
2846
+ {
2847
+ "uri": "/v3/releases/domcleal-augeasproviders-0.5.2",
2848
+ "version": "0.5.2"
2849
+ },
2850
+ {
2851
+ "uri": "/v3/releases/domcleal-augeasproviders-0.5.1",
2852
+ "version": "0.5.1"
2853
+ },
2854
+ {
2855
+ "uri": "/v3/releases/domcleal-augeasproviders-0.5.0",
2856
+ "version": "0.5.0"
2857
+ },
2858
+ {
2859
+ "uri": "/v3/releases/domcleal-augeasproviders-0.4.0",
2860
+ "version": "0.4.0"
2861
+ },
2862
+ {
2863
+ "uri": "/v3/releases/domcleal-augeasproviders-0.3.1",
2864
+ "version": "0.3.1"
2865
+ },
2866
+ {
2867
+ "uri": "/v3/releases/domcleal-augeasproviders-0.3.0",
2868
+ "version": "0.3.0"
2869
+ },
2870
+ {
2871
+ "uri": "/v3/releases/domcleal-augeasproviders-0.2.0",
2872
+ "version": "0.2.0"
2873
+ },
2874
+ {
2875
+ "uri": "/v3/releases/domcleal-augeasproviders-0.1.1",
2876
+ "version": "0.1.1"
2877
+ },
2878
+ {
2879
+ "uri": "/v3/releases/domcleal-augeasproviders-0.1.0",
2880
+ "version": "0.1.0"
2881
+ },
2882
+ {
2883
+ "uri": "/v3/releases/domcleal-augeasproviders-0.0.4",
2884
+ "version": "0.0.4"
2885
+ },
2886
+ {
2887
+ "uri": "/v3/releases/domcleal-augeasproviders-0.0.3",
2888
+ "version": "0.0.3"
2889
+ },
2890
+ {
2891
+ "uri": "/v3/releases/domcleal-augeasproviders-0.0.2",
2892
+ "version": "0.0.2"
2893
+ },
2894
+ {
2895
+ "uri": "/v3/releases/domcleal-augeasproviders-0.0.1",
2896
+ "version": "0.0.1"
2897
+ }
2898
+ ],
2899
+ "homepage_url": "http://augeasproviders.com/",
2900
+ "issues_url": "http://github.com/hercules-team/augeasproviders/issues"
2901
+ },
2902
+ {
2903
+ "uri": "/v3/modules/maestrodev-maven",
2904
+ "name": "maven",
2905
+ "downloads": 8503,
2906
+ "created_at": "2012-06-13 05:31:36 -0700",
2907
+ "updated_at": "2014-01-06 14:19:34 -0800",
2908
+ "owner": {
2909
+ "uri": "/v3/users/maestrodev",
2910
+ "username": "maestrodev",
2911
+ "gravatar_id": "192d33f0c408b08b3df9d4927bfbcdc0"
2912
+ },
2913
+ "current_release": {
2914
+ "uri": "/v3/releases/maestrodev-maven-1.1.9",
2915
+ "module": {
2916
+ "uri": "/v3/modules/maestrodev-maven",
2917
+ "name": "maven",
2918
+ "owner": {
2919
+ "uri": "/v3/users/maestrodev",
2920
+ "username": "maestrodev",
2921
+ "gravatar_id": "192d33f0c408b08b3df9d4927bfbcdc0"
2922
+ }
2923
+ },
2924
+ "version": "1.1.9",
2925
+ "metadata": {
2926
+ "name": "maestrodev-maven",
2927
+ "version": "1.1.9",
2928
+ "source": "http://github.com/maestrodev/puppet-maven",
2929
+ "author": "maestrodev",
2930
+ "license": "Apache License, Version 2.0",
2931
+ "summary": "Apache Maven module for Puppet",
2932
+ "description": "A Puppet module to download artifacts from Maven repositories",
2933
+ "project_page": "http://github.com/maestrodev/puppet-maven",
2934
+ "dependencies": [
2935
+ {
2936
+ "name": "maestrodev/wget",
2937
+ "version_requirement": ">=1.0.0"
2938
+ }
2939
+ ],
2940
+ "types": [
2941
+ {
2942
+ "name": "maven",
2943
+ "doc": "Maven repository files.",
2944
+ "properties": [
2945
+ {
2946
+ "name": "ensure",
2947
+ "doc": "May be one of two values: 'present' or 'latest'. When 'present' (the default)\nthe specified maven artifact is downloaded when no file exists\nat 'path' (or 'name' if no path is specified.) This is approporate\nwhen the specified maven artifact refers to a released (non-SNAPSHOT)\nartifact. If 'latest' is specified and the value of version is\n'RELEASE', 'LATEST', or a SNAPSHOT the repository is queried for the\nmost recent version.\n\nValid values are `present`, `latest`. "
2948
+ }
2949
+ ],
2950
+ "parameters": [
2951
+ {
2952
+ "name": "path",
2953
+ "doc": "The destination path of the downloaded file.\n\n"
2954
+ },
2955
+ {
2956
+ "name": "id",
2957
+ "doc": "The Maven repository id, ie. 'org.apache.maven:maven-core:jar:3.0.5',\n'org.apache.maven:maven-core:jar:sources:3.0.5'\n\n"
2958
+ },
2959
+ {
2960
+ "name": "groupid",
2961
+ "doc": "The Maven arifact group id, ie. 'org.apache.maven'\n\n"
2962
+ },
2963
+ {
2964
+ "name": "artifactid",
2965
+ "doc": "The Maven artifact id, ie. 'maven-core'\n\n"
2966
+ },
2967
+ {
2968
+ "name": "version",
2969
+ "doc": "The Maven artifact version, ie. '3.0.5'\n\n"
2970
+ },
2971
+ {
2972
+ "name": "packaging",
2973
+ "doc": "The Maven artifact packaging, ie. 'jar'\n\n"
2974
+ },
2975
+ {
2976
+ "name": "classifier",
2977
+ "doc": "The Maven artifact classifier, ie. 'sources'\n\n"
2978
+ },
2979
+ {
2980
+ "name": "repoid",
2981
+ "doc": "Id of the repository to use. Useful for mirroring, authentication,...\n\n"
2982
+ },
2983
+ {
2984
+ "name": "repos",
2985
+ "doc": "Repositories to use for artifact downloading. Defaults to http://repo1.maven.apache.org/maven2\n\n"
2986
+ },
2987
+ {
2988
+ "name": "timeout",
2989
+ "doc": "Download timeout.\n\n"
2990
+ },
2991
+ {
2992
+ "name": "pluginversion",
2993
+ "doc": "Version of the dependency plugin to use.\n\n"
2994
+ },
2995
+ {
2996
+ "name": "options",
2997
+ "doc": "Other options to pass to mvn.\n\n"
2998
+ },
2999
+ {
3000
+ "name": "user",
3001
+ "doc": "User to run Maven as. Useful to share a local repo and settings.xml. Defaults to root.\n\n"
3002
+ },
3003
+ {
3004
+ "name": "group",
3005
+ "doc": "Group to run Maven as. Defaults to root.\n\n"
3006
+ }
3007
+ ],
3008
+ "providers": [
3009
+ {
3010
+ "name": "mvn",
3011
+ "doc": "Maven download using mvn command line."
3012
+ }
3013
+ ]
3014
+ }
3015
+ ],
3016
+ "checksums": {
3017
+ "Gemfile": "7af3acbbb3a8be369945a46bcb1fc190",
3018
+ "Gemfile.lock": "98dfcaf3eb4cd6f02ea88bdaa84b3c4f",
3019
+ "LICENSE": "3b83ef96387f14655fc854ddc3c6bd57",
3020
+ "Modulefile": "7fafa54223fbf4bfb645014751c18513",
3021
+ "Puppetfile": "ffbfa1dee66bf4bf8db958d36bc710c5",
3022
+ "Puppetfile.lock": "9bd55c56058d4003eb45481648b625f9",
3023
+ "README.md": "b6b7deccbd6856ccfacd105c5940eb64",
3024
+ "Rakefile": "eb3609d9e10aa67e2a60992460b8b66a",
3025
+ "Vagrantfile": "a7ca2302b3450128d36e866d7f3781e0",
3026
+ "lib/facter/maven_version.rb": "b8f07ca896a5da84f4f61a44389a6bc4",
3027
+ "lib/puppet/parser/functions/snapshotbaseversion.rb": "04a9c5225aa266202ca7699d6934f515",
3028
+ "lib/puppet/provider/maven/mvn.rb": "eddd3beb564c9c16e1440a1d4155681a",
3029
+ "lib/puppet/type/maven.rb": "a8523957e4384c452b660b542839cd9e",
3030
+ "manifests/buildr.pp": "2229539426e20cf286e547e4e631e9ef",
3031
+ "manifests/configure.pp": "8c0ab3e2e4349e8b17958aa1d100f598",
3032
+ "manifests/environment.pp": "50e56defef3a123a6629df3547259eb3",
3033
+ "manifests/init.pp": "c2589c4c1dee9f3e510ddda520069b3e",
3034
+ "manifests/install-gem.pp": "f4b2354eafad286eb160b71c6f2c3d38",
3035
+ "manifests/install_gem.pp": "1118a2cee8e85960f84bafcbbf09d354",
3036
+ "manifests/maven.pp": "bfc8a429fafd81c40df8605a8d1fd121",
3037
+ "manifests/settings.pp": "ec5e72854506b05cdff7f675f815b45d",
3038
+ "spec/classes/maven_spec.rb": "7aa7a05027d0b8f00342db730c6ce36d",
3039
+ "spec/defines/complete-settings.xml": "93cd3fb1045c05b1335cc57527837459",
3040
+ "spec/defines/default-mavenrc": "d41d8cd98f00b204e9800998ecf8427e",
3041
+ "spec/defines/default-repo-only-url-settings.xml": "7f6e08fbc6e9bc0b4cf3a70f36fd08b9",
3042
+ "spec/defines/default-repo-settings.xml": "3561cff50da7d88e17076b4051e73a17",
3043
+ "spec/defines/default-settings.xml": "c32126be976d4cce94072d259d60c65d",
3044
+ "spec/defines/environment_spec.rb": "d463392855a42f32743fbb4750abd678",
3045
+ "spec/defines/local-repo-settings.xml": "d5616742cec8e8607218c6b904a30a92",
3046
+ "spec/defines/mirror-servers-settings.xml": "662435f74748748da087b16895c42cc3",
3047
+ "spec/defines/populated-mavenrc": "f3ba57173b64666212ae64fcc2e0c8e3",
3048
+ "spec/defines/properties-settings.xml": "77981a6e51efa1781a7adfb660a5d4d1",
3049
+ "spec/defines/proxy-settings.xml": "58918c96c513e2e5649f42c65c8a29fd",
3050
+ "spec/defines/settings_spec.rb": "621e49c1ae4004e1bee9522b540184b7",
3051
+ "spec/fixtures/modules/wget/Gemfile": "4867df718b033e152c59c2a418e88b92",
3052
+ "spec/fixtures/modules/wget/Gemfile.lock": "b3e4cf700f055d8d242ad877da298127",
3053
+ "spec/fixtures/modules/wget/Modulefile": "319654cea17d4ad7af5a45f4746f6678",
3054
+ "spec/fixtures/modules/wget/README.md": "53e3a8bdf9ad988aae9b9581831bbcd6",
3055
+ "spec/fixtures/modules/wget/Rakefile": "527f8893f2694a9bc92993074f011cc3",
3056
+ "spec/fixtures/modules/wget/manifests/init.pp": "7a1575c5a0a755b01dcdd2dbf4f8e956",
3057
+ "spec/fixtures/modules/wget/spec/classes/init_spec.rb": "337ce66ffc43c7478ff0d3ff166d278a",
3058
+ "spec/fixtures/modules/wget/spec/fixtures/manifests/site.pp": "627dec82fd1b0d0b4f9e47135ed3e1b7",
3059
+ "spec/fixtures/modules/wget/spec/spec_helper.rb": "0db89c9a486df193c0e40095422e19dc",
3060
+ "spec/spec_helper.rb": "cc65187d0436f0481de4f83a41179d37",
3061
+ "spec/spec_helper_system.rb": "de7467d5673b34504b38ab22a34616aa",
3062
+ "spec/system/maven_system_spec.rb": "a0070e37027c70711fee7908597629e1",
3063
+ "spec/unit/puppet/provider/maven/mvn_spec.rb": "1c86764b1736b96ba1cef73c7ad016c0",
3064
+ "spec/unit/puppet/type/maven_spec.rb": "ba9d2fb1f50817a9c36d5dc11be21778",
3065
+ "templates/mavenrc.erb": "319f01bd0b0ec202132d7338230f09a6",
3066
+ "templates/settings.xml.erb": "ad0068b18196bcc816e3fc0e57476150",
3067
+ "tests/init.pp": "5f811b0b07e068c555afb42c34d94928"
3068
+ }
3069
+ },
3070
+ "tags": [
3071
+ "maven",
3072
+ "apache"
3073
+ ],
3074
+ "file_uri": "/v3/files/maestrodev-maven-1.1.9.tar.gz",
3075
+ "file_size": 25420,
3076
+ "file_md5": "6fcb2d26a6ccc8c59c9df0c520563a87",
3077
+ "downloads": 300,
3078
+ "readme": "<section class=\"markdown\"><h1>Puppet-Maven</h1>\n\n<p>A Puppet recipe for Apache Maven, to download artifacts from a Maven repository</p>\n\n<p>Uses <a href=\"http://maven.apache.org\">Apache Maven</a> command line to download the artifacts.</p>\n\n<h2>Building and Installing the Module</h2>\n\n<p>To build the module for installing in your Puppet master:</p>\n\n<pre lang=\"sh\"><code>gem install puppet-module\ngit clone git://github.com/maestrodev/puppet-maven.git\ncd puppet-maven\npuppet module build\npuppet module install pkg/maestrodev-maven-1.0.1.tar.gz\n</code></pre>\n\n<p>Of course, you can also clone the repository straight into <code>/etc/puppet/modules/maven</code> as well.</p>\n\n<h2>Developing and Testing the Module</h2>\n\n<p>If you are developing the module, it can be built using <code>rake</code>:</p>\n\n<pre lang=\"sh\"><code>gem install bundler\nbundle\nrake spec\nrake spec:system\n</code></pre>\n\n<h2>Usage</h2>\n\n<pre lang=\"puppet\"><code> maven { &quot;/tmp/myfile&quot;:\n id =&gt; &quot;groupId:artifactId:version:packaging:classifier&quot;,\n repos =&gt; [&quot;id::layout::http://repo.acme.com&quot;,&quot;http://repo2.acme.com&quot;],\n }\n</code></pre>\n\n<p>or</p>\n\n<pre lang=\"puppet\"><code> maven { &quot;/tmp/myfile&quot;:\n groupid =&gt; &quot;org.apache.maven&quot;,\n artifactid =&gt; &quot;maven-core&quot;,\n version =&gt; &quot;3.0.5&quot;,\n packaging =&gt; &quot;jar&quot;,\n classifier =&gt; &quot;sources&quot;,\n repos =&gt; [&quot;id::layout::http://repo.acme.com&quot;,&quot;http://repo2.acme.com&quot;],\n }\n</code></pre>\n\n<h3>ensure</h3>\n\n<p><code>ensure</code> may be one of two values:</p>\n\n<ul>\n<li><code>present</code> (the default) -- the specified maven artifact is downloaded when no file exists\nat <code>path</code> (or <code>name</code> if no path is specified.) This is probably makes\nsense when the specified maven artifact refers to a released (non-SNAPSHOT)\nartifact.</li>\n<li> <code>latest</code> -- if value of version is <code>RELEASE</code>, <code>LATEST</code>, or a SNAPSHOT the repository\nis queried for an updated artifact. If an updated artifact is found the file\nat <code>path</code> is replaced.</li>\n</ul>\n\n<h3>MAVEN_OPTS Precedence</h3>\n\n<p>Values set in <code>maven_opts</code> will be <em>prepended</em> to any existing\n<code>MAVEN_OPTS</code> value. This ensures that those already specified will win over\nthose added in <code>mavenrc</code>.</p>\n\n<p>If you would prefer these options to win, instead use:</p>\n\n<pre lang=\"puppet\"><code> maven_opts =&gt; &quot;&quot;,\n mavenrc_additions =&gt; &#39;MAVEN_OPTS=&quot;$MAVEN_OPTS -Xmx1024m&quot;\n</code></pre>\n\n<h2>Examples</h2>\n\n<h3>Setup</h3>\n\n<pre lang=\"puppet\"><code> $central = {\n id =&gt; &quot;myrepo&quot;,\n username =&gt; &quot;myuser&quot;,\n password =&gt; &quot;mypassword&quot;,\n url =&gt; &quot;http://repo.acme.com&quot;,\n mirrorof =&gt; &quot;external:*&quot;, # if you want to use the repo as a mirror, see maven::settings below\n }\n\n $proxy = {\n active =&gt; true, #Defaults to true\n protocol =&gt; &#39;http&#39;, #Defaults to &#39;http&#39;\n host =&gt; &#39;http://proxy.acme.com&#39;,\n username =&gt; &#39;myuser&#39;, #Optional if proxy does not require\n password =&gt; &#39;mypassword&#39;, #Optional if proxy does not require\n nonProxyHosts =&gt; &#39;www.acme.com&#39;, #Optional, provides exceptions to the proxy\n }\n\n # Install Maven\n class { &quot;maven::maven&quot;:\n version =&gt; &quot;3.0.5&quot;, # version to install\n # you can get Maven tarball from a Maven repository instead than from Apache servers, optionally with a user/password\n repo =&gt; {\n #url =&gt; &quot;http://repo.maven.apache.org/maven2&quot;,\n #username =&gt; &quot;&quot;,\n #password =&gt; &quot;&quot;,\n }\n } -&gt;\n\n # Setup a .mavenrc file for the specified user\n maven::environment { &#39;maven-env&#39; : \n user =&gt; &#39;root&#39;,\n # anything to add to MAVEN_OPTS in ~/.mavenrc\n maven_opts =&gt; &#39;-Xmx1384m&#39;, # anything to add to MAVEN_OPTS in ~/.mavenrc\n maven_path_additions =&gt; &quot;&quot;, # anything to add to the PATH in ~/.mavenrc\n\n } -&gt;\n\n # Create a settings.xml with the repo credentials\n maven::settings { &#39;maven-user-settings&#39; :\n mirrors =&gt; [$central], # mirrors entry in settings.xml, uses id, url, mirrorof from the hash passed\n servers =&gt; [$central], # servers entry in settings.xml, uses id, username, password from the hash passed\n proxies =&gt; [$proxy], # proxies entry in settings.xml, active, protocol, host, username, password, nonProxyHosts\n user =&gt; &#39;maven&#39;,\n }\n\n # defaults for all maven{} declarations\n Maven {\n user =&gt; &quot;maven&quot;, # you can make puppet run Maven as a specific user instead of root, useful to share Maven settings and local repository\n group =&gt; &quot;maven&quot;, # you can make puppet run Maven as a specific group\n repos =&gt; &quot;http://repo.maven.apache.org/maven2&quot;\n }\n</code></pre>\n\n<h2>Downloading artifacts</h2>\n\n<pre lang=\"puppet\"><code> maven { &quot;/tmp/maven-core-3.0.5.jar&quot;:\n id =&gt; &quot;org.apache.maven:maven-core:3.0.5:jar&quot;,\n repos =&gt; [&quot;central::default::http://repo.maven.apache.org/maven2&quot;,&quot;http://mirrors.ibiblio.org/pub/mirrors/maven2&quot;],\n }\n\n maven { &quot;/tmp/maven-core-3.0.5-sources.jar&quot;:\n groupid =&gt; &quot;org.apache.maven&quot;,\n artifactid =&gt; &quot;maven-core&quot;,\n version =&gt; &quot;3.0.5&quot;,\n classifier =&gt; &quot;sources&quot;,\n }\n</code></pre>\n\n<h2>Buildr version</h2>\n\n<p>Initially there was an <a href=\"http://buildr.apache.org\">Apache Buildr</a> version, but it required to have Buildr installed before running Puppet and you would need to <a href=\"http://docs.puppetlabs.com/guides/plugins_in_modules.html#enabling-pluginsync\">enable pluginsync</a>\nin both master and clients.</p>\n\n<h2>License</h2>\n\n<pre><code> Copyright 2011-2012 MaestroDev\n\n Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n</code></pre>\n\n<h2>Author</h2>\n\n<p>Carlos Sanchez <a href=\"mailto:csanchez@maestrodev.com\">csanchez@maestrodev.com</a>\n<a href=\"http://www.maestrodev.com\">MaestroDev</a>\n2010-03-01</p>\n</section>",
3079
+ "changelog": null,
3080
+ "license": "<section class=\"plaintext\"><pre>\n Apache License\n Version 2.0, January 2004\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n &quot;License&quot; shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n &quot;Licensor&quot; shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n &quot;Legal Entity&quot; shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n &quot;control&quot; means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n &quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n &quot;Source&quot; form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n &quot;Object&quot; form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n &quot;Work&quot; shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n &quot;Derivative Works&quot; shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n &quot;Contribution&quot; shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, &quot;submitted&quot;\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as &quot;Not a Contribution.&quot;\n\n &quot;Contributor&quot; shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a &quot;NOTICE&quot; text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and&#x2F;or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets &quot;[]&quot;\n replaced with your own identifying information. (Don&#x27;t include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same &quot;printed page&quot; as the copyright notice for easier\n identification within third-party archives.\n\n Copyright [yyyy] [name of copyright owner]\n\n Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n</pre></section>",
3081
+ "created_at": "2013-12-20 09:58:35 -0800",
3082
+ "updated_at": "2013-12-20 09:59:15 -0800",
3083
+ "deleted_at": null
3084
+ },
3085
+ "releases": [
3086
+ {
3087
+ "uri": "/v3/releases/maestrodev-maven-1.1.9",
3088
+ "version": "1.1.9"
3089
+ },
3090
+ {
3091
+ "uri": "/v3/releases/maestrodev-maven-1.1.8",
3092
+ "version": "1.1.8"
3093
+ },
3094
+ {
3095
+ "uri": "/v3/releases/maestrodev-maven-1.1.7",
3096
+ "version": "1.1.7"
3097
+ },
3098
+ {
3099
+ "uri": "/v3/releases/maestrodev-maven-1.1.6",
3100
+ "version": "1.1.6"
3101
+ },
3102
+ {
3103
+ "uri": "/v3/releases/maestrodev-maven-1.1.5",
3104
+ "version": "1.1.5"
3105
+ },
3106
+ {
3107
+ "uri": "/v3/releases/maestrodev-maven-1.1.4",
3108
+ "version": "1.1.4"
3109
+ },
3110
+ {
3111
+ "uri": "/v3/releases/maestrodev-maven-1.1.3",
3112
+ "version": "1.1.3"
3113
+ },
3114
+ {
3115
+ "uri": "/v3/releases/maestrodev-maven-1.1.2",
3116
+ "version": "1.1.2"
3117
+ },
3118
+ {
3119
+ "uri": "/v3/releases/maestrodev-maven-1.1.1",
3120
+ "version": "1.1.1"
3121
+ },
3122
+ {
3123
+ "uri": "/v3/releases/maestrodev-maven-1.1.0",
3124
+ "version": "1.1.0"
3125
+ },
3126
+ {
3127
+ "uri": "/v3/releases/maestrodev-maven-1.0.2",
3128
+ "version": "1.0.2"
3129
+ },
3130
+ {
3131
+ "uri": "/v3/releases/maestrodev-maven-1.0.1",
3132
+ "version": "1.0.1"
3133
+ },
3134
+ {
3135
+ "uri": "/v3/releases/maestrodev-maven-1.0.0",
3136
+ "version": "1.0.0"
3137
+ },
3138
+ {
3139
+ "uri": "/v3/releases/maestrodev-maven-0.0.2",
3140
+ "version": "0.0.2"
3141
+ },
3142
+ {
3143
+ "uri": "/v3/releases/maestrodev-maven-0.0.1",
3144
+ "version": "0.0.1"
3145
+ }
3146
+ ],
3147
+ "homepage_url": "http://github.com/maestrodev/puppet-maven",
3148
+ "issues_url": "http://github.com/maestrodev/puppet-maven/issues"
3149
+ }
3150
+ ]
3151
+ }