X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=lib%2Fpuppet%2Ftype%2Fapt_key.rb;h=8c5c84c886f83c3bc296b0e06e50ff73af3d1391;hb=d5e81157b553ff9ccd425bc26d285a2829281072;hp=ca88f867eab26918b43ad729dd29a7b53ec754e2;hpb=3948cd343a42876cda9bbbf705a2ae55dfbe21e9;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/lib/puppet/type/apt_key.rb b/lib/puppet/type/apt_key.rb index ca88f86..8c5c84c 100644 --- a/lib/puppet/type/apt_key.rb +++ b/lib/puppet/type/apt_key.rb @@ -64,10 +64,6 @@ Puppet::Type.newtype(:apt_key) do end end - autorequire(:package) do - 'dirmngr' - end - newparam(:server) do desc 'The key server to fetch the key from based on the ID. It can either be a domain name or url.' defaultto :'keyserver.ubuntu.com' @@ -84,6 +80,11 @@ Puppet::Type.newtype(:apt_key) do defaultto false end + newparam(:weak_ssl, boolean: true, parent: Puppet::Parameter::Boolean) do + desc 'When true and source uses https, accepts download of keys without SSL verfication' + defaultto false + end + newproperty(:fingerprint) do desc <<-MANIFEST The 40-digit hexadecimal fingerprint of the specified GPG key.