summaryrefslogtreecommitdiff
path: root/cloudinit/config
AgeCommit message (Collapse)Author
2012-06-29[merge from trunk] cc_salt_minion: install package salt-minion rather than saltScott Moser
2012-06-23Fix a bunch of == None casesharlowja
2012-06-22Use os.path.join instead of custom string path formationJoshua Harlow
2012-06-221. Move the getkeybyid function back here but add some slight adjustmentsJoshua Harlow
a. Instead of executing a bash string, write out a temporary file and then just execute '/bin/sh' on that file with the right arguments instead. 2. Rename util.SilentTemporaryFile to util.ExtendedTemporaryFile and update the usages of the previous name accordingly, this better reflects what this temp file is. 3. More teenie pep8 line length fixings
2012-06-221. Adjust the logging of phone home module when its not enabledharlowja
2. Fix pylint warning in userdata about unused variable
2012-06-22Turn off capturingJoshua Harlow
2012-06-22Turn off capturingJoshua Harlow
2012-06-22Turn off capturingJoshua Harlow
2012-06-22Turn off capturingJoshua Harlow
2012-06-22Use a module level constant for the filenameJoshua Harlow
2012-06-22Fix ma englishJoshua Harlow
2012-06-22Disable capturing of these subp callsJoshua Harlow
2012-06-22Add in debian, which should also workJoshua Harlow
2012-06-22Configobj should be a requirement now, and not optional,harlowja
so there is no need to check the import for errors.
2012-06-221. Use configobj instead of configparserharlowja
a. This allows us to not have to add a fake section in b. It will also preserver the files initial comments 2. Adjust how the new sections are being added and values are being written due to this change
2012-06-21Use RuntimeError subclass instead of top level ExceptionJoshua Harlow
2012-06-21Updated so that the locale that is being written out currently in 'cc_locale'Joshua Harlow
now will be done by the distro classes (since its not the same for rhel and ubuntu). Remove the template also since it will just be created by the ubuntu distro class (its just one line).
2012-06-21Testing is easier if we just pass the paths object, instead of the full ↵Joshua Harlow
cloud object here.
2012-06-21Simplify sshd config loading to make it use one set of functions/objects/classesJoshua Harlow
2012-06-211. Renames for debug message from 'transform' to 'module'harlowja
2. Fixing up more cloud.path.joins found to use the right ro/rw filename
2012-06-21Move to a write location and when writing, also write to the write location, ↵harlowja
instead of the read-only one
2012-06-201. Add an importer function that will search for a given module in a set of ↵Joshua Harlow
search module 'prefixes' that also has a potential set of required attributes. 2. Use this new importer to find the distro class, the userdata handler modules, the config modules and the datasource modules, if none can be found error out accordingly.
2012-06-20Massive pylint + pep8 fixups!Joshua Harlow
2012-06-20Renamed back to 'cc_*' with the reasoning being that 'cc_' providesJoshua Harlow
some protection against module name collisions when importing.
2012-06-20The 'cfg' module has been removed and moved to 'helpers' to avoid confusion. ↵Joshua Harlow
These modules used the 'cfg' modules so adjusted them.