[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. 2.6.3-345-g919f443

Markus Roberts Markus at reality.com
Wed Nov 17 18:21:04 UTC 2010


The following commit has been merged in the master branch:
commit fbb096a1eb6394da3199c03645986a1315132272
Author: Markus Roberts <Markus at reality.com>
Date:   Wed Oct 20 11:33:20 2010 -0700

    Fix for #5055 -- adding to_sym to Puppet::Node::Environment
    
    The currious part is that this wasn't noticed before since it appears to block
    server-first migration to 2.6.x and doesn’t appear to be the consequence of a
    recent (2.6.3) change (unless, as is quite possible, I’m missing something).

diff --git a/lib/puppet/node/environment.rb b/lib/puppet/node/environment.rb
index 3f67474..b64fb8a 100644
--- a/lib/puppet/node/environment.rb
+++ b/lib/puppet/node/environment.rb
@@ -124,6 +124,10 @@ class Puppet::Node::Environment
     name.to_s
   end
 
+  def to_sym
+    to_s.to_sym
+  end
+
   # The only thing we care about when serializing an environment is its 
   # identity; everything else is ephemeral and should not be stored or
   # transmitted.

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list