Project

General

Profile

« Previous | Next » 

Revision 8d3012fe

Added by Dominic Cleal about 10 years ago

fixes #5522 - future parser can be set in puppet.conf [main]

View differences:

lib/proxy/puppet/environment.rb
def classes
Initializer.load
conf = ConfigReader.new(Initializer.config).get
eparser = conf[:master] && conf[:master][:parser] == 'future'
eparser = (conf[:main] && conf[:main][:parser] == 'future') || (conf[:master] && conf[:master][:parser] == 'future')
paths.map {|path| PuppetClass.scan_directory path, eparser}.flatten
end

Also available in: Unified diff