]> git.donarmstrong.com Git - dsa-puppet.git/commit
I think it's better to raise an exception and die rather than silently
authorStephen Gran <steve@lobefin.net>
Sun, 8 Nov 2009 14:51:34 +0000 (14:51 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 8 Nov 2009 14:51:34 +0000 (14:51 +0000)
commit3e2580bdd52ff77eda680edb3578f6eaf2fe41d5
tree996571ef92e24338ac01008928b74c7f390dfd21
parent1bf3c7a1ac204bf8eda75b5aef8392a523dbaebf
I think it's better to raise an exception and die rather than silently
continue on with no data.  We'll do that by raising a puppet parse error
exception, which will make the client log the problem.
Signed-off-by: Stephen Gran <steve@lobefin.net>
files/etc/puppet/lib/puppet/parser/functions/allnodeinfo.rb
files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb