Skip to content

Commit 05715a1

Browse files
authored
Merge pull request #740 from bastelfreak/apt2
Adopt to latest puppetlabs/apt changes
2 parents 26310e3 + 84850a5 commit 05715a1

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ group :development, :release_prep do
5151
gem "puppetlabs_spec_helper", '~> 7.0', require: false
5252
end
5353
group :system_tests do
54-
gem "puppet_litmus", '~> 1.0', require: false, platforms: [:ruby, :x64_mingw]
5554
gem "CFPropertyList", '< 3.0.7', require: false, platforms: [:mswin, :mingw, :x64_mingw]
5655
gem "serverspec", '~> 2.41', require: false
5756
gem "voxpupuli-acceptance", '~> 3', require: false

manifests/osfamily/debian.pp

-2
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,11 @@
6060
# Pass in an empty content string since apt requires it even though we are removing it
6161
apt::setting { 'list-puppet-enterprise-installer':
6262
ensure => absent,
63-
content => '',
6463
}
6564

6665
apt::setting { 'conf-pe-repo':
6766
ensure => absent,
6867
priority => '90',
69-
content => '',
7068
}
7169
} else {
7270
$source = $puppet_agent::apt_source

spec/classes/puppet_agent_osfamily_debian_spec.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,14 @@
5858
is_expected.to contain_apt__setting('conf-pe-repo')
5959
.with({
6060
'priority' => 90,
61-
'content' => '',
6261
'ensure' => 'absent',
6362
})
6463
}
6564

6665
it {
6766
is_expected.to contain_apt__setting('list-puppet-enterprise-installer')
6867
.with({
69-
'content' => '',
70-
'ensure' => 'absent',
68+
'ensure' => 'absent',
7169
})
7270
}
7371
end

0 commit comments

Comments
 (0)