CHANGELOG.md 10 KB
Newer Older
Tim Smith's avatar
Tim Smith committed
1
# yum Cookbook CHANGELOG
Tim Smith's avatar
Tim Smith committed
2

Seth Vargo's avatar
Seth Vargo committed
3
This file is used to list changes made in each version of the yum cookbook.
jtimberman's avatar
jtimberman committed
4

Tim Smith's avatar
Tim Smith committed
5 6 7 8 9
## 5.1.0 (2017-08-04)

- Avoid spec deprecation warnings
- Use an empty string `releasever` to lock an Amazon Linux AMI to its current verison

Tim Smith's avatar
Tim Smith committed
10 11 12 13 14 15 16
## 5.0.1 (2017-04-06)

- Switch from Rake testing to Local Delivery
- Rename kitchen-docker to kitchen-dokken
- Update apache2 license string
- use true/false vs. TrueClass and FalseClass in the resource

17 18 19 20 21 22 23 24 25 26
## 5.0.0 (2017-02-12)

### Breaking changes

- Removed the yum_repository resource and instead require chef-client 12.14 or later, which has the yum repository functionality built in. This resolves Chef 13 compatibility warnings for any cookbook with the yum cookbook.

### Other changes

- Convert yum_globalconfig from an LWRP to a custom resource

Tim Smith's avatar
Tim Smith committed
27 28 29 30 31 32 33
## 4.2.0 (2017-02-12)

- Make cache in the DNF compat recipe
- Fix `fastestmirror_enabled`.
- Require Chef 12.1 not 12.0
- Convert to Inspec

Tim Smith's avatar
Tim Smith committed
34
## 4.1.0 (2016-10-21)
35

Tim Smith's avatar
Tim Smith committed
36 37
- Purge yum cache before removing a repo not after

Tim Smith's avatar
Tim Smith committed
38 39 40 41
## 4.0.0 (2016-09-06)

- Remove support for Chef 11

Tim Smith's avatar
Tim Smith committed
42 43 44 45 46
## 3.13.0 (2016-09-06)

- Add deprecation warning for add/remove actions, which were replaced with create/delete in Yum 3.0
- Remove support for Chef 10

Jennifer Davis's avatar
Jennifer Davis committed
47 48 49 50 51
## v3.12.0 (2016-08-25)

- Fixing baseurl to support multiple urls
- Modify releasever attribute for Amazon to match Amazon's default policy for releasever

Tim Smith's avatar
Tim Smith committed
52 53 54 55 56 57
## v3.11.0 (2016-06-01)

- Install yum at compile time in the dnf compatibility recipe
- Add IBM zlinux as a supported platform in the metadata
- Use cookstyle instead of rubocop to provide a consistent linting experience

Tim Smith's avatar
Tim Smith committed
58
## v3.10.0 (2016-02-04)
Tim Smith's avatar
Tim Smith committed
59

Tim Smith's avatar
Tim Smith committed
60 61 62
- Add a new sensitive attribute to the repository resource so prevent writing the diff of the config to Chef output / logs
- Update testing dependencies and remove the Guardfile / Guard dependencies

Tim Smith's avatar
Tim Smith committed
63
## v3.9.0 (2016-01-14)
Tim Smith's avatar
Tim Smith committed
64

Tim Smith's avatar
Tim Smith committed
65 66
- Added dnf_yum_compat recipe to ensure yum is installed on Fedora systems for Chef package resource compatibility. This will no longer be necessary when native dnf package support ships in chef-client.

Tim Smith's avatar
Tim Smith committed
67
## v3.8.2 (2015-10-28)
Tim Smith's avatar
Tim Smith committed
68 69

- # 141 - Replace clean_headers with clean_metadata
70

Tim Smith's avatar
Tim Smith committed
71
## v3.8.1 (2015-10-28)
Tim Smith's avatar
Tim Smith committed
72

73 74
- Fixing up Chef13 deprecation warnings

Tim Smith's avatar
Tim Smith committed
75
## v3.8.0 (2015-10-13)
Tim Smith's avatar
Tim Smith committed
76

77 78
- adding clean_headers boolean property to yum_resource
- restoring Chef 10 backwards compat for the sake of ChefSpec
Tim Smith's avatar
Tim Smith committed
79
- (unique resource names needed to avoid cloning)
80 81
- Fixing localpkg_gpgcheck values

Tim Smith's avatar
Tim Smith committed
82
## v3.7.1 (2015-09-08)
Tim Smith's avatar
Tim Smith committed
83 84

