X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=lib%2Fpuppet%2Ftype%2Fapt_key.rb;h=fa7b0c676c77e2c4c1d48eeaa37a1cd677a27076;hb=d946753dc4c2ac376e3d1edae92d6884516ebe3a;hp=67420de0fad9502b83202ab0e21eba0493f2eacc;hpb=c9443f9e501fa34ae4f47a3f76ec7cd010c6e726;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/lib/puppet/type/apt_key.rb b/lib/puppet/type/apt_key.rb index 67420de..fa7b0c6 100644 --- a/lib/puppet/type/apt_key.rb +++ b/lib/puppet/type/apt_key.rb @@ -49,8 +49,8 @@ Puppet::Type.newtype(:apt_key) do end newparam(:source) do - desc 'Location of a GPG key file, /path/to/file, http:// or https://' - newvalues(/\Ahttps?:\/\//, /\A\/\w+/) + desc 'Location of a GPG key file, /path/to/file, ftp://, http:// or https://' + newvalues(/\Ahttps?:\/\//, /\Aftp:\/\//, /\A\/\w+/) end autorequire(:file) do