diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-11-13 08:54:35 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-11-13 08:54:35 -0500 |
commit | c26b0674aa2ef31c7c3f7a0392044382cf6a452f (patch) | |
tree | b049de27577d6fe2400ef52649e6066c700f8c1c /cloudinit/config/cc_power_state_change.py | |
parent | 8d5e1e108b0cdd3af872383da7654bec91355b5f (diff) | |
parent | cd8fbfffdf7ba9ba79d39ee7b4a223d1bd7863b4 (diff) | |
download | vyos-cloud-init-c26b0674aa2ef31c7c3f7a0392044382cf6a452f.tar.gz vyos-cloud-init-c26b0674aa2ef31c7c3f7a0392044382cf6a452f.zip |
Use a set of helper/parsing classes to perform system configuration
Previously file modification of system configuration was done
in a functional and hard to test manner. Now instead this patch
allows for a manner that provides a nice object oriented
interface to those objects as well as makes it possible to test
those parsing entities without having to invoke distro class code.
- Created parsers for:
- /etc/sysconfig
- /etc/hostname
- resolv.conf
- /etc/hosts
Moved duplicated functionality into the root level distro class including:
- apply_hostname
- set_hostname
- *various shared configuration file names/paths*
Diffstat (limited to 'cloudinit/config/cc_power_state_change.py')
0 files changed, 0 insertions, 0 deletions