|
26 | 26 | end |
27 | 27 |
|
28 | 28 | it { |
29 | | - expect(subject).to contain_apt__source('backports').with(location: 'http://deb.debian.org/debian', |
30 | | - repos: 'main contrib non-free', |
31 | | - release: 'bullseye-backports', |
32 | | - pin: { 'priority' => 200, 'release' => 'bullseye-backports' }) |
| 29 | + expect(subject).to contain_apt__source('backports').with( |
| 30 | + location: 'http://deb.debian.org/debian', |
| 31 | + repos: 'main contrib non-free', |
| 32 | + release: 'bullseye-backports', |
| 33 | + pin: { |
| 34 | + 'priority' => 200, |
| 35 | + 'release' => 'bullseye-backports' |
| 36 | + }, |
| 37 | + ) |
33 | 38 | } |
34 | 39 | end |
35 | 40 |
|
|
52 | 57 | end |
53 | 58 |
|
54 | 59 | it { |
55 | | - expect(subject).to contain_apt__source('backports').with(location: 'http://archive.ubuntu.com/ubuntu', |
56 | | - repos: 'main universe multiverse restricted', |
57 | | - release: 'jammy-backports', |
58 | | - pin: { 'priority' => 200, 'release' => 'jammy-backports' }) |
| 60 | + expect(subject).to contain_apt__source('backports').with( |
| 61 | + location: 'http://archive.ubuntu.com/ubuntu', |
| 62 | + repos: 'main universe multiverse restricted', |
| 63 | + release: 'jammy-backports', |
| 64 | + pin: { |
| 65 | + 'priority' => 200, |
| 66 | + 'release' => 'jammy-backports' |
| 67 | + }, |
| 68 | + ) |
59 | 69 | } |
60 | 70 | end |
61 | 71 |
|
|
87 | 97 | end |
88 | 98 |
|
89 | 99 | it { |
90 | | - expect(subject).to contain_apt__source('backports').with(location: 'http://archive.ubuntu.com/ubuntu-test', |
91 | | - key: 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553', |
92 | | - repos: 'main', |
93 | | - release: 'vivid', |
94 | | - pin: { 'priority' => 90, 'release' => 'vivid' }) |
| 100 | + expect(subject).to contain_apt__source('backports').with( |
| 101 | + location: 'http://archive.ubuntu.com/ubuntu-test', |
| 102 | + key: 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553', |
| 103 | + repos: 'main', |
| 104 | + release: 'vivid', |
| 105 | + pin: { 'priority' => 90, 'release' => 'vivid' }, |
| 106 | + ) |
95 | 107 | } |
96 | 108 | end |
97 | 109 |
|
|
124 | 136 | end |
125 | 137 |
|
126 | 138 | it { |
127 | | - expect(subject).to contain_apt__source('backports').with(key: { 'id' => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553' }, |
128 | | - pin: { 'priority' => '90' }) |
| 139 | + expect(subject).to contain_apt__source('backports').with( |
| 140 | + key: { 'id' => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553' }, |
| 141 | + pin: { 'priority' => '90' }, |
| 142 | + ) |
129 | 143 | } |
130 | 144 | end |
131 | 145 | end |
|
159 | 173 | end |
160 | 174 |
|
161 | 175 | it { |
162 | | - expect(subject).to contain_apt__source('backports').with(location: 'http://archive.ubuntu.com/ubuntu', |
163 | | - key: '630239CC130E1A7FD81A27B140976EAF437D05B5', |
164 | | - repos: 'main universe multiverse restricted', |
165 | | - release: 'trusty-backports', |
166 | | - pin: { 'priority' => 200, 'release' => 'trusty-backports' }) |
| 176 | + expect(subject).to contain_apt__source('backports').with( |
| 177 | + location: 'http://archive.ubuntu.com/ubuntu', |
| 178 | + key: '630239CC130E1A7FD81A27B140976EAF437D05B5', |
| 179 | + repos: 'main universe multiverse restricted', |
| 180 | + release: 'trusty-backports', |
| 181 | + pin: { 'priority' => 200, 'release' => 'trusty-backports' }, |
| 182 | + ) |
167 | 183 | } |
168 | 184 | end |
169 | 185 |
|
|
0 commit comments