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