Please review pull request #662: (#13894) backport fix of #12191 opened by (jeffweiss)

Description:

cherrypick commit already merged into master to backport into 2.7.x

  • Opened: Wed Apr 11 23:12:45 UTC 2012
  • Based on: puppetlabs:2.7.x (cb505786b6c306d6972aaf24cdd62409fa7a001f)
  • Requested merge: jeffweiss:ticket/2.7.x/13894_backport_fix_of_12191 (27a5eb7441ec35b960d4cbab7b1d79b946804238)

Diff follows:

diff --git a/lib/puppet/face/certificate.rb b/lib/puppet/face/certificate.rb
index d116796..e0e0fb5 100644
--- a/lib/puppet/face/certificate.rb
+++ b/lib/puppet/face/certificate.rb
@@ -103,7 +103,7 @@
 
     when_invoked do |name, options|
       host = Puppet::SSL::Host.new(name)
-      if options[:ca_location] == :remote
+      if Puppet::SSL::Host.ca_location == :remote
         if options[:allow_dns_alt_names]
           raise ArgumentError, "--allow-dns-alt-names may not be specified with a remote CA"
         end

    

--
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