# File lib/puppet/util/settings.rb, line 656 656: def uninterpolated_value(param, environment = nil) 657: param = param.to_sym 658: environment = environment.to_sym if environment 659: 660: # See if we can find it within our searchable list of values 661: val = catch :foundval do 662: each_source(environment) do |source| 663: # Look for the value. We have to test the hash for whether 664: # it exists, because the value might be false. 665: @sync.synchronize do 666: if @values[source].include?(param) 667: throw :foundval, @values[source][param] 668: end 669: end 670: end 671: throw :foundval, nil 672: end 673: 674: # If we didn't get a value, use the default 675: val = @config[param].default if val.nil? 676: 677: return val 678: end