1 Dec 2010 09:13
[PATCH/puppet 1/1] Reverted a portion of #4149 because it broke --parseonly totally.
James Turnbull <james <at> lovedthanlost.net>
2010-12-01 08:13:18 GMT
2010-12-01 08:13:18 GMT
See #5081 for further information.
This probably isn't the right fix but the current fix has broken
numerous people's parseonly hooks etc.
Signed-off-by: James Turnbull <james <at> lovedthanlost.net>
---
lib/puppet/application/apply.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/puppet/application/apply.rb b/lib/puppet/application/apply.rb
index 59a95d3..7494b27 100644
--- a/lib/puppet/application/apply.rb
+++ b/lib/puppet/application/apply.rb
<at> <at> -65,7 +65,7 <at> <at> class Puppet::Application::Apply < Puppet::Application
Puppet[:manifest] = command_line.args.shift
end
begin
- Puppet::Node::Environment.new(Puppet[:environment]).known_resource_types
+ Puppet::Resource::TypeCollection.new(Puppet[:environment]).perform_initial_import
rescue => detail
Puppet.err detail
exit 1
--
1.7.2.3
--
--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to puppet-dev <at> googlegroups.com.
To unsubscribe from this group, send email to puppet-dev+unsubscribe <at> googlegroups.com.
(Continue reading)
RSS Feed