aboutsummaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorJacob Helwig <jacob@technosorcery.net>2018-06-25 09:40:12 -0700
committerJacob Helwig <jacob@technosorcery.net>2018-06-25 11:26:53 -0700
commit55f8ad9275066f6a7176d85d0ff6c900731ced01 (patch)
treeec99423adf93c71b905dbb13e942a07307cf4508 /lib/puppet
parent9ba23f8b8694d8c0b80f7ee66c0bc2152ad0da76 (diff)
downloadpuppet-sshkeys_core-55f8ad9275066f6a7176d85d0ff6c900731ced01.tar.gz
puppet-sshkeys_core-55f8ad9275066f6a7176d85d0ff6c900731ced01.tar.bz2
Remove Rubocop Metrics/LineLength violation
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/type/ssh_authorized_key.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/puppet/type/ssh_authorized_key.rb b/lib/puppet/type/ssh_authorized_key.rb
index 84dfce5..6b59078 100644
--- a/lib/puppet/type/ssh_authorized_key.rb
+++ b/lib/puppet/type/ssh_authorized_key.rb
@@ -113,7 +113,10 @@ module Puppet
validate do |value|
unless value == :absent || value =~ %r{^[-a-z0-9A-Z_]+(?:=\".*?\")?$}
- raise Puppet::Error, _("Option %{value} is not valid. A single option must either be of the form 'option' or 'option=\"value\". Multiple options must be provided as an array") % { value: value }
+ raise(
+ Puppet::Error,
+ _("Option %{value} is not valid. A single option must either be of the form 'option' or 'option=\"value\". Multiple options must be provided as an array") % { value: value },
+ )
end
end
end