- # 135 - reverting "yum clean headers" as it breaks dnf compat
85

Tim Smith's avatar
Tim Smith committed
86
## v3.7.0 (2015-09-05)
Tim Smith's avatar
Tim Smith committed
87

88 89 90
- Adding deltarpm toggle
- Cleaning 'headers' rather than 'all'

Tim Smith's avatar
Tim Smith committed
91
## v3.6.3 (2015-07-13)
Tim Smith's avatar
Tim Smith committed
92

93 94 95 96 97
- Normalizing sslverify option rendering behavior
- Setting default value on the resource to nil
- Explictly setting string to render in template if value is supplied
- Behavior should default to "True", per man page

Tim Smith's avatar
Tim Smith committed
98
## v3.6.2 (2015-07-13)
Tim Smith's avatar
Tim Smith committed
99

100 101 102
- Adding -y to makecache, to import key when repo_gpgcheck = true.
- Accepting Integer value for max_retries

Tim Smith's avatar
Tim Smith committed
103
## v3.6.1 (2015-06-04)
Tim Smith's avatar
Tim Smith committed
104

105 106 107
- Executing yum clean before makecache
- Adding repo_gpgcheck

Tim Smith's avatar
Tim Smith committed
108
## v3.6.0 (2015-04-23)
Tim Smith's avatar
Tim Smith committed
109

110 111 112
- Adding "yum clean" before "yum makecache" in yum_repository :create
- Adding why_run support to yum_globalconfig

Tim Smith's avatar
Tim Smith committed
113
## v3.5.4 (2015-04-07)
Tim Smith's avatar
Tim Smith committed
114

115 116
- Changing tolerant config line to stringified integer

Tim Smith's avatar
Tim Smith committed
117
## v3.5.3 (2015-01-16)
Tim Smith's avatar
Tim Smith committed
118

119 120
- Adding reposdir to globalconfig template

Tim Smith's avatar
Tim Smith committed
121
## v3.5.2 (2014-12-24)
Tim Smith's avatar
Tim Smith committed
122

123 124
- Fixing redhat-release detection for Redhat 7

Tim Smith's avatar
Tim Smith committed
125
## v3.5.1 (2014-11-24)
Tim Smith's avatar
Tim Smith committed
126

127 128
- Reverting management of ca-certificates because EL5 was broken

Tim Smith's avatar
Tim Smith committed
129
## v3.5.0 (2014-11-24)
Tim Smith's avatar
Tim Smith committed
130

131 132
- Adding management of ca-certificates package to yum_repository provider

Tim Smith's avatar
Tim Smith committed
133
## v3.4.1 (2014-10-29)
Tim Smith's avatar
Tim Smith committed
134

135 136 137 138
- Run yum-makecache only_if new_resource.enabled
- Allow setting of reposdir in global yum config and man page
- Change default 'obsoletes' behavior to match yum defaults

Tim Smith's avatar
Tim Smith committed
139
## v3.4.0 (2014-10-15)
Tim Smith's avatar
Tim Smith committed
140

141 142
- Dynamically generate the new_resource attributes

Tim Smith's avatar
Tim Smith committed
143
## v3.3.2 (2014-09-11)
Tim Smith's avatar
Tim Smith committed
144

145 146
- Fix globalconfig resource param for http_caching

Tim Smith's avatar
Tim Smith committed
147
## v3.3.1 (2014-09-04)
Tim Smith's avatar
Tim Smith committed
148

149 150 151
- Fix issue with sslverify if set to false
- Add fancy badges

Tim Smith's avatar
Tim Smith committed
152
## v3.3.0 (2014-09-03)
Tim Smith's avatar
Tim Smith committed
153

154 155 156 157 158 159
- Adding tuning attributes for all supported resource parameters
- Adding options hash parameter
- Adding (real) rhel-6.5 and centos-7.0 to test-kitchen coverage
- Updating regex for mirror_expire and mirrorlist_expire to include /^\d+[mhd]$/
- Updating README so keepcache reflects reality (defaults to false)
- Changing 'obsoletes' behavior in globalconfig resource to match
Tim Smith's avatar
Tim Smith committed
160
- default behavior. (now defaults to nil, yum defaults to false)
161 162 163
- Adding makecache action to repository resource
- Adding mode parameter to repository resource. Defaults to '0644'.

Tim Smith's avatar
Tim Smith committed
164
## v3.2.4 (2014-08-20)
Tim Smith's avatar
Tim Smith committed
165 166

