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 <[email protected]>
---
 lib/puppet/face/catalog/select.rb |    2 +-
 lib/puppet/face/plugin.rb         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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

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