jhelwig/puppet — comment on commit 80304281b2b9510f495c4496ecb0fec631ead8a0
File: lib/puppet/util/settings/file_setting.rb line 105
By joshcooper:

Could lines 104-105 be replaced by:

mode = mode.to_s(8) if mode.is_a?(Fixnum)

Or are you wanting to do validation to make sure the String can be 'octalized'?