from-scratch 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Berksfile +2 -1
- data/Berksfile.lock +20 -1
- data/cookbooks/bluepill/CHANGELOG.md +93 -0
- data/cookbooks/bluepill/README.md +91 -0
- data/cookbooks/bluepill/attributes/default.rb +44 -0
- data/cookbooks/bluepill/metadata.json +1 -0
- data/cookbooks/bluepill/providers/service.rb +172 -0
- data/cookbooks/bluepill/recipes/default.rb +48 -0
- data/cookbooks/bluepill/recipes/rsyslog.rb +28 -0
- data/cookbooks/bluepill/resources/service.rb +27 -0
- data/cookbooks/bluepill/templates/default/bluepill_init.fedora.erb +34 -0
- data/cookbooks/bluepill/templates/default/bluepill_init.freebsd.erb +32 -0
- data/cookbooks/bluepill/templates/default/bluepill_init.lsb.erb +37 -0
- data/cookbooks/bluepill/templates/default/bluepill_init.rhel.erb +34 -0
- data/cookbooks/bluepill/templates/default/bluepill_rsyslog.conf.erb +1 -0
- data/cookbooks/nginx/CHANGELOG.md +435 -0
- data/cookbooks/nginx/README.md +521 -0
- data/cookbooks/nginx/attributes/auth_request.rb +23 -0
- data/cookbooks/nginx/attributes/default.rb +131 -0
- data/cookbooks/nginx/attributes/devel.rb +24 -0
- data/cookbooks/nginx/attributes/echo.rb +24 -0
- data/cookbooks/nginx/attributes/geoip.rb +31 -0
- data/cookbooks/nginx/attributes/headers_more.rb +24 -0
- data/cookbooks/nginx/attributes/lua.rb +28 -0
- data/cookbooks/nginx/attributes/naxsi.rb +24 -0
- data/cookbooks/nginx/attributes/openssl_source.rb +23 -0
- data/cookbooks/nginx/attributes/pagespeed.rb +9 -0
- data/cookbooks/nginx/attributes/passenger.rb +58 -0
- data/cookbooks/nginx/attributes/rate_limiting.rb +23 -0
- data/cookbooks/nginx/attributes/repo.rb +35 -0
- data/cookbooks/nginx/attributes/set_misc.rb +8 -0
- data/cookbooks/nginx/attributes/socketproxy.rb +13 -0
- data/cookbooks/nginx/attributes/source.rb +42 -0
- data/cookbooks/nginx/attributes/status.rb +22 -0
- data/cookbooks/nginx/attributes/syslog.rb +24 -0
- data/cookbooks/nginx/attributes/upload_progress.rb +26 -0
- data/cookbooks/nginx/definitions/nginx_site.rb +50 -0
- data/cookbooks/nginx/files/default/mime.types +78 -0
- data/cookbooks/nginx/files/default/naxsi_core.rules +82 -0
- data/cookbooks/nginx/libraries/matchers.rb +20 -0
- data/cookbooks/nginx/metadata.json +351 -0
- data/cookbooks/nginx/recipes/authorized_ips.rb +32 -0
- data/cookbooks/nginx/recipes/commons.rb +24 -0
- data/cookbooks/nginx/recipes/commons_conf.rb +42 -0
- data/cookbooks/nginx/recipes/commons_dir.rb +57 -0
- data/cookbooks/nginx/recipes/commons_script.rb +29 -0
- data/cookbooks/nginx/recipes/default.rb +31 -0
- data/cookbooks/nginx/recipes/headers_more_module.rb +50 -0
- data/cookbooks/nginx/recipes/http_auth_request_module.rb +52 -0
- data/cookbooks/nginx/recipes/http_echo_module.rb +46 -0
- data/cookbooks/nginx/recipes/http_geoip_module.rb +113 -0
- data/cookbooks/nginx/recipes/http_gzip_static_module.rb +30 -0
- data/cookbooks/nginx/recipes/http_mp4_module.rb +2 -0
- data/cookbooks/nginx/recipes/http_perl_module.rb +23 -0
- data/cookbooks/nginx/recipes/http_realip_module.rb +38 -0
- data/cookbooks/nginx/recipes/http_spdy_module.rb +23 -0
- data/cookbooks/nginx/recipes/http_ssl_module.rb +23 -0
- data/cookbooks/nginx/recipes/http_stub_status_module.rb +36 -0
- data/cookbooks/nginx/recipes/ipv6.rb +23 -0
- data/cookbooks/nginx/recipes/lua.rb +47 -0
- data/cookbooks/nginx/recipes/naxsi_module.rb +52 -0
- data/cookbooks/nginx/recipes/ngx_devel_module.rb +44 -0
- data/cookbooks/nginx/recipes/ngx_lua_module.rb +47 -0
- data/cookbooks/nginx/recipes/ohai_plugin.rb +35 -0
- data/cookbooks/nginx/recipes/openssl_source.rb +45 -0
- data/cookbooks/nginx/recipes/package.rb +52 -0
- data/cookbooks/nginx/recipes/pagespeed_module.rb +62 -0
- data/cookbooks/nginx/recipes/passenger.rb +56 -0
- data/cookbooks/nginx/recipes/repo.rb +41 -0
- data/cookbooks/nginx/recipes/repo_passenger.rb +39 -0
- data/cookbooks/nginx/recipes/set_misc.rb +30 -0
- data/cookbooks/nginx/recipes/socketproxy.rb +26 -0
- data/cookbooks/nginx/recipes/source.rb +205 -0
- data/cookbooks/nginx/recipes/syslog_module.rb +69 -0
- data/cookbooks/nginx/recipes/upload_progress_module.rb +53 -0
- data/cookbooks/nginx/templates/debian/nginx.init.erb +97 -0
- data/cookbooks/nginx/templates/default/default-site.erb +11 -0
- data/cookbooks/nginx/templates/default/modules/authorized_ip.erb +6 -0
- data/cookbooks/nginx/templates/default/modules/http_geoip.conf.erb +4 -0
- data/cookbooks/nginx/templates/default/modules/http_gzip_static.conf.erb +1 -0
- data/cookbooks/nginx/templates/default/modules/http_realip.conf.erb +7 -0
- data/cookbooks/nginx/templates/default/modules/nginx_status.erb +14 -0
- data/cookbooks/nginx/templates/default/modules/passenger.conf.erb +13 -0
- data/cookbooks/nginx/templates/default/modules/socketproxy.conf.erb +89 -0
- data/cookbooks/nginx/templates/default/modules/upload_progress.erb +4 -0
- data/cookbooks/nginx/templates/default/nginx-upstart.conf.erb +39 -0
- data/cookbooks/nginx/templates/default/nginx.conf.erb +103 -0
- data/cookbooks/nginx/templates/default/nginx.init.erb +111 -0
- data/cookbooks/nginx/templates/default/nginx.pill.erb +15 -0
- data/cookbooks/nginx/templates/default/nginx.sysconfig.erb +1 -0
- data/cookbooks/nginx/templates/default/nxdissite.erb +29 -0
- data/cookbooks/nginx/templates/default/nxensite.erb +38 -0
- data/cookbooks/nginx/templates/default/plugins/nginx.rb.erb +66 -0
- data/cookbooks/nginx/templates/default/sv-nginx-log-run.erb +2 -0
- data/cookbooks/nginx/templates/default/sv-nginx-run.erb +4 -0
- data/cookbooks/nginx/templates/gentoo/nginx.init.erb +87 -0
- data/cookbooks/nginx/templates/suse/nginx.init.erb +115 -0
- data/cookbooks/nginx/templates/ubuntu/nginx.init.erb +97 -0
- data/cookbooks/ohai/CHANGELOG.md +69 -0
- data/cookbooks/ohai/README.md +89 -0
- data/cookbooks/ohai/attributes/default.rb +31 -0
- data/cookbooks/ohai/files/default/plugins/README +1 -0
- data/cookbooks/ohai/libraries/matchers.rb +14 -0
- data/cookbooks/ohai/metadata.json +1 -0
- data/cookbooks/ohai/providers/hint.rb +38 -0
- data/cookbooks/ohai/recipes/default.rb +52 -0
- data/cookbooks/ohai/resources/hint.rb +5 -0
- data/cookbooks/packagecloud/CHANGELOG.md +12 -0
- data/cookbooks/packagecloud/README.md +80 -0
- data/cookbooks/packagecloud/attributes/default.rb +8 -0
- data/cookbooks/packagecloud/libraries/helper.rb +43 -0
- data/cookbooks/packagecloud/libraries/matcher.rb +7 -0
- data/cookbooks/packagecloud/metadata.json +1 -0
- data/cookbooks/packagecloud/providers/repo.rb +212 -0
- data/cookbooks/packagecloud/resources/repo.rb +10 -0
- data/cookbooks/packagecloud/templates/.kitchen/logs/kitchen.log +29 -0
- data/cookbooks/packagecloud/templates/default/apt.erb +2 -0
- data/cookbooks/packagecloud/templates/default/yum.erb +15 -0
- data/cookbooks/rsyslog/CHANGELOG.md +193 -0
- data/cookbooks/rsyslog/README.md +276 -0
- data/cookbooks/rsyslog/attributes/default.rb +131 -0
- data/cookbooks/rsyslog/libraries/helpers.rb +25 -0
- data/cookbooks/rsyslog/metadata.json +1 -0
- data/cookbooks/rsyslog/providers/file_input.rb +44 -0
- data/cookbooks/rsyslog/recipes/client.rb +87 -0
- data/cookbooks/rsyslog/recipes/default.rb +89 -0
- data/cookbooks/rsyslog/recipes/server.rb +44 -0
- data/cookbooks/rsyslog/resources/file_input.rb +28 -0
- data/cookbooks/rsyslog/templates/default/35-server-per-host.conf.erb +62 -0
- data/cookbooks/rsyslog/templates/default/49-relp.conf.erb +10 -0
- data/cookbooks/rsyslog/templates/default/49-remote.conf.erb +30 -0
- data/cookbooks/rsyslog/templates/default/50-default.conf.erb +6 -0
- data/cookbooks/rsyslog/templates/default/file-input.conf.erb +15 -0
- data/cookbooks/rsyslog/templates/default/omnios-manifest.xml.erb +30 -0
- data/cookbooks/rsyslog/templates/default/rsyslog.conf.erb +117 -0
- data/cookbooks/rsyslog/templates/smartos/50-default.conf.erb +18 -0
- data/cookbooks/runit/.kitchen.cloud.yml +103 -0
- data/cookbooks/runit/.kitchen.yml +38 -0
- data/cookbooks/runit/.rspec +3 -0
- data/cookbooks/runit/.rubocop.yml +45 -0
- data/cookbooks/runit/Berksfile.disabled +11 -0
- data/cookbooks/runit/CHANGELOG.md +226 -0
- data/cookbooks/runit/CONTRIBUTING.md +266 -0
- data/cookbooks/runit/Cheffile +11 -0
- data/cookbooks/runit/Gemfile +17 -0
- data/cookbooks/runit/LICENSE +201 -0
- data/cookbooks/runit/README.md +435 -0
- data/cookbooks/runit/Rakefile +23 -0
- data/cookbooks/runit/TESTING.md +26 -0
- data/cookbooks/runit/attributes/default.rb +62 -0
- data/cookbooks/runit/files/default/runit.seed +1 -0
- data/cookbooks/runit/files/default/runsvdir +0 -0
- data/cookbooks/runit/files/ubuntu-6.10/runsvdir +6 -0
- data/cookbooks/runit/files/ubuntu-7.04/runsvdir +7 -0
- data/cookbooks/runit/files/ubuntu-7.10/runsvdir +7 -0
- data/cookbooks/runit/files/ubuntu-8.04/runsvdir +7 -0
- data/cookbooks/runit/libraries/default.rb +0 -0
- data/cookbooks/runit/libraries/helpers.rb +190 -0
- data/cookbooks/runit/libraries/matchers.rb +69 -0
- data/cookbooks/runit/libraries/provider_runit_service.rb +326 -0
- data/cookbooks/runit/libraries/resource_runit_service.rb +267 -0
- data/cookbooks/runit/metadata.json +50 -0
- data/cookbooks/runit/recipes/default.rb +91 -0
- data/cookbooks/runit/templates/debian/init.d.erb +66 -0
- data/cookbooks/runit/templates/default/log-config.erb +24 -0
- data/cookbooks/runit/templates/gentoo/runit-start.sh.erb +32 -0
- data/cookbooks/scratchify/Berksfile +2 -1
- data/cookbooks/scratchify/Berksfile.lock +20 -1
- data/cookbooks/scratchify/lib/from-scratch.rb +1 -4
- data/cookbooks/scratchify/lib/from-scratch/version.rb +1 -1
- data/cookbooks/scratchify/metadata.json +5 -2
- data/cookbooks/scratchify/recipes/default.rb +15 -1
- data/cookbooks/scratchify/recipes/nginx_site.rb +4 -0
- data/cookbooks/scratchify/recipes/pre_rvm.rb +5 -0
- data/cookbooks/scratchify/templates/nginx.erb +31 -0
- data/cookbooks/scratchify/templates/node.json.erb +21 -6
- data/cookbooks/yum-epel/CHANGELOG.md +84 -0
- data/cookbooks/yum-epel/README.md +172 -0
- data/cookbooks/yum-epel/attributes/default.rb +1 -0
- data/cookbooks/yum-epel/attributes/epel-debuginfo.rb +28 -0
- data/cookbooks/yum-epel/attributes/epel-source.rb +28 -0
- data/cookbooks/yum-epel/attributes/epel-testing-debuginfo.rb +28 -0
- data/cookbooks/yum-epel/attributes/epel-testing-source.rb +28 -0
- data/cookbooks/yum-epel/attributes/epel-testing.rb +28 -0
- data/cookbooks/yum-epel/attributes/epel.rb +28 -0
- data/cookbooks/yum-epel/metadata.json +1 -0
- data/cookbooks/yum-epel/recipes/default.rb +61 -0
- data/cookbooks/yum/CHANGELOG.md +294 -0
- data/cookbooks/yum/README.md +285 -0
- data/cookbooks/yum/attributes/main.rb +100 -0
- data/cookbooks/yum/libraries/matchers.rb +27 -0
- data/cookbooks/yum/metadata.json +1 -0
- data/cookbooks/yum/providers/globalconfig.rb +41 -0
- data/cookbooks/yum/providers/repository.rb +106 -0
- data/cookbooks/yum/recipes/default.rb +26 -0
- data/cookbooks/yum/resources/globalconfig.rb +109 -0
- data/cookbooks/yum/resources/repository.rb +69 -0
- data/cookbooks/yum/templates/default/main.erb +276 -0
- data/cookbooks/yum/templates/default/repo.erb +125 -0
- data/lib/from-scratch.rb +1 -0
- data/lib/from-scratch/version.rb +1 -1
- data/metadata.rb +5 -1
- data/recipes/default.rb +15 -1
- data/recipes/nginx_site.rb +4 -0
- data/recipes/pre_rvm.rb +5 -0
- data/templates/nginx.erb +31 -0
- data/templates/node.json.erb +21 -6
- metadata +194 -1
@@ -0,0 +1 @@
|
|
1
|
+
default['yum-epel']['repositories'] = %w(epel epel-debuginfo epel-source epel-testing epel-testing-debuginfo epel-testing-source)
|
@@ -0,0 +1,28 @@
|
|
1
|
+
default['yum']['epel-debuginfo']['repositoryid'] = 'epel-debuginfo'
|
2
|
+
|
3
|
+
case node['platform']
|
4
|
+
when 'amazon'
|
5
|
+
default['yum']['epel-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
|
6
|
+
default['yum']['epel-debuginfo']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
|
7
|
+
default['yum']['epel-debuginfo']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
8
|
+
else
|
9
|
+
case node['platform_version'].to_i
|
10
|
+
when 5
|
11
|
+
default['yum']['epel-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 5 - $basearch - Debug'
|
12
|
+
default['yum']['epel-debuginfo']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=$basearch'
|
13
|
+
default['yum']['epel-debuginfo']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
|
14
|
+
when 6
|
15
|
+
default['yum']['epel-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch - Debug'
|
16
|
+
default['yum']['epel-debuginfo']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch'
|
17
|
+
default['yum']['epel-debuginfo']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
18
|
+
when 7
|
19
|
+
default['yum']['epel-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 7 - $basearch - Debug'
|
20
|
+
default['yum']['epel-debuginfo']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch'
|
21
|
+
default['yum']['epel-debuginfo']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
default['yum']['epel-debuginfo']['failovermethod'] = 'priority'
|
26
|
+
default['yum']['epel-debuginfo']['gpgcheck'] = true
|
27
|
+
default['yum']['epel-debuginfo']['enabled'] = false
|
28
|
+
default['yum']['epel-debuginfo']['managed'] = false
|
@@ -0,0 +1,28 @@
|
|
1
|
+
default['yum']['epel-source']['repositoryid'] = 'epel-source'
|
2
|
+
|
3
|
+
case node['platform']
|
4
|
+
when 'amazon'
|
5
|
+
default['yum']['epel-source']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
|
6
|
+
default['yum']['epel-source']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
|
7
|
+
default['yum']['epel-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
8
|
+
else
|
9
|
+
case node['platform_version'].to_i
|
10
|
+
when 5
|
11
|
+
default['yum']['epel-source']['description'] = 'Extra Packages for Enterprise Linux 5 - $basearch - Source'
|
12
|
+
default['yum']['epel-source']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearch'
|
13
|
+
default['yum']['epel-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
|
14
|
+
when 6
|
15
|
+
default['yum']['epel-source']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch - Source'
|
16
|
+
default['yum']['epel-source']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch'
|
17
|
+
default['yum']['epel-source']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
18
|
+
when 7
|
19
|
+
default['yum']['epel-source']['description'] = 'Extra Packages for Enterprise Linux 7 - $basearch - Source'
|
20
|
+
default['yum']['epel-source']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch'
|
21
|
+
default['yum']['epel-source']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
default['yum']['epel-source']['failovermethod'] = 'priority'
|
26
|
+
default['yum']['epel-source']['gpgcheck'] = true
|
27
|
+
default['yum']['epel-source']['enabled'] = false
|
28
|
+
default['yum']['epel-source']['managed'] = false
|
@@ -0,0 +1,28 @@
|
|
1
|
+
default['yum']['epel-testing-debuginfo']['repositoryid'] = 'epel-testing-debuginfo'
|
2
|
+
|
3
|
+
case node['platform']
|
4
|
+
when 'amazon'
|
5
|
+
default['yum']['epel-testing-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
|
6
|
+
default['yum']['epel-testing-debuginfo']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
|
7
|
+
default['yum']['epel-testing-debuginfo']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
8
|
+
else
|
9
|
+
case node['platform_version'].to_i
|
10
|
+
when 5
|
11
|
+
default['yum']['epel-testing-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 5 - Testing - $basearch Debug'
|
12
|
+
default['yum']['epel-testing-debuginfo']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-debug-epel5&arch=$basearch'
|
13
|
+
default['yum']['epel-testing-debuginfo']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
|
14
|
+
when 6
|
15
|
+
default['yum']['epel-testing-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 6 - Testing - $basearch Debug'
|
16
|
+
default['yum']['epel-testing-debuginfo']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&arch=$basearch'
|
17
|
+
default['yum']['epel-testing-debuginfo']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
18
|
+
when 7
|
19
|
+
default['yum']['epel-testing-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 7 - Testing - $basearch Debug'
|
20
|
+
default['yum']['epel-testing-debuginfo']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel7&arch=$basearch'
|
21
|
+
default['yum']['epel-testing-debuginfo']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
default['yum']['epel-testing-debuginfo']['failovermethod'] = 'priority'
|
26
|
+
default['yum']['epel-testing-debuginfo']['gpgcheck'] = true
|
27
|
+
default['yum']['epel-testing-debuginfo']['enabled'] = false
|
28
|
+
default['yum']['epel-testing-debuginfo']['managed'] = false
|
@@ -0,0 +1,28 @@
|
|
1
|
+
default['yum']['epel-testing-source']['repositoryid'] = 'epel-testing-source'
|
2
|
+
|
3
|
+
case node['platform']
|
4
|
+
when 'amazon'
|
5
|
+
default['yum']['epel-testing-source']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
|
6
|
+
default['yum']['epel-testing-source']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
|
7
|
+
default['yum']['epel-testing-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
8
|
+
else
|
9
|
+
case node['platform_version'].to_i
|
10
|
+
when 5
|
11
|
+
default['yum']['epel-testing-source']['description'] = 'Extra Packages for Enterprise Linux 5 - Testing - $basearch Source'
|
12
|
+
default['yum']['epel-testing-source']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-source-epel5&arch=$basearch'
|
13
|
+
default['yum']['epel-testing-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
|
14
|
+
when 6
|
15
|
+
default['yum']['epel-testing-source']['description'] = 'Extra Packages for Enterprise Linux 6 - Testing - $basearch Source'
|
16
|
+
default['yum']['epel-testing-source']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&arch=$basearch'
|
17
|
+
default['yum']['epel-testing-source']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
18
|
+
when 7
|
19
|
+
default['yum']['epel-testing-source']['description'] = 'Extra Packages for Enterprise Linux 7 - Testing - $basearch Source'
|
20
|
+
default['yum']['epel-testing-source']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel7&arch=$basearch'
|
21
|
+
default['yum']['epel-testing-source']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
default['yum']['epel-testing-source']['failovermethod'] = 'priority'
|
26
|
+
default['yum']['epel-testing-source']['gpgcheck'] = true
|
27
|
+
default['yum']['epel-testing-source']['enabled'] = false
|
28
|
+
default['yum']['epel-testing-source']['managed'] = false
|
@@ -0,0 +1,28 @@
|
|
1
|
+
default['yum']['epel-testing']['repositoryid'] = 'epel-testing'
|
2
|
+
|
3
|
+
case node['platform']
|
4
|
+
when 'amazon'
|
5
|
+
default['yum']['epel-testing']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
|
6
|
+
default['yum']['epel-testing']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
|
7
|
+
default['yum']['epel-testing']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
8
|
+
else
|
9
|
+
case node['platform_version'].to_i
|
10
|
+
when 5
|
11
|
+
default['yum']['epel-testing']['description'] = 'Extra Packages for Enterprise Linux 5 - Testing - $basearch'
|
12
|
+
default['yum']['epel-testing']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=$basearch'
|
13
|
+
default['yum']['epel-testing']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
|
14
|
+
when 6
|
15
|
+
default['yum']['epel-testing']['description'] = 'Extra Packages for Enterprise Linux 6 - Testing - $basearch'
|
16
|
+
default['yum']['epel-testing']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=$basearch'
|
17
|
+
default['yum']['epel-testing']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
18
|
+
when 7
|
19
|
+
default['yum']['epel-testing']['description'] = 'Extra Packages for Enterprise Linux 7 - Testing - $basearch'
|
20
|
+
default['yum']['epel-testing']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-epel7&arch=$basearch'
|
21
|
+
default['yum']['epel-testing']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
default['yum']['epel-testing']['failovermethod'] = 'priority'
|
26
|
+
default['yum']['epel-testing']['gpgcheck'] = true
|
27
|
+
default['yum']['epel-testing']['enabled'] = false
|
28
|
+
default['yum']['epel-testing']['managed'] = false
|
@@ -0,0 +1,28 @@
|
|
1
|
+
default['yum']['epel']['repositoryid'] = 'epel'
|
2
|
+
|
3
|
+
case node['platform']
|
4
|
+
when 'amazon'
|
5
|
+
default['yum']['epel']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
|
6
|
+
default['yum']['epel']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
|
7
|
+
default['yum']['epel']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
8
|
+
else
|
9
|
+
case node['platform_version'].to_i
|
10
|
+
when 5
|
11
|
+
default['yum']['epel']['description'] = 'Extra Packages for Enterprise Linux 5 - $basearch'
|
12
|
+
default['yum']['epel']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch'
|
13
|
+
default['yum']['epel']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
|
14
|
+
when 6
|
15
|
+
default['yum']['epel']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
|
16
|
+
default['yum']['epel']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch'
|
17
|
+
default['yum']['epel']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
18
|
+
when 7
|
19
|
+
default['yum']['epel']['description'] = 'Extra Packages for Enterprise Linux 7 - $basearch'
|
20
|
+
default['yum']['epel']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch'
|
21
|
+
default['yum']['epel']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
default['yum']['epel']['failovermethod'] = 'priority'
|
26
|
+
default['yum']['epel']['gpgcheck'] = true
|
27
|
+
default['yum']['epel']['enabled'] = true
|
28
|
+
default['yum']['epel']['managed'] = true
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"yum-epel","version":"0.6.4","description":"Installs and configures the EPEL Yum repository","long_description":"","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","centos":">= 0.0.0","fedora":">= 0.0.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0"},"dependencies":{"yum":"~> 3.2"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
#
|
2
|
+
# Author:: Sean OMeara (<someara@chef.io>)
|
3
|
+
# Cookbook Name:: yum-epel
|
4
|
+
# Recipe:: default
|
5
|
+
#
|
6
|
+
# Copyright 2013-2015, Chef Software, Inc.
|
7
|
+
#
|
8
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
# you may not use this file except in compliance with the License.
|
10
|
+
# You may obtain a copy of the License at
|
11
|
+
#
|
12
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
#
|
14
|
+
# Unless required by applicable law or agreed to in writing, software
|
15
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
+
# See the License for the specific language governing permissions and
|
18
|
+
# limitations under the License.
|
19
|
+
|
20
|
+
node['yum-epel']['repositories'].each do |repo|
|
21
|
+
next unless node['yum'][repo]['managed']
|
22
|
+
|
23
|
+
yum_repository repo do
|
24
|
+
baseurl node['yum'][repo]['baseurl'] if node['yum'][repo]['baseurl']
|
25
|
+
cost node['yum'][repo]['cost'] if node['yum'][repo]['cost']
|
26
|
+
description node['yum'][repo]['description'] if node['yum'][repo]['description']
|
27
|
+
enabled node['yum'][repo]['enabled'] if node['yum'][repo]['enabled']
|
28
|
+
enablegroups node['yum'][repo]['enablegroups'] if node['yum'][repo]['enablegroups']
|
29
|
+
exclude node['yum'][repo]['exclude'] if node['yum'][repo]['exclude']
|
30
|
+
failovermethod node['yum'][repo]['failovermethod'] if node['yum'][repo]['failovermethod']
|
31
|
+
fastestmirror_enabled node['yum'][repo]['fastestmirror_enabled'] if node['yum'][repo]['fastestmirror_enabled']
|
32
|
+
gpgcheck node['yum'][repo]['gpgcheck'] if node['yum'][repo]['gpgcheck']
|
33
|
+
gpgkey node['yum'][repo]['gpgkey'] if node['yum'][repo]['gpgkey']
|
34
|
+
http_caching node['yum'][repo]['http_caching'] if node['yum'][repo]['http_caching']
|
35
|
+
include_config node['yum'][repo]['include_config'] if node['yum'][repo]['include_config']
|
36
|
+
includepkgs node['yum'][repo]['includepkgs'] if node['yum'][repo]['includepkgs']
|
37
|
+
keepalive node['yum'][repo]['keepalive'] if node['yum'][repo]['keepalive']
|
38
|
+
max_retries node['yum'][repo]['max_retries'] if node['yum'][repo]['max_retries']
|
39
|
+
metadata_expire node['yum'][repo]['metadata_expire'] if node['yum'][repo]['metadata_expire']
|
40
|
+
mirror_expire node['yum'][repo]['mirror_expire'] if node['yum'][repo]['mirror_expire']
|
41
|
+
mirrorlist node['yum'][repo]['mirrorlist'] if node['yum'][repo]['mirrorlist']
|
42
|
+
mirrorlist_expire node['yum'][repo]['mirrorlist_expire'] if node['yum'][repo]['mirrorlist_expire']
|
43
|
+
password node['yum'][repo]['password'] if node['yum'][repo]['password']
|
44
|
+
priority node['yum'][repo]['priority'] if node['yum'][repo]['priority']
|
45
|
+
proxy node['yum'][repo]['proxy'] if node['yum'][repo]['proxy']
|
46
|
+
proxy_username node['yum'][repo]['proxy_username'] if node['yum'][repo]['proxy_username']
|
47
|
+
proxy_password node['yum'][repo]['proxy_password'] if node['yum'][repo]['proxy_password']
|
48
|
+
report_instanceid node['yum'][repo]['report_instanceid'] if node['yum'][repo]['report_instanceid']
|
49
|
+
repositoryid node['yum'][repo]['repositoryid'] if node['yum'][repo]['repositoryid']
|
50
|
+
skip_if_unavailable node['yum'][repo]['skip_if_unavailable'] if node['yum'][repo]['skip_if_unavailable']
|
51
|
+
source node['yum'][repo]['source'] if node['yum'][repo]['source']
|
52
|
+
sslcacert node['yum'][repo]['sslcacert'] if node['yum'][repo]['sslcacert']
|
53
|
+
sslclientcert node['yum'][repo]['sslclientcert'] if node['yum'][repo]['sslclientcert']
|
54
|
+
sslclientkey node['yum'][repo]['sslclientkey'] if node['yum'][repo]['sslclientkey']
|
55
|
+
sslverify node['yum'][repo]['sslverify'] if node['yum'][repo]['sslverify']
|
56
|
+
timeout node['yum'][repo]['timeout'] if node['yum'][repo]['timeout']
|
57
|
+
username node['yum'][repo]['username'] if node['yum'][repo]['username']
|
58
|
+
|
59
|
+
action :create
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,294 @@
|
|
1
|
+
yum Cookbook CHANGELOG
|
2
|
+
======================
|
3
|
+
This file is used to list changes made in each version of the yum cookbook.
|
4
|
+
|
5
|
+
v3.8.1 (2015-10-13)
|
6
|
+
-------------------
|
7
|
+
- Fixing up Chef13 deprecation warnings
|
8
|
+
|
9
|
+
v3.8.0 (2015-10-13)
|
10
|
+
-------------------
|
11
|
+
- adding clean_headers boolean property to yum_resource
|
12
|
+
- restoring Chef 10 backwards compat for the sake of ChefSpec
|
13
|
+
(unique resource names needed to avoid cloning)
|
14
|
+
- Fixing localpkg_gpgcheck values
|
15
|
+
|
16
|
+
v3.7.1 (2015-09-08)
|
17
|
+
-------------------
|
18
|
+
- #135 - reverting "yum clean headers" as it breaks dnf compat
|
19
|
+
|
20
|
+
v3.7.0 (2015-09-05)
|
21
|
+
-------------------
|
22
|
+
- Adding deltarpm toggle
|
23
|
+
- Cleaning 'headers' rather than 'all'
|
24
|
+
|
25
|
+
v3.6.3 (2015-07-13)
|
26
|
+
-------------------
|
27
|
+
- Normalizing sslverify option rendering behavior
|
28
|
+
- Setting default value on the resource to nil
|
29
|
+
- Explictly setting string to render in template if value is supplied
|
30
|
+
- Behavior should default to "True", per man page
|
31
|
+
|
32
|
+
v3.6.2 (2015-07-13)
|
33
|
+
-------------------
|
34
|
+
- Adding -y to makecache, to import key when repo_gpgcheck = true.
|
35
|
+
- Accepting Integer value for max_retries
|
36
|
+
|
37
|
+
v3.6.1 (2015-06-04)
|
38
|
+
-------------------
|
39
|
+
- Executing yum clean before makecache
|
40
|
+
- Adding repo_gpgcheck
|
41
|
+
|
42
|
+
v3.6.0 (2015-04-23)
|
43
|
+
-------------------
|
44
|
+
- Adding "yum clean" before "yum makecache" in yum_repository :create
|
45
|
+
- Adding why_run support to yum_globalconfig
|
46
|
+
|
47
|
+
v3.5.4 (2015-04-07)
|
48
|
+
-------------------
|
49
|
+
- Changing tolerant config line to stringified integer
|
50
|
+
|
51
|
+
v3.5.3 (2015-01-16)
|
52
|
+
-------------------
|
53
|
+
- Adding reposdir to globalconfig template
|
54
|
+
|
55
|
+
v3.5.2 (2014-12-24)
|
56
|
+
-------------------
|
57
|
+
- Fixing redhat-release detection for Redhat 7
|
58
|
+
|
59
|
+
v3.5.1 (2014-11-24)
|
60
|
+
-------------------
|
61
|
+
- Reverting management of ca-certificates because EL5 was broken
|
62
|
+
|
63
|
+
v3.5.0 (2014-11-24)
|
64
|
+
-------------------
|
65
|
+
- Adding management of ca-certificates package to yum_repository provider
|
66
|
+
|
67
|
+
v3.4.1 (2014-10-29)
|
68
|
+
-------------------
|
69
|
+
- Run yum-makecache only_if new_resource.enabled
|
70
|
+
- Allow setting of reposdir in global yum config and man page
|
71
|
+
- Change default 'obsoletes' behavior to match yum defaults
|
72
|
+
|
73
|
+
v3.4.0 (2014-10-15)
|
74
|
+
-------------------
|
75
|
+
- Dynamically generate the new_resource attributes
|
76
|
+
|
77
|
+
v3.3.2 (2014-09-11)
|
78
|
+
-------------------
|
79
|
+
- Fix globalconfig resource param for http_caching
|
80
|
+
|
81
|
+
v3.3.1 (2014-09-04)
|
82
|
+
-------------------
|
83
|
+
- Fix issue with sslverify if set to false
|
84
|
+
- Add fancy badges
|
85
|
+
|
86
|
+
v3.3.0 (2014-09-03)
|
87
|
+
-------------------
|
88
|
+
- Adding tuning attributes for all supported resource parameters
|
89
|
+
- Adding options hash parameter
|
90
|
+
- Adding (real) rhel-6.5 and centos-7.0 to test-kitchen coverage
|
91
|
+
- Updating regex for mirror_expire and mirrorlist_expire to include /^\d+[mhd]$/
|
92
|
+
- Updating README so keepcache reflects reality (defaults to false)
|
93
|
+
- Changing 'obsoletes' behavior in globalconfig resource to match
|
94
|
+
default behavior. (now defaults to nil, yum defaults to false)
|
95
|
+
- Adding makecache action to repository resource
|
96
|
+
- Adding mode parameter to repository resource. Defaults to '0644'.
|
97
|
+
|
98
|
+
v3.2.4 (2014-08-20)
|
99
|
+
-------------------
|
100
|
+
- #82 - Adding a makecache parameter
|
101
|
+
|
102
|
+
v3.2.2 (2014-06-11)
|
103
|
+
-------------------
|
104
|
+
- #77 - Parameter default to be Trueclass instead of "1"
|
105
|
+
- #78 - add releasever parameter
|
106
|
+
|
107
|
+
v3.2.0 (2014-04-09)
|
108
|
+
-------------------
|
109
|
+
- [COOK-4510] - Adding username and password parameters to node attributes
|
110
|
+
- [COOK-4518] - Fix Scientific Linux distroverpkg
|
111
|
+
|
112
|
+
v3.1.6 (2014-03-27)
|
113
|
+
-------------------
|
114
|
+
- [COOK-4463] - support multiple GPG keys
|
115
|
+
- [COOK-4364] - yum_repository delete action fails
|
116
|
+
|
117
|
+
|
118
|
+
v3.1.4 (2014-03-12)
|
119
|
+
-------------------
|
120
|
+
- [COOK-4417] Expand test harness to encompass 32-bit boxes
|
121
|
+
|
122
|
+
v3.1.2 (2014-02-23)
|
123
|
+
-------------------
|
124
|
+
Fixing bugs around :delete action and cache clean
|
125
|
+
Fixing specs to cover :remove and :delete aliasing properly
|
126
|
+
Adding Travis-ci build matrix bits
|
127
|
+
|
128
|
+
v3.1.0 (2014-02-13)
|
129
|
+
-------------------
|
130
|
+
- Updating testing harness for integration testing on Travis-ci
|
131
|
+
- Adding TESTING.md and Guardfile
|
132
|
+
- PR #67 - Add skip_if_unvailable repository option
|
133
|
+
- PR #64 - Fix validation of 'metadata_expire' option to match documentation
|
134
|
+
- [COOK-3591] - removing node.name from repo template rendering
|
135
|
+
- [COOK-4275] - Enhancements to yum cookbook
|
136
|
+
- Adding full spec coverage
|
137
|
+
- Adding support for custom source template to yum_repository
|
138
|
+
|
139
|
+
v3.0.8 (2014-01-27)
|
140
|
+
-------------------
|
141
|
+
Fixing typo in default.rb. yum_globalconfig now passes proxy attribute correctly.
|
142
|
+
|
143
|
+
v3.0.6 (2014-01-27)
|
144
|
+
-------------------
|
145
|
+
Updating default.rb to consume node['yum']['main']['proxy']
|
146
|
+
|
147
|
+
v3.0.4 (2013-12-29)
|
148
|
+
-------------------
|
149
|
+
### Bug
|
150
|
+
- **[COOK-4156](https://tickets.chef.io/browse/COOK-4156)** - yum cookbook creates a yum.conf with "cachefir" directive
|
151
|
+
|
152
|
+
v3.0.2
|
153
|
+
------
|
154
|
+
Updating globalconfig provider for Chef 10 compatability
|
155
|
+
|
156
|
+
v3.0.0
|
157
|
+
------
|
158
|
+
3.0.0
|
159
|
+
Major rewrite with breaking changes.
|
160
|
+
Recipes broken out into individual cookbooks
|
161
|
+
yum_key resource has been removed
|
162
|
+
yum_repository resource now takes gpgkey as a URL directly
|
163
|
+
yum_repository actions have been reduced to :create and :delete
|
164
|
+
'name' has been changed to repositoryid to avoid ambiguity
|
165
|
+
chefspec test coverage
|
166
|
+
gpgcheck is set to 'true' by default and must be explicitly disabled
|
167
|
+
|
168
|
+
v2.4.4
|
169
|
+
------
|
170
|
+
Reverting to Ruby 1.8 hash syntax.
|
171
|
+
|
172
|
+
v2.4.2
|
173
|
+
------
|
174
|
+
[COOK-3275] LWRP repository.rb :add method fails to create yum repo in
|
175
|
+
some cases which causes :update to fail Amazon rhel
|
176
|
+
|
177
|
+
v2.4.0
|
178
|
+
------
|
179
|
+
### Improvement
|
180
|
+
- [COOK-3025] - Allow per-repo proxy definitions
|
181
|
+
|
182
|
+
v2.3.4
|
183
|
+
------
|
184
|
+
### Improvement
|
185
|
+
- **[COOK-3689](https://tickets.chef.io/browse/COOK-3689)** - Fix warnings about resource cloning
|
186
|
+
- **[COOK-3574](https://tickets.chef.io/browse/COOK-3574)** - Add missing "description" field in metadata
|
187
|
+
|
188
|
+
v2.3.2
|
189
|
+
------
|
190
|
+
### Bug
|
191
|
+
- **[COOK-3145](https://tickets.chef.io/browse/COOK-3145)** - Use correct download URL for epel `key_url`
|
192
|
+
|
193
|
+
v2.3.0
|
194
|
+
------
|
195
|
+
### New Feature
|
196
|
+
- [COOK-2924]: Yum should allow type setting in repo file
|
197
|
+
|
198
|
+
v2.2.4
|
199
|
+
------
|
200
|
+
### Bug
|
201
|
+
- [COOK-2360]: last commit to `yum_repository` changes previous behaviour
|
202
|
+
- [COOK-3015]: Yum cookbook test minitest to fail
|
203
|
+
|
204
|
+
v2.2.2
|
205
|
+
------
|
206
|
+
### Improvement
|
207
|
+
- [COOK-2741]: yum::elrepo
|
208
|
+
- [COOK-2946]: update tests, test kitchen support in yum cookbook
|
209
|
+
|
210
|
+
### Bug
|
211
|
+
- [COOK-2639]: Yum cookbook - epel - always assumes url is a mirror list
|
212
|
+
- [COOK-2663]: Yum should allow metadata_expire setting in repo file
|
213
|
+
- [COOK-2751]: Update yum.ius_release version to 1.0-11
|
214
|
+
|
215
|
+
v2.2.0
|
216
|
+
------
|
217
|
+
- [COOK-2189] - yum::ius failed on install (caused from rpm dependency)
|
218
|
+
- [COOK-2196] - Make includepkgs and exclude configurable for each repos
|
219
|
+
- [COOK-2244] - Allow configuring caching using attributes
|
220
|
+
- [COOK-2399] - yum cookbook LWRPs fail FoodCritic
|
221
|
+
- [COOK-2519] - Add priority option to Yum repo files
|
222
|
+
- [COOK-2593] - allow integer or string for yum priority
|
223
|
+
- [COOK-2643] - don't use conditional attribute for `yum_key` `remote_file`
|
224
|
+
|
225
|
+
v2.1.0
|
226
|
+
------
|
227
|
+
- [COOK-2045] - add remi repository recipe
|
228
|
+
- [COOK-2121] - add `:create` action to `yum_repository`
|
229
|
+
|
230
|
+
v2.0.6
|
231
|
+
------
|
232
|
+
- [COOK-2037] - minor style fixes
|
233
|
+
- [COOK-2038] - updated README
|
234
|
+
|
235
|
+
v2.0.4
|
236
|
+
------
|
237
|
+
- [COOK-1908] - unable to install repoforge on CentOS 6 32 bit
|
238
|
+
|
239
|
+
v2.0.2
|
240
|
+
------
|
241
|
+
- [COOK-1758] - Add default action for repository resource
|
242
|
+
|
243
|
+
v2.0.0
|
244
|
+
------
|
245
|
+
This version changes the behavior of the EPEL recipe (most commonly used in other Chef cookbooks) on Amazon, and removes an attribute, `node['yum']['epel_release']`. See the README for details.
|
246
|
+
|
247
|
+
- [COOK-1772] - Simplify management of EPEL with LWRP
|
248
|
+
|
249
|
+
v1.0.0
|
250
|
+
------
|
251
|
+
`mirrorlist` in the `yum_repository` LWRP must be set to the mirror list URI to use rather than setting it to true. See README.md.
|
252
|
+
|
253
|
+
- [COOK-1088] - use dl.fedoraproject.org for EPEL to prevent redirects
|
254
|
+
- [COOK-1653] - fix mirrorlist
|
255
|
+
- [COOK-1710] - support http proxy
|
256
|
+
- [COOK-1722] - update IUS version
|
257
|
+
|
258
|
+
v0.8.2
|
259
|
+
------
|
260
|
+
- [COOK-1521] - add :update action to `yum_repository`
|
261
|
+
|
262
|
+
v0.8.0
|
263
|
+
------
|
264
|
+
- [COOK-1204] - Make 'add' default action for yum_repository
|
265
|
+
- [COOK-1351] - option to not make the yum cache (via attribute)
|
266
|
+
- [COOK-1353] - x86_64 centos path fixes
|
267
|
+
- [COOK-1414] - recipe for repoforge
|
268
|
+
|
269
|
+
v0.6.2
|
270
|
+
------
|
271
|
+
- Updated README to remove git diff artifacts.
|
272
|
+
|
273
|
+
v0.6.0
|
274
|
+
------
|
275
|
+
- Default action for the yum_repository LWRP is now add.
|
276
|
+
- [COOK-1227] - clear Chefs internal cache after adding new yum repo
|
277
|
+
- [COOK-1262] - yum::epel should enable existing repo on Amazon Linux
|
278
|
+
- [COOK-1272], [COOK-1302] - update RPM file for CentOS / RHEL 6
|
279
|
+
- [COOK-1330] - update cookbook documentation on excludes for yum
|
280
|
+
- [COOK-1346] - retry remote_file for EPEL in case we get an FTP mirror
|
281
|
+
|
282
|
+
|
283
|
+
v0.5.2
|
284
|
+
------
|
285
|
+
- [COOK-825] - epel and ius `remote_file` should notify the `rpm_package` to install
|
286
|
+
|
287
|
+
v0.5.0
|
288
|
+
------
|
289
|
+
- [COOK-675] - add recipe for handling EPEL repository
|
290
|
+
- [COOK-722] - add recipe for handling IUS repository
|
291
|
+
|
292
|
+
v.0.1.2
|
293
|
+
------
|
294
|
+
- Remove yum update in default recipe, that doesn't update caches, it updates packages installed.
|