+# frozen_string_literal: true
+
require 'pathname'
require 'puppet/parameter/boolean'
if self[:content] && self[:source]
raise(_('The properties content and source are mutually exclusive.'))
end
+
if self[:id].length < 40
warning(_('The id should be a full fingerprint (40 characters), see README.'))
end
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'
+ desc 'When true and source uses https, accepts download of keys without SSL verification'
defaultto false
end