diff options
author | Reid Vandewiele <reid@puppet.com> | 2018-10-31 09:50:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 09:50:05 -0700 |
commit | 1a70da8bbd4c42bb3e24ac14fa8a48b71f849496 (patch) | |
tree | a9fc7f31fc6a3e01614ba15f3db25084a495e0e7 | |
parent | bd22643b7f6d8755f410ca5e4a11d3e4abf77559 (diff) | |
parent | feceaf44ea6e7f23196bf98f98978088dc2f567a (diff) | |
download | puppet-sshkeys_core-1a70da8bbd4c42bb3e24ac14fa8a48b71f849496.tar.gz puppet-sshkeys_core-1a70da8bbd4c42bb3e24ac14fa8a48b71f849496.tar.bz2 |
Merge pull request #10 from natemccurdy/nmccurdy/fix_options_doc
ssh_authorzed_key: Fix invalid 'options' error
-rw-r--r-- | lib/puppet/type/ssh_authorized_key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/ssh_authorized_key.rb b/lib/puppet/type/ssh_authorized_key.rb index 5c4df53..e11134f 100644 --- a/lib/puppet/type/ssh_authorized_key.rb +++ b/lib/puppet/type/ssh_authorized_key.rb @@ -115,7 +115,7 @@ module Puppet 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 }, + _("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 |