class Puppet::Environments::EnvironmentNotFound
Public Class Methods
new(environment_name, original = nil)
click to toggle source
Calls superclass method
Puppet::Error::new
# File lib/puppet/environments.rb 7 def initialize(environment_name, original = nil) 8 environmentpath = Puppet[:environmentpath] 9 super("Could not find a directory environment named '#{environment_name}' anywhere in the path: #{environmentpath}. Does the directory exist?", original) 10 end