- # 82 - Adding a makecache parameter
jtimberman's avatar
jtimberman committed
167

Tim Smith's avatar
Tim Smith committed
168
## v3.2.2 (2014-06-11)
Tim Smith's avatar
Tim Smith committed
169 170 171 172

- # 77 - Parameter default to be Trueclass instead of "1"

- # 78 - add releasever parameter
Sean OMeara's avatar
Sean OMeara committed
173

Tim Smith's avatar
Tim Smith committed
174
## v3.2.0 (2014-04-09)
Tim Smith's avatar
Tim Smith committed
175

Sean OMeara's avatar
Sean OMeara committed
176 177 178
- [COOK-4510] - Adding username and password parameters to node attributes
- [COOK-4518] - Fix Scientific Linux distroverpkg

Tim Smith's avatar
Tim Smith committed
179
## v3.1.6 (2014-03-27)
Tim Smith's avatar
Tim Smith committed
180

Sean OMeara's avatar
Sean OMeara committed
181 182 183
- [COOK-4463] - support multiple GPG keys
- [COOK-4364] - yum_repository delete action fails

Tim Smith's avatar
Tim Smith committed
184
## v3.1.4 (2014-03-12)
Tim Smith's avatar
Tim Smith committed
185

Sean OMeara's avatar
Sean OMeara committed
186 187
- [COOK-4417] Expand test harness to encompass 32-bit boxes

Tim Smith's avatar
Tim Smith committed
188
## v3.1.2 (2014-02-23)
Tim Smith's avatar
Tim Smith committed
189

Tim Smith's avatar
Tim Smith committed
190
Fixing bugs around :delete action and cache clean Fixing specs to cover :remove and :delete aliasing properly Adding Travis-ci build matrix bits
Sean OMeara's avatar
Sean OMeara committed
191

Tim Smith's avatar
Tim Smith committed
192
## v3.1.0 (2014-02-13)
Tim Smith's avatar
Tim Smith committed
193

Sean OMeara's avatar
Sean OMeara committed
194 195 196 197 198 199 200 201 202
- Updating testing harness for integration testing on Travis-ci
- Adding TESTING.md and Guardfile
- PR #67 - Add skip_if_unvailable repository option
- PR #64 - Fix validation of 'metadata_expire' option to match documentation
- [COOK-3591] - removing node.name from repo template rendering
- [COOK-4275] - Enhancements to yum cookbook
- Adding full spec coverage
- Adding support for custom source template to yum_repository

Tim Smith's avatar
Tim Smith committed
203
## v3.0.8 (2014-01-27)
Tim Smith's avatar
Tim Smith committed
204

Sean OMeara's avatar
Sean OMeara committed
205 206
Fixing typo in default.rb. yum_globalconfig now passes proxy attribute correctly.

Tim Smith's avatar
Tim Smith committed
207
## v3.0.6 (2014-01-27)
Tim Smith's avatar
Tim Smith committed
208

Sean OMeara's avatar
Sean OMeara committed
209 210
Updating default.rb to consume node['yum']['main']['proxy']

Tim Smith's avatar
Tim Smith committed
211
## v3.0.4 (2013-12-29)
Tim Smith's avatar
Tim Smith committed
212

Sean OMeara's avatar
Sean OMeara committed
213
### Bug
Tim Smith's avatar
Tim Smith committed
214

Sean OMeara's avatar
Sean OMeara committed
215
- **[COOK-4156](https://tickets.chef.io/browse/COOK-4156)** - yum cookbook creates a yum.conf with "cachefir" directive
Sean OMeara's avatar
Sean OMeara committed
216

Tim Smith's avatar
Tim Smith committed
217
## v3.0.2
Tim Smith's avatar
Tim Smith committed
218

Sean OMeara's avatar
Sean OMeara committed
219 220
Updating globalconfig provider for Chef 10 compatability

Tim Smith's avatar
Tim Smith committed
221
## v3.0.0
Tim Smith's avatar
Tim Smith committed
222

Tim Smith's avatar
Tim Smith committed
223 224 225
3.0.0 Major rewrite with breaking changes. Recipes broken out into individual cookbooks yum_key resource has been removed yum_repository resource now takes gpgkey as a URL directly yum_repository actions have been reduced to :create and :delete 'name' has been changed to repositoryid to avoid ambiguity chefspec test coverage gpgcheck is set to 'true' by default and must be explicitly disabled

## v2.4.4
Tim Smith's avatar
Tim Smith committed
226

Sean OMeara's avatar
Sean OMeara committed
227 228
Reverting to Ruby 1.8 hash syntax.

Tim Smith's avatar
Tim Smith committed
229
## v2.4.2
Tim Smith's avatar
Tim Smith committed
230

Tim Smith's avatar
Tim Smith committed
231
[COOK-3275] LWRP repository.rb :add method fails to create yum repo in some cases which causes :update to fail Amazon rhel
Sean OMeara's avatar
Sean OMeara committed
232

Tim Smith's avatar
Tim Smith committed
233
## v2.4.0
Tim Smith's avatar
Tim Smith committed
234

Sean OMeara's avatar
Sean OMeara committed
235
### Improvement
Tim Smith's avatar
Tim Smith committed
236

Sean OMeara's avatar
Sean OMeara committed
237 238
- [COOK-3025] - Allow per-repo proxy definitions

Tim Smith's avatar
Tim Smith committed
239
## v2.3.4
Tim Smith's avatar
Tim Smith committed
240

Seth Vargo's avatar
Seth Vargo committed
241
### Improvement
Tim Smith's avatar
Tim Smith committed
242

Sean OMeara's avatar
Sean OMeara committed
243 244
- **[COOK-3689](https://tickets.chef.io/browse/COOK-3689)** - Fix warnings about resource cloning
- **[COOK-3574](https://tickets.chef.io/browse/COOK-3574)** - Add missing "description" field in metadata
Seth Vargo's avatar
Seth Vargo committed
245

Tim Smith's avatar
Tim Smith committed
246
## v2.3.2
Tim Smith's avatar
Tim Smith committed
247

Seth Vargo's avatar
Seth Vargo committed
248
### Bug
Tim Smith's avatar
Tim Smith committed
249

Sean OMeara's avatar
Sean OMeara committed
250
- **[COOK-3145](https://tickets.chef.io/browse/COOK-3145)** - Use correct download URL for epel `key_url`
Seth Vargo's avatar
Seth Vargo committed
251

Tim Smith's avatar
Tim Smith committed
252
## v2.3.0
Tim Smith's avatar
Tim Smith committed
253

Seth Vargo's avatar
Seth Vargo committed
254
### New Feature
Tim Smith's avatar
Tim Smith committed
255

jtimberman's avatar
jtimberman committed
256 257
- [COOK-2924]: Yum should allow type setting in repo file

Tim Smith's avatar
Tim Smith committed
258
## v2.2.4
Tim Smith's avatar
Tim Smith committed
259

jtimberman's avatar
jtimberman committed
260
### Bug
Tim Smith's avatar
Tim Smith committed
261

jtimberman's avatar
jtimberman committed
262 263 264
- [COOK-2360]: last commit to `yum_repository` changes previous behaviour
- [COOK-3015]: Yum cookbook test minitest to fail

Tim Smith's avatar
Tim Smith committed
265
## v2.2.2
Tim Smith's avatar
Tim Smith committed
266

jtimberman's avatar
jtimberman committed
267
### Improvement
Tim Smith's avatar
Tim Smith committed
268

jtimberman's avatar
jtimberman committed
269 270 271 272
- [COOK-2741]: yum::elrepo
- [COOK-2946]: update tests, test kitchen support in yum cookbook

### Bug
Tim Smith's avatar
Tim Smith committed
273

jtimberman's avatar
jtimberman committed
274 275 276 277
- [COOK-2639]: Yum cookbook - epel - always assumes url is a mirror list
- [COOK-2663]: Yum should allow metadata_expire setting in repo file
- [COOK-2751]: Update yum.ius_release version to 1.0-11

Tim Smith's avatar
Tim Smith committed
278
## v2.2.0
Tim Smith's avatar
Tim Smith committed
279

Seth Vargo's avatar
Seth Vargo committed
280 281 282 283 284 285 286 287
- [COOK-2189] - yum::ius failed on install (caused from rpm dependency)
- [COOK-2196] - Make includepkgs and exclude configurable for each repos
- [COOK-2244] - Allow configuring caching using attributes
- [COOK-2399] - yum cookbook LWRPs fail FoodCritic
- [COOK-2519] - Add priority option to Yum repo files
- [COOK-2593] - allow integer or string for yum priority
- [COOK-2643] - don't use conditional attribute for `yum_key` `remote_file`

Tim Smith's avatar
Tim Smith committed
288
## v2.1.0
Tim Smith's avatar
Tim Smith committed
289

Seth Vargo's avatar
Seth Vargo committed
290 291 292
- [COOK-2045] - add remi repository recipe
- [COOK-2121] - add `:create` action to `yum_repository`

Tim Smith's avatar
Tim Smith committed
293
## v2.0.6
Tim Smith's avatar
Tim Smith committed
294

Seth Vargo's avatar
Seth Vargo committed
295 296 297
- [COOK-2037] - minor style fixes
- [COOK-2038] - updated README

Tim Smith's avatar
Tim Smith committed
298
## v2.0.4
Tim Smith's avatar
Tim Smith committed
299

Seth Vargo's avatar
Seth Vargo committed
300 301
- [COOK-1908] - unable to install repoforge on CentOS 6 32 bit

Tim Smith's avatar
Tim Smith committed
302
## v2.0.2
Tim Smith's avatar
Tim Smith committed
303

Seth Vargo's avatar
Seth Vargo committed
304 305
- [COOK-1758] - Add default action for repository resource

Tim Smith's avatar
Tim Smith committed
306
## v2.0.0
Tim Smith's avatar
Tim Smith committed
307

Sean OMeara's avatar
Sean OMeara committed
308
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.
Tim Smith's avatar
Tim Smith committed
309

Seth Vargo's avatar
Seth Vargo committed
310 311
- [COOK-1772] - Simplify management of EPEL with LWRP

Tim Smith's avatar
Tim Smith committed
312
## v1.0.0
Tim Smith's avatar
Tim Smith committed
313

Seth Vargo's avatar
Seth Vargo committed
314
`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.
Tim Smith's avatar
Tim Smith committed
315

Seth Vargo's avatar
Seth Vargo committed
316 317 318 319 320
- [COOK-1088] - use dl.fedoraproject.org for EPEL to prevent redirects
- [COOK-1653] - fix mirrorlist
- [COOK-1710] - support http proxy
- [COOK-1722] - update IUS version

Tim Smith's avatar
Tim Smith committed
321
## v0.8.2
Tim Smith's avatar
Tim Smith committed
322

Seth Vargo's avatar
Seth Vargo committed
323 324
- [COOK-1521] - add :update action to `yum_repository`

Tim Smith's avatar
Tim Smith committed
325
## v0.8.0
Tim Smith's avatar
Tim Smith committed
326

Seth Vargo's avatar
Seth Vargo committed
327 328 329 330 331
- [COOK-1204] - Make 'add' default action for yum_repository
- [COOK-1351] - option to not make the yum cache (via attribute)
- [COOK-1353] - x86_64 centos path fixes
- [COOK-1414] - recipe for repoforge

Tim Smith's avatar
Tim Smith committed
332
## v0.6.2
Tim Smith's avatar
Tim Smith committed
333

Seth Vargo's avatar
Seth Vargo committed
334 335
- Updated README to remove git diff artifacts.

Tim Smith's avatar
Tim Smith committed
336
## v0.6.0
Tim Smith's avatar
Tim Smith committed
337

Seth Vargo's avatar
Seth Vargo committed
338 339 340 341 342 343 344
- Default action for the yum_repository LWRP is now add.
- [COOK-1227] - clear Chefs internal cache after adding new yum repo
- [COOK-1262] - yum::epel should enable existing repo on Amazon Linux
- [COOK-1272], [COOK-1302] - update RPM file for CentOS / RHEL 6
- [COOK-1330] - update cookbook documentation on excludes for yum
- [COOK-1346] - retry remote_file for EPEL in case we get an FTP mirror

Tim Smith's avatar
Tim Smith committed
345
## v0.5.2
Tim Smith's avatar
Tim Smith committed
346

Seth Vargo's avatar
Seth Vargo committed
347 348
- [COOK-825] - epel and ius `remote_file` should notify the `rpm_package` to install

Tim Smith's avatar
Tim Smith committed
349
## v0.5.0
Tim Smith's avatar
Tim Smith committed
350

Seth Vargo's avatar
Seth Vargo committed
351 352 353
- [COOK-675] - add recipe for handling EPEL repository
- [COOK-722] - add recipe for handling IUS repository

Tim Smith's avatar
Tim Smith committed
354
## v.0.1.2
Tim Smith's avatar
Tim Smith committed
355

Seth Vargo's avatar
Seth Vargo committed
356
- Remove yum update in default recipe, that doesn't update caches, it updates packages installed.