diff options
author | Matt Robinson <matt@puppetlabs.com> | 2011-05-15 21:10:34 -0700 |
---|---|---|
committer | Matt Robinson <matt@puppetlabs.com> | 2011-05-16 15:13:52 -0700 |
commit | 1abb7c086f2db11e986d2f57f2e5e12f16bd5180 (patch) | |
tree | 741a2e37957eb8f9ee6c31829d856e5ed834c704 | |
parent | 615946619b7121ab724fac1a3d78b8f4072b867d (diff) | |
download | puppet-1abb7c086f2db11e986d2f57f2e5e12f16bd5180.tar.gz puppet-1abb7c086f2db11e986d2f57f2e5e12f16bd5180.tar.xz puppet-1abb7c086f2db11e986d2f57f2e5e12f16bd5180.zip |
(#7291) Fix Ruby 1.9 face failures
The certificate face wasn't being loaded, but it wasn't clear from the
test failure why:
lib/puppet/interface.rb:61:in `[]': Could not find Puppet Face
:certificate (Puppet::Error)
The problem is that when the certificate face is required you get:
SyntaxError Exception:
/Users/matthewrobinson/work/puppet/lib/puppet/face/certificate.rb:11:
invalid multibyte char (US-ASCII)
However this error is caught and logged, but then ignored. This
behavior was a decision in #7314 and is currently under review.
A space character in the description was ASCII 160 instead of the typical ASCII 32
Reviewed-by: Pieter van de Bruggen <pieter@puppetlabs.com>
-rw-r--r-- | lib/puppet/face/certificate.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/face/certificate.rb b/lib/puppet/face/certificate.rb index ee2b2873f..859946623 100644 --- a/lib/puppet/face/certificate.rb +++ b/lib/puppet/face/certificate.rb @@ -8,7 +8,7 @@ Puppet::Indirector::Face.define(:certificate, '0.0.1') do summary "Provide access to the CA for certificate management" description <<-EOT This face interacts with a local or remote Puppet certificate - authority. Currently, its behavior is not a full superset of puppet + authority. Currently, its behavior is not a full superset of puppet cert; specifically, it is unable to mimic puppet cert's "clean" option, and its "generate" action submits a CSR rather than creating a signed certificate. |