Skip to content

Commit

Permalink
Adopt to latest puppetlabs/apt changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Nov 21, 2024
1 parent 41d06c4 commit 84850a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions manifests/osfamily/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@
# Pass in an empty content string since apt requires it even though we are removing it
apt::setting { 'list-puppet-enterprise-installer':
ensure => absent,
content => '',
}

apt::setting { 'conf-pe-repo':
ensure => absent,
priority => '90',
content => '',
}
} else {
$source = $puppet_agent::apt_source
Expand Down
4 changes: 1 addition & 3 deletions spec/classes/puppet_agent_osfamily_debian_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,14 @@
is_expected.to contain_apt__setting('conf-pe-repo')
.with({
'priority' => 90,
'content' => '',
'ensure' => 'absent',
})
}

it {
is_expected.to contain_apt__setting('list-puppet-enterprise-installer')
.with({
'content' => '',
'ensure' => 'absent',
'ensure' => 'absent',
})
}
end
Expand Down

0 comments on commit 84850a5

Please sign in to comment.