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: 2892
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: Fri, 21 May 2010 05:43:44 GMT
12
+ X-Node: forgeapi01
13
+ X-Revision: 49f66e061b0021c081fb58e754898cd928f61494
14
+
@@ -0,0 +1,93 @@
1
+ {
2
+ "uri": "/v3/releases/puppetlabs-apache-0.0.1",
3
+ "module": {
4
+ "uri": "/v3/modules/puppetlabs-apache",
5
+ "name": "apache",
6
+ "owner": {
7
+ "uri": "/v3/users/puppetlabs",
8
+ "username": "puppetlabs",
9
+ "gravatar_id": "fdd009b7c1ec96e088b389f773e87aec"
10
+ }
11
+ },
12
+ "version": "0.0.1",
13
+ "metadata": {
14
+ "name": "puppetlabs-apache",
15
+ "dependencies": [
16
+
17
+ ],
18
+ "author": "",
19
+ "license": "",
20
+ "version": "0.0.1",
21
+ "types": [
22
+ {
23
+ "name": "a2mod",
24
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu",
25
+ "parameters": [
26
+ {
27
+ "name": "name",
28
+ "doc": "The name of the module to be managed"
29
+ }
30
+ ],
31
+ "providers": [
32
+ {
33
+ "name": "a2mod",
34
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu Required binaries: ``a2enmod``, ``a2dismod``. Default for ``operatingsystem`` == ``debianubuntu``. "
35
+ }
36
+ ],
37
+ "properties": [
38
+ {
39
+ "name": "ensure",
40
+ "doc": "The basic property that the resource should be in. Valid values are ``present``, ``absent``."
41
+ }
42
+ ]
43
+ }
44
+ ],
45
+ "checksums": {
46
+ "tests/ssl.pp": "191912535199531fd631f911c6329e56",
47
+ "manifests/params.pp": "71734796921dbdbfd58f503622527616",
48
+ "tests/vhost.pp": "1b91e03c8ef89a7ecb6793831ac18399",
49
+ "manifests/php.pp": "b78cc593f1c4cd800c906e0891c9b11f",
50
+ "lib/puppet/provider/a2mod/a2mod.rb": "18c5bb180b75a2375e95e07f88a94257",
51
+ "tests/php.pp": "ce7bb9eef69d32b42a32ce32d9653625",
52
+ "files/httpd": "295f5e924afe6f752d29327e73fe6d0a",
53
+ "manifests/dev.pp": "510813942246cc9a7786d8f2d8874a35",
54
+ "manifests/ssl.pp": "b4334a161a2ba5fa8a62cf7b38f352c8",
55
+ "files/test.vhost": "0602022c19a7b6b289f218c7b93c1aea",
56
+ "tests/init.pp": "4eac4a7ef68499854c54a78879e25535",
57
+ "manifests/vhost.pp": "cbc4657b0cce5cd432057393d5f6b0c2",
58
+ "lib/puppet/type/a2mod.rb": "0e1b4843431413a10320ac1f6a055d15",
59
+ "templates/vhost-default.conf.erb": "9055aed946e1111c30ab81fedac2c8b0",
60
+ "tests/dev.pp": "4cf15c1fecea3ca86009f182b402c7ab",
61
+ "tests/apache.pp": "4eac4a7ef68499854c54a78879e25535",
62
+ "Modulefile": "a627da3a70651c38fc6578a4f4e100a8",
63
+ "manifests/init.pp": "dc503e26e8021351078813b541c4bd3d"
64
+ },
65
+ "source": ""
66
+ },
67
+ "tags": [
68
+ "apache",
69
+ "web",
70
+ "virtualhost",
71
+ "httpd",
72
+ "centos",
73
+ "rhel",
74
+ "debian",
75
+ "ubuntu",
76
+ "apache2",
77
+ "ssl",
78
+ "passenger",
79
+ "wsgi",
80
+ "proxy",
81
+ "virtual_host"
82
+ ],
83
+ "file_uri": "/v3/files/puppetlabs-apache-0.0.1.tar.gz",
84
+ "file_size": 3435,
85
+ "file_md5": "95abc51e9b772421c1c254ba467ea02b",
86
+ "downloads": 173,
87
+ "readme": null,
88
+ "changelog": null,
89
+ "license": null,
90
+ "created_at": "2010-05-20 22:43:44 -0700",
91
+ "updated_at": "2010-05-20 22:43:44 -0700",
92
+ "deleted_at": null
93
+ }
@@ -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: 2892
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: Sun, 23 May 2010 16:52:55 GMT
12
+ X-Node: forgeapi03
13
+ X-Revision: 49f66e061b0021c081fb58e754898cd928f61494
14
+
@@ -0,0 +1,93 @@
1
+ {
2
+ "uri": "/v3/releases/puppetlabs-apache-0.0.2",
3
+ "module": {
4
+ "uri": "/v3/modules/puppetlabs-apache",
5
+ "name": "apache",
6
+ "owner": {
7
+ "uri": "/v3/users/puppetlabs",
8
+ "username": "puppetlabs",
9
+ "gravatar_id": "fdd009b7c1ec96e088b389f773e87aec"
10
+ }
11
+ },
12
+ "version": "0.0.2",
13
+ "metadata": {
14
+ "name": "puppetlabs-apache",
15
+ "dependencies": [
16
+
17
+ ],
18
+ "author": "",
19
+ "license": "",
20
+ "version": "0.0.2",
21
+ "checksums": {
22
+ "tests/ssl.pp": "191912535199531fd631f911c6329e56",
23
+ "manifests/params.pp": "f137ab035e6cd5bdbbd50beeac4c68b0",
24
+ "tests/vhost.pp": "1b91e03c8ef89a7ecb6793831ac18399",
25
+ "manifests/php.pp": "8a5ca4035b1c22892923f3fde55e3d5e",
26
+ "lib/puppet/provider/a2mod/a2mod.rb": "18c5bb180b75a2375e95e07f88a94257",
27
+ "tests/php.pp": "ce7bb9eef69d32b42a32ce32d9653625",
28
+ "files/httpd": "295f5e924afe6f752d29327e73fe6d0a",
29
+ "manifests/dev.pp": "bc54a5af648cb04b7b3bb0e3f7be6543",
30
+ "manifests/ssl.pp": "11ed1861298c72cca3a706480bb0b67c",
31
+ "files/test.vhost": "0602022c19a7b6b289f218c7b93c1aea",
32
+ "tests/init.pp": "4eac4a7ef68499854c54a78879e25535",
33
+ "manifests/vhost.pp": "b43a4d6efb4563341efe8092677aac6f",
34
+ "lib/puppet/type/a2mod.rb": "0e1b4843431413a10320ac1f6a055d15",
35
+ "templates/vhost-default.conf.erb": "9055aed946e1111c30ab81fedac2c8b0",
36
+ "tests/dev.pp": "4cf15c1fecea3ca86009f182b402c7ab",
37
+ "tests/apache.pp": "4eac4a7ef68499854c54a78879e25535",
38
+ "Modulefile": "86f48ebf97e079cf0dc395881d87ecef",
39
+ "manifests/init.pp": "168dfe06fb9ad8d67a2effeea4477f57"
40
+ },
41
+ "types": [
42
+ {
43
+ "name": "a2mod",
44
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu",
45
+ "parameters": [
46
+ {
47
+ "name": "name",
48
+ "doc": "The name of the module to be managed"
49
+ }
50
+ ],
51
+ "providers": [
52
+ {
53
+ "name": "a2mod",
54
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu Required binaries: ``a2enmod``, ``a2dismod``. Default for ``operatingsystem`` == ``debianubuntu``. "
55
+ }
56
+ ],
57
+ "properties": [
58
+ {
59
+ "name": "ensure",
60
+ "doc": "The basic property that the resource should be in. Valid values are ``present``, ``absent``."
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "source": ""
66
+ },
67
+ "tags": [
68
+ "apache",
69
+ "web",
70
+ "virtualhost",
71
+ "httpd",
72
+ "centos",
73
+ "rhel",
74
+ "debian",
75
+ "ubuntu",
76
+ "apache2",
77
+ "ssl",
78
+ "passenger",
79
+ "wsgi",
80
+ "proxy",
81
+ "virtual_host"
82
+ ],
83
+ "file_uri": "/v3/files/puppetlabs-apache-0.0.2.tar.gz",
84
+ "file_size": 4006,
85
+ "file_md5": "e6bca59ddbe26ae653611935d1f24e70",
86
+ "downloads": 436,
87
+ "readme": null,
88
+ "changelog": null,
89
+ "license": null,
90
+ "created_at": "2010-05-23 09:52:55 -0700",
91
+ "updated_at": "2010-05-23 09:52:55 -0700",
92
+ "deleted_at": null
93
+ }
@@ -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: 2892
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: Sat, 26 Jun 2010 23:19:57 GMT
12
+ X-Node: forgeapi01
13
+ X-Revision: 49f66e061b0021c081fb58e754898cd928f61494
14
+
@@ -0,0 +1,93 @@
1
+ {
2
+ "uri": "/v3/releases/puppetlabs-apache-0.0.3",
3
+ "module": {
4
+ "uri": "/v3/modules/puppetlabs-apache",
5
+ "name": "apache",
6
+ "owner": {
7
+ "uri": "/v3/users/puppetlabs",
8
+ "username": "puppetlabs",
9
+ "gravatar_id": "fdd009b7c1ec96e088b389f773e87aec"
10
+ }
11
+ },
12
+ "version": "0.0.3",
13
+ "metadata": {
14
+ "name": "puppetlabs-apache",
15
+ "dependencies": [
16
+
17
+ ],
18
+ "author": "",
19
+ "license": "",
20
+ "version": "0.0.3",
21
+ "checksums": {
22
+ "tests/ssl.pp": "191912535199531fd631f911c6329e56",
23
+ "manifests/params.pp": "8728cf041cdd94bb0899170eb2b417d9",
24
+ "tests/vhost.pp": "1b91e03c8ef89a7ecb6793831ac18399",
25
+ "manifests/php.pp": "8a5ca4035b1c22892923f3fde55e3d5e",
26
+ "lib/puppet/provider/a2mod/a2mod.rb": "18c5bb180b75a2375e95e07f88a94257",
27
+ "tests/php.pp": "ce7bb9eef69d32b42a32ce32d9653625",
28
+ "files/httpd": "295f5e924afe6f752d29327e73fe6d0a",
29
+ "manifests/dev.pp": "bc54a5af648cb04b7b3bb0e3f7be6543",
30
+ "manifests/ssl.pp": "11ed1861298c72cca3a706480bb0b67c",
31
+ "files/test.vhost": "0602022c19a7b6b289f218c7b93c1aea",
32
+ "tests/init.pp": "4eac4a7ef68499854c54a78879e25535",
33
+ "manifests/vhost.pp": "7806a6c098e217da046d0555314756c4",
34
+ "lib/puppet/type/a2mod.rb": "0e1b4843431413a10320ac1f6a055d15",
35
+ "templates/vhost-default.conf.erb": "ed64a53af0d7bad762176a98c9ea3e62",
36
+ "tests/dev.pp": "4cf15c1fecea3ca86009f182b402c7ab",
37
+ "tests/apache.pp": "4eac4a7ef68499854c54a78879e25535",
38
+ "Modulefile": "9b7a414bf15b06afe2f011068fcaff52",
39
+ "manifests/init.pp": "9ef7e081c832bca8f861c3a9feb9949d"
40
+ },
41
+ "types": [
42
+ {
43
+ "name": "a2mod",
44
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu",
45
+ "parameters": [
46
+ {
47
+ "name": "name",
48
+ "doc": "The name of the module to be managed"
49
+ }
50
+ ],
51
+ "providers": [
52
+ {
53
+ "name": "a2mod",
54
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu Required binaries: ``a2enmod``, ``a2dismod``. Default for ``operatingsystem`` == ``debianubuntu``. "
55
+ }
56
+ ],
57
+ "properties": [
58
+ {
59
+ "name": "ensure",
60
+ "doc": "The basic property that the resource should be in. Valid values are ``present``, ``absent``."
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "source": ""
66
+ },
67
+ "tags": [
68
+ "apache",
69
+ "web",
70
+ "virtualhost",
71
+ "httpd",
72
+ "centos",
73
+ "rhel",
74
+ "debian",
75
+ "ubuntu",
76
+ "apache2",
77
+ "ssl",
78
+ "passenger",
79
+ "wsgi",
80
+ "proxy",
81
+ "virtual_host"
82
+ ],
83
+ "file_uri": "/v3/files/puppetlabs-apache-0.0.3.tar.gz",
84
+ "file_size": 3929,
85
+ "file_md5": "cad6c53e9e79698253187610ae8382fc",
86
+ "downloads": 798,
87
+ "readme": null,
88
+ "changelog": null,
89
+ "license": null,
90
+ "created_at": "2010-06-26 16:19:57 -0700",
91
+ "updated_at": "2010-06-26 16:19:57 -0700",
92
+ "deleted_at": null
93
+ }
@@ -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: 7586
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: Tue, 08 May 2012 23:43:59 GMT
12
+ X-Node: forgeapi02
13
+ X-Revision: 49f66e061b0021c081fb58e754898cd928f61494
14
+
@@ -0,0 +1,126 @@
1
+ {
2
+ "uri": "/v3/releases/puppetlabs-apache-0.0.4",
3
+ "module": {
4
+ "uri": "/v3/modules/puppetlabs-apache",
5
+ "name": "apache",
6
+ "owner": {
7
+ "uri": "/v3/users/puppetlabs",
8
+ "username": "puppetlabs",
9
+ "gravatar_id": "fdd009b7c1ec96e088b389f773e87aec"
10
+ }
11
+ },
12
+ "version": "0.0.4",
13
+ "metadata": {
14
+ "description": "Module for Apache configuration",
15
+ "checksums": {
16
+ "tests/ssl.pp": "191912535199531fd631f911c6329e56",
17
+ "spec/spec_helper.rb": "980111cecb2c99b91ac846d7b0862578",
18
+ "spec/classes/php_spec.rb": "aa98098c3404325c941ad1aa71295640",
19
+ "manifests/vhost/redirect.pp": "8fdef0e0e8da73e9fb30f819de2a4464",
20
+ "manifests/python.pp": "daa8000b529be1fd931538516373afcd",
21
+ "manifests/params.pp": "27f043698624d6ff5f92f7a220ed8c39",
22
+ "tests/vhost.pp": "1f627c432582a8fc91b8375460d9794e",
23
+ "spec/classes/ssl_spec.rb": "d93e4f61548ce6b077bb8947daaae651",
24
+ "spec/defines/vhost/proxy_spec.rb": "9d3a5a9361d1d49eb82dcbdc51edea80",
25
+ "lib/puppet/provider/a2mod/modfix.rb": "b689a1c83c9ccd8590399c67f3e588e5",
26
+ "CHANGELOG": "3705f6d39cde99023ee6de89f40910a1",
27
+ "manifests/php.pp": "203071fafab369cacc8b7bec80eec481",
28
+ "LICENSE": "b3f8a01d8699078d82e8c3c992307517",
29
+ "tests/php.pp": "ce7bb9eef69d32b42a32ce32d9653625",
30
+ "templates/vhost-redirect.conf.erb": "f12c8165c2e9a688402ec8484ef6c59c",
31
+ "spec/classes/dev_spec.rb": "e0392f699206ca40a5c66c51b2349ff7",
32
+ "manifests/mod/wsgi.pp": "90ef340ac19106fe801656091d3f9a4b",
33
+ "lib/puppet/provider/a2mod/a2mod.rb": "0acf42d3d670a9915c5a3f46ae7335f1",
34
+ "files/httpd": "295f5e924afe6f752d29327e73fe6d0a",
35
+ "spec/defines/vhost_spec.rb": "c5d180e4c1db180b296cdcf6e167af6e",
36
+ "Rakefile": "65bc94e790a918bcfd07686c2d51e043",
37
+ "spec/classes/apache_spec.rb": "e4aff27ddc0ff9d53f2a701efde12ac0",
38
+ "manifests/ssl.pp": "00d85958c17bc62f27df8e4ca86043a0",
39
+ "manifests/mod/python.pp": "d68627ba8c02bcd2cf910e02e45321ee",
40
+ "manifests/dev.pp": "aecfbf399723a86b00681b03a1cd13d9",
41
+ "tests/init.pp": "4eac4a7ef68499854c54a78879e25535",
42
+ "templates/vhost-proxy.conf.erb": "4b67009e57758dcb0ef06fcbda89515c",
43
+ "spec/classes/params_spec.rb": "384b7b99be6d2bcd684f2ecf54d2df3e",
44
+ "spec/classes/mod/wsgi_spec.rb": "8e34c9ab7fc445d13d9ed318d0a34cdf",
45
+ "manifests/vhost.pp": "b4f3cd713a95ead5ad2c7fcdbd8a64c8",
46
+ "lib/puppet/type/a2mod.rb": "8b3005913ca51cb51e94d568f249880e",
47
+ "tests/dev.pp": "4cf15c1fecea3ca86009f182b402c7ab",
48
+ "tests/apache.pp": "4eac4a7ef68499854c54a78879e25535",
49
+ "templates/vhost-default.conf.erb": "e30ec34eabb2e7a8d57c9842f74cb059",
50
+ "templates/test.vhost.erb": "2c0ae13f2a32177e128e3ff49c37ffbd",
51
+ "spec/classes/python_spec.rb": "af7d22879b16d3ce4a5ed70d4d880903",
52
+ "spec/defines/vhost/redirect_spec.rb": "337fb5c89ab5fc790ecb76f8b169a7e6",
53
+ "spec/classes/mod/python_spec.rb": "26a3d76a16abf7f2c7c9f7767196ecd1",
54
+ "Modulefile": "cb1e5a87875ad86a43d6cfdba04eb45b",
55
+ "manifests/vhost/proxy.pp": "1c774f8370d418b86a6ee08e530305d7",
56
+ "manifests/init.pp": "cb62a3aba1af2eebb7a08e45ee399065"
57
+ },
58
+ "summary": "Puppet module for Apache",
59
+ "source": "git://github.com/puppetlabs/puppetlabs-apache.git",
60
+ "dependencies": [
61
+ {
62
+ "version_requirement": ">= 0.0.4",
63
+ "name": "puppetlabs/firewall"
64
+ }
65
+ ],
66
+ "project_page": "https://github.com/puppetlabs/puppetlabs-apache",
67
+ "author": "puppetlabs",
68
+ "types": [
69
+ {
70
+ "parameters": [
71
+ {
72
+ "name": "name",
73
+ "doc": "The name of the module to be managed"
74
+ }
75
+ ],
76
+ "properties": [
77
+ {
78
+ "name": "ensure",
79
+ "doc": "The basic property that the resource should be in. Valid values are `present`, `absent`."
80
+ }
81
+ ],
82
+ "providers": [
83
+ {
84
+ "name": "a2mod",
85
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu\n\nRequired binaries: `a2enmod`, `a2dismod`. Default for `operatingsystem` == `debian, ubuntu`."
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": "a2mod",
93
+ "doc": "Manage Apache 2 modules on Debian and Ubuntu"
94
+ }
95
+ ],
96
+ "version": "0.0.4",
97
+ "name": "puppetlabs-apache",
98
+ "license": "Apache 2.0"
99
+ },
100
+ "tags": [
101
+ "apache",
102
+ "web",
103
+ "virtualhost",
104
+ "httpd",
105
+ "centos",
106
+ "rhel",
107
+ "debian",
108
+ "ubuntu",
109
+ "apache2",
110
+ "ssl",
111
+ "passenger",
112
+ "wsgi",
113
+ "proxy",
114
+ "virtual_host"
115
+ ],
116
+ "file_uri": "/v3/files/puppetlabs-apache-0.0.4.tar.gz",
117
+ "file_size": 9707,
118
+ "file_md5": "5d1d4ec6ce20986d4be3a4bd0ecba07a",
119
+ "downloads": 6249,
120
+ "readme": null,
121
+ "changelog": "<section class=\"plaintext\"><pre>2012-05-08 Puppet Labs &lt;info@puppetlabs.com&gt; - 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&#x27;s name\n72e13de One end too much\n0739641 style guide fixes: &#x27;true&#x27; &lt;&gt; true, $operatingsystem needs to be $::operatingsystem, etc.\n273f94d fix tests\na35ede5 (#13860) Make a2enmod&#x2F;a2dismo commands optional\n98d774e (#13860) Autorequire Package[&#x27;httpd&#x27;]\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\n</pre></section>",
122
+ "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>",
123
+ "created_at": "2012-05-08 16:43:59 -0700",
124
+ "updated_at": "2012-05-08 16:43:59 -0700",
125
+ "deleted_at": null
126
+ }