cloudinit/config
Alex Crawford 5c80ccacc4 config: fix parsing of file permissions
The file permissions can be specified (unfortunately) as a string or an
octal integer. During the normalization step, every field is
unmarshalled into an interface{}. String types are kept in tact but
integers are converted to decimal integers. If the raw config
represented the permissions as an octal, it would be converted to
decimal _before_ it was saved to RawFilePermissions. Permissions() would
then try to convert it again, assuming it was an octal. The new behavior
doesn't assume the radix of the number, allowing decimal and octal
input.
2014-11-20 11:14:44 -08:00
..
validate config/validate: disable - vs _ message for now 2014-11-18 12:11:50 -08:00
config_test.go config: fix parsing of file permissions 2014-11-20 11:14:44 -08:00
config.go flannel: added flannel support and helper to make dropins 2014-11-14 10:45:23 -08:00
etc_hosts.go *: add license header to all source files 2014-10-17 15:36:22 -07:00
etcd.go config: deprecate - in favor of _ for key names 2014-11-03 12:09:52 -08:00
file.go *: add license header to all source files 2014-10-17 15:36:22 -07:00
flannel.go flannel: added flannel support and helper to make dropins 2014-11-14 10:45:23 -08:00
fleet.go config: deprecate - in favor of _ for key names 2014-11-03 12:09:52 -08:00
oem.go config: deprecate - in favor of _ for key names 2014-11-03 12:09:52 -08:00
script.go config/validate: add new config validator 2014-11-12 16:48:57 -08:00
unit.go config/validate: add new config validator 2014-11-12 16:48:57 -08:00
update.go config: deprecate - in favor of _ for key names 2014-11-03 12:09:52 -08:00
user.go config: deprecate - in favor of _ for key names 2014-11-03 12:09:52 -08:00