[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Luke Kanies
luke at puppetlabs.com
Tue May 10 08:04:40 UTC 2011
The following commit has been merged in the experimental branch:
commit 7e3a02339a660a76019bf20243a7068325f1af68
Author: Luke Kanies <luke at puppetlabs.com>
Date: Wed Feb 16 01:16:15 2011 -0800
Only printing output if there is any
Signed-off-by: Luke Kanies <luke at puppetlabs.com>
diff --git a/lib/puppet/application/data_baseclass.rb b/lib/puppet/application/data_baseclass.rb
index b7393f9..15ea961 100644
--- a/lib/puppet/application/data_baseclass.rb
+++ b/lib/puppet/application/data_baseclass.rb
@@ -48,7 +48,7 @@ class Puppet::Application::DataBaseclass < Puppet::Application
# Call the method associated with the provided action (e.g., 'find').
result = interface.send(verb, name, *arguments)
render_method = Puppet::Network::FormatHandler.format(format).render_method
- puts result.send(render_method)
+ puts result.send(render_method) if result
end
def setup
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list