cloudinit/system
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
..
env_file_test.go *: add license header to all source files 2014-10-17 15:36:22 -07:00
env_file.go *: add license header to all source files 2014-10-17 15:36:22 -07:00
env.go flannel: added flannel support and helper to make dropins 2014-11-14 10:45:23 -08:00
etc_hosts_test.go *: add license header to all source files 2014-10-17 15:36:22 -07:00
etc_hosts.go system: embed config within EtcHosts and Update 2014-10-23 11:44:15 -07:00
etcd_test.go *: add license header to all source files 2014-10-17 15:36:22 -07:00
etcd.go flannel: added flannel support and helper to make dropins 2014-11-14 10:45:23 -08:00
file_test.go config: fix parsing of file permissions 2014-11-20 11:14:44 -08:00
file.go config: fix parsing of file permissions 2014-11-20 11:14:44 -08:00
flannel_test.go flannel: added flannel support and helper to make dropins 2014-11-14 10:45:23 -08:00
flannel.go flannel: added flannel support and helper to make dropins 2014-11-14 10:45:23 -08:00
fleet_test.go *: fix warnings from go vet 2014-10-23 11:46:08 -07:00
fleet.go flannel: added flannel support and helper to make dropins 2014-11-14 10:45:23 -08:00
networkd.go networkd: remove double-restart workaround 2014-11-03 14:11:15 -08:00
oem_test.go *: fix warnings from go vet 2014-10-23 11:46:08 -07:00
oem.go *: add license header to all source files 2014-10-17 15:36:22 -07:00
ssh_key.go *: add license header to all source files 2014-10-17 15:36:22 -07:00
systemd_test.go *: fix warnings from go vet 2014-10-23 11:46:08 -07:00
systemd.go *: switch to Godeps 2014-10-20 12:04:03 -07:00
unit.go script: move Script into config package 2014-11-07 10:13:52 -08:00
update_test.go config: seperate AssertValid and AssertStructValid 2014-11-07 10:14:34 -08:00
update.go config: seperate AssertValid and AssertStructValid 2014-11-07 10:14:34 -08:00
user.go *: add license header to all source files 2014-10-17 15:36:22 -07:00