lib/puppet-debugger/support/environment.rb in puppet-debugger-0.5.1 vs lib/puppet-debugger/support/environment.rb in puppet-debugger-0.6.0
- old
+ new
@@ -32,11 +32,11 @@
end
# returns the environment
def create_environment
Puppet::Node::Environment.create(Puppet[:environment],
- default_modules_paths,
- default_manifests_dir)
+ default_modules_paths,
+ default_manifests_dir)
end
def create_node_environment(manifest = nil)
env = Puppet.lookup(:current_environment)
manifest ? env.override_with(manifest: manifest) : env