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 <[email protected]>
Signed-off-by: Matt Robinson <[email protected]>
---
Local-branch: ticket/2.7.x/7291-ruby19-fixes
 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 ee2b287..8599466 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.
-- 
1.7.3.1

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to