diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-04 10:38:36 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-04 12:28:41 -0700 |
| commit | efd118114bab228b5f8f4a437ead8be2cc895d8a (patch) | |
| tree | 44a4d04b38c483160aa396e478750a4790485afe | |
| parent | 5986e8a3747ebb0fe48169f88fecb481be76d16c (diff) | |
| download | puppet-efd118114bab228b5f8f4a437ead8be2cc895d8a.tar.gz puppet-efd118114bab228b5f8f4a437ead8be2cc895d8a.tar.xz puppet-efd118114bab228b5f8f4a437ead8be2cc895d8a.zip | |
(#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@puppetlabs.com>
| -rw-r--r-- | lib/puppet/face/catalog/select.rb | 2 | ||||
| -rw-r--r-- | 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 a8ecd82fa..a68a8e0f3 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 4b45ed3a1..8a2559405 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 |
