# File lib/puppet/util/settings/file_setting.rb, line 50
50:   def munge(value)
51:     # If it's not a fully qualified path...
52:     if value.is_a?(String) and value !~ /^\$/ and value != 'false'
53:       # Make it one
54:       value = File.expand_path(value)
55:     end
56:     if value.to_s =~ /\/$/
57:       @type = :directory
58:       return value.sub(/\/$/, '')
59:     end
60:     value
61:   end