@api private
Create an anonymous environment.
@param module_path [String] A list of module directories separated by the
PATH_SEPARATOR
@param manifest [String] The path to the manifest @return A new environment with the `name` `:anonymous`
@api private
# File lib/puppet/environments.rb, line 21 def for(module_path, manifest) Puppet::Node::Environment.create(:anonymous, module_path.split(File::PATH_SEPARATOR), manifest) end