sous-chefs / apt

Development repository for the apt cookbook
https://supermarket.chef.io/cookbooks/apt
Apache License 2.0
202 stars 266 forks source link

Remove wrong warning logs generated by apt_preference #226

Closed grobie closed 7 years ago

grobie commented 7 years ago

Description

Remove wrong warnings generated by apt_preference.

Issues Resolved

After upgrading out apt cookbook version from 2.7.0 to 6.1.0 we started to see many warnings in our chef-client logs during every run. In fact, chef wasn't doing any changes though.

[2017-06-20T11:50:48+00:00] WARN: Replacing jessie.pref with jessie.pref in /etc/apt/preferences.d/
[2017-06-20T11:50:48+00:00] WARN: Replacing jessie-backports.pref with jessie-backports.pref in /etc/apt/preferences.d/

Check List