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 /lib/puppet/face/catalog | |
| 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>
Diffstat (limited to 'lib/puppet/face/catalog')
| -rw-r--r-- | lib/puppet/face/catalog/select.rb | 2 |
1 files changed, 1 insertions, 1 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 |
