From: Tomas Barton Date: Mon, 11 Sep 2017 15:14:16 +0000 (+0200) Subject: ensure dirmngr is installed on Debian Stretch X-Git-Tag: 4.2.0~10^2~3 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c1473996642fdbd45482045c2c331f306c33d2f9;hp=73d200fedcb60b3fb1daeba3bff49f8a5881b183;p=puppet-modules%2Fpuppetlabs-apt.git ensure dirmngr is installed on Debian Stretch --- diff --git a/manifests/setting.pp b/manifests/setting.pp index 507ec94..cee854c 100644 --- a/manifests/setting.pp +++ b/manifests/setting.pp @@ -49,4 +49,14 @@ define apt::setting ( source => $source, notify => $_notify, } + + case $::operatingsystem { + 'Debian': { + if versioncmp($facts['os']['release']['full'], '9.0') >= 0 { + # require for adding apt GPG keys + ensure_packages(['dirmngr']) + } + } + } + }