From: Henry Date: Sat, 7 Oct 2017 11:05:38 +0000 (+0200) Subject: Remove apt::key was wrong, we only need to remove the requirement X-Git-Tag: 4.4.1~11^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3d2c888a793d9828d924d9bc087db555041762c8;p=puppet-modules%2Fpuppetlabs-apt.git Remove apt::key was wrong, we only need to remove the requirement It is not really elegant to have them seperated, but tying them together will create a circular dep with init.pp. Signed-off-by: Henry --- diff --git a/manifests/key.pp b/manifests/key.pp index a8c9f54..50f70dd 100644 --- a/manifests/key.pp +++ b/manifests/key.pp @@ -38,11 +38,13 @@ define apt::key ( 'Debian': { if versioncmp($facts['os']['release']['major'], '9') >= 0 { ensure_packages(['dirmngr']) + Apt::Key<| title == $title |> } } 'Ubuntu': { if versioncmp($facts['os']['release']['full'], '17.04') >= 0 { ensure_packages(['dirmngr']) + Apt::Key<| title == $title |> } } default: { }