[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Daniel Pittman daniel at puppetlabs.com
Tue May 10 08:19:30 UTC 2011


The following commit has been merged in the experimental branch:
commit efd118114bab228b5f8f4a437ead8be2cc895d8a
Author: Daniel Pittman <daniel at puppetlabs.com>
Date:   Wed May 4 10:38:36 2011 -0700

    (#7353) Use :console rendering format in our own code.
    
    Now that we have unified things, stop using the compatibility name in favour
    of the new :console name for the output format.  No functional effect beyond
    avoiding a deprecated output mode.
    
    Reviewed-By: Jacob Helwig <jacob at puppetlabs.com>

diff --git a/lib/puppet/face/catalog/select.rb b/lib/puppet/face/catalog/select.rb
index a8ecd82..a68a8e0 100644
--- a/lib/puppet/face/catalog/select.rb
+++ b/lib/puppet/face/catalog/select.rb
@@ -15,7 +15,7 @@ Puppet::Face.define(:catalog, '0.0.1') do
       end
     end
 
-    when_rendering :for_humans do |value|
+    when_rendering :console do |value|
       if value.nil? then
         "no matching resources found"
       else
diff --git a/lib/puppet/face/plugin.rb b/lib/puppet/face/plugin.rb
index 4b45ed3..8a25594 100644
--- a/lib/puppet/face/plugin.rb
+++ b/lib/puppet/face/plugin.rb
@@ -20,7 +20,7 @@ Puppet::Face.define(:plugin, '0.0.1') do
                                          Puppet[:pluginsignore]).evaluate
     end
 
-    when_rendering :for_humans do |value|
+    when_rendering :console do |value|
       if value.empty? then
         "No plugins downloaded."
       else

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list