summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application
diff options
context:
space:
mode:
authorLuke Kanies <luke@reductivelabs.com>2010-01-07 13:08:50 -0800
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit67ef78d9f231661d0fdd6260d470cf0d06f1bac2 (patch)
tree0fd49958832f3da98476c36fb9d8e4160f95873e /lib/puppet/application
parentb82b4ef04282ca0006931562f60459a1591b6268 (diff)
downloadpuppet-67ef78d9f231661d0fdd6260d470cf0d06f1bac2.tar.gz
puppet-67ef78d9f231661d0fdd6260d470cf0d06f1bac2.tar.xz
puppet-67ef78d9f231661d0fdd6260d470cf0d06f1bac2.zip
Removing Interpreter class
It's no longer necessary, given the new ResourceTypeCollection class. Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'lib/puppet/application')
-rw-r--r--lib/puppet/application/main.rb2
-rw-r--r--lib/puppet/application/server.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/application/main.rb b/lib/puppet/application/main.rb
index 5eab81ae6..3813df612 100644
--- a/lib/puppet/application/main.rb
+++ b/lib/puppet/application/main.rb
@@ -72,7 +72,7 @@ Puppet::Application.new(:main) do
Puppet[:manifest] = ARGV.shift
end
begin
- Puppet::Parser::Interpreter.new.parser(Puppet[:environment])
+ Puppet::Parser::ResourceTypeCollection.new(Puppet[:environment]).perform_initial_import
rescue => detail
Puppet.err detail
exit 1
diff --git a/lib/puppet/application/server.rb b/lib/puppet/application/server.rb
index 57d29e0ee..e9253c6f9 100644
--- a/lib/puppet/application/server.rb
+++ b/lib/puppet/application/server.rb
@@ -69,7 +69,7 @@ Puppet::Application.new(:server) do
command(:parseonly) do
begin
- Puppet::Parser::Interpreter.new.parser(Puppet[:environment])
+ Puppet::Parser::ResourceTypeCollection.new(Puppet[:environment]).perform_initial_import
rescue => detail
Puppet.err detail
exit 1