X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fsource.pp;fp=manifests%2Fsource.pp;h=54cfadfe14fa422694001acbbdfd524bc2829230;hb=3bcbd1557b4ee0c964cc2dbbc936af00b0ea1316;hp=be5b1c475253758aa1bd9799dd53df7b3e8fabf2;hpb=6cb996e8b5294d48de7dd455127104574950ba57;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/source.pp b/manifests/source.pp index be5b1c4..54cfadf 100644 --- a/manifests/source.pp +++ b/manifests/source.pp @@ -70,6 +70,7 @@ define apt::source( Optional[Variant[Hash, Numeric, String]] $pin = undef, Optional[String] $architecture = undef, Boolean $allow_unsigned = false, + Boolean $allow_insecure = false, Boolean $notify_update = true, ) { @@ -135,9 +136,10 @@ define apt::source( 'comment' => $comment, 'includes' => $includes, 'options' => delete_undef_values({ - 'arch' => $_architecture, - 'trusted' => $allow_unsigned ? {true => "yes", false => undef}, - 'signed-by' => $keyring, + 'arch' => $architecture, + 'trusted' => $allow_unsigned ? {true => "yes", false => undef}, + 'allow-insecure' => $allow_insecure ? {true => "yes", false => undef}, + 'signed-by' => $keyring, }), 'location' => $_location, 'release' => $_release,