File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ Improvements:
1212
1313- Fix compatibility with apt cookbook 2.7.0 and newer using ` glob ` for ` apt_preference ` . Requires apt cookbook 1.9.0 or later. ([ GH-16 ] [ ] )
1414
15+ Bug fixes:
16+
17+ - ` backports_sloppy ` should always include the ` backports ` recipe. ([ GH-19 ] [ ] )
18+
1519# 1.7.2 / 2014-08-22
1620
1721Improvements:
@@ -135,3 +139,4 @@ Features:
135139[ GH-16 ] : https://github.com/reaktor/chef-debian/issues/16 " Issue 16 "
136140[ GH-17 ] : https://github.com/reaktor/chef-debian/issues/17 " Issue 17 "
137141[ GH-18 ] : https://github.com/reaktor/chef-debian/issues/18 " Issue 18 "
142+ [ GH-19 ] : https://github.com/reaktor/chef-debian/issues/19 " Issue 19 "
Original file line number Diff line number Diff line change 2323 Chef ::Log . warn "#{ node [ 'debian' ] [ 'codename' ] } -backports-sloppy does not exist yet"
2424 Chef ::Log . warn "Please file an issue if I'm wrong: https://github.com/reaktor/chef-debian/issues"
2525 Chef ::Log . info 'Including `debian::backports` recipe instead'
26- include_recipe 'debian::backports'
2726else
2827 debian_repository 'backports-sloppy' do
2928 uri Chef ::Debian ::Helpers . backports_mirror ( node )
3029 distribution "#{ node [ 'debian' ] [ 'codename' ] } -backports-sloppy"
3130 end
3231end
32+
33+ include_recipe 'debian::backports'
Original file line number Diff line number Diff line change 88 end . converge ( 'debian::backports_sloppy' )
99 end
1010
11+ it 'includes debian::backports recipe' do
12+ expect ( chef_run ) . to include_recipe ( 'debian::backports' )
13+ end
1114 it 'configures debian-backports-sloppy repository' do
1215 expect ( chef_run ) . to add_apt_source (
1316 'deb http://example.com/debian-backports squeeze-backports-sloppy main contrib non-free' ,
2023 debian_runner ( '7.0' ) . converge ( 'debian::backports_sloppy' )
2124 end
2225
26+ it 'includes debian::backports recipe' do
27+ expect ( chef_run ) . to include_recipe ( 'debian::backports' )
28+ end
2329 it 'configures debian-backports-sloppy repository' do
2430 expect ( chef_run ) . to add_apt_source (
2531 'deb http://httpredir.debian.org/debian wheezy-backports-sloppy main contrib non-free' ,
You can’t perform that action at this time.
0 commit comments