]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Remove apt::key was wrong, we only need to remove the requirement
authorHenry <h.paulissen@tmg.nl>
Sat, 7 Oct 2017 11:05:38 +0000 (13:05 +0200)
committerHenry <h.paulissen@tmg.nl>
Sat, 7 Oct 2017 11:05:38 +0000 (13:05 +0200)
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 <h.paulissen@tmg.nl>
manifests/key.pp

index a8c9f54950a368463c8bcd95f8d4ca6880519763..50f70dd1f5ccc091b6974fbb8c9bb21da70dbd1c 100644 (file)
@@ -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: { }