Skip to content

Commit

Permalink
Merge pull request #808 from puppetlabs/revert-801-modules6408
Browse files Browse the repository at this point in the history
Revert "(MODULES-6408) - Fix dirmngr install failing"
  • Loading branch information
pmcmaw authored Oct 1, 2018
2 parents b04f12f + f3850ff commit 68168a1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,6 @@
content => "${confheadertmp}${updatestamptmp}",
}

# Required for adding GPG keys on Debian 9 (and derivatives)
$apt_files = [ 'sources.list', 'sources.list.d', 'preferences', 'preferences.d', '/etc/apt/auth.conf' ]
package { 'dirmngr':
ensure => present,
before => [File[$apt_files]]
}

file { 'sources.list':
ensure => file,
path => $::apt::sources_list,
Expand Down Expand Up @@ -296,4 +289,7 @@
if $pins {
create_resources('apt::pin', $pins)
}

# required for adding GPG keys on Debian 9 (and derivatives)
ensure_packages(['dirmngr'])
}

0 comments on commit 68168a1

Please sign in to comment.