summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-23Fix a bunch of == None casesharlowja
2012-06-231. Use a common config merging class now in helpersharlowja
that will be the central point of config fetching for both the 'init' stage and the 'module' stages a. This helps those who want to understand exactly what configs are fetched and how the merging occurs.
2012-06-23Remove the pep8 tool from being ran in a script that has aharlowja
name that seems to just say it will run pylint. Put the pep8 tool in a 'run-pep8' script.
2012-06-231. Separate the pep8 check from the pylint checkharlowja
a. This allows them to be run as different tools (if desired) 2. Adjust the makefile to have a 'make pep8' section which can run this new script
2012-06-22Don't complete the update if there is no datasource or if writing to cache failsJoshua Harlow
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-22Fix syntax err, grrrharlowja
2012-06-221. Add comment about conf.d overriding input configharlowja
2. For reading config from conf.d, collect all the configs then call the mergemany function
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-22Adjust test for turning 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-22Constant adding for content type, allow the part filename to be over-ridden ↵Joshua Harlow
easily
2012-06-22Disable capturing of these subp callsJoshua Harlow
2012-06-221. Add init.d/config and final scriptsJoshua Harlow
2. Adjust the comments of the cloud-init* scripts to match the long description of the config and final ones.
2012-06-22Add a local only versionJoshua Harlow
2012-06-22Restarting is just the same as starting, so don't return the exit code of ↵Joshua Harlow
the stop function
2012-06-22Use the full path + rename to CLOUDINITARGSJoshua Harlow
2012-06-22Add initial init.d script.Joshua Harlow
2012-06-221. Adjust for the cases of 'yes', 'no', 'true', 'false' byJoshua Harlow
leaving those unquoted 2. Add more comments as to why we are leaving single quoted strings alone.
2012-06-221. Fix the cfgobj to make sure it handles the quotingJoshua Harlow
of the keys and values in sysconfig specially by ensuring that it does the quoting so that the files written out can be sourced into bash scripts, which is typically what these files are used for.
2012-06-22Remove comment about old-configsJoshua Harlow
2012-06-22Add in debian, which should also workJoshua Harlow
2012-06-221. Add a ubuntu and fedora subclass of the RH/debian root classesJoshua Harlow
2. Move the ubuntu class to the debian class (since thats really what it is)
2012-06-22Remove support for older ec2 configobj merging.Joshua Harlow
2012-06-22Remove suppport for ec2-configJoshua Harlow
2012-06-22Use configobj support for now to keep the comments and other k/v pairs that ↵Joshua Harlow
may already exist in these files
2012-06-22ConfigObj is a requirement now, so no need to see if harlowja
the import worked or failed.
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-22Add comment that configobj is used for more than just old configs.harlowja
2012-06-221. Return which modules ran from the run module functionharlowja
2. Use that list in the main binary & adjust related comparisions
2012-06-21Ensure that nothing was ran by checking the total countharlowja
2012-06-21Fixup python selinux guards, only try to restore after we check if its ↵harlowja
useful to restore, fix test to work with selinux enabled sysystems
2012-06-21Use RuntimeError subclass instead of top level ExceptionJoshua Harlow
2012-06-211. Go through a single protected get ipath method that will throw if thereJoshua Harlow
is not an active datasource (ie the user has done an out of order call to a function that needs the datasource to exist) 2. Add in a '_get_instance_subdirs' method that can be over-ridden in the future if more subdirs are needed.
2012-06-211. Update comment about ipath returning None when no datasource is activeJoshua Harlow
2. Fix pylint warning on set method of config parser.
2012-06-21Comment cleanups and remove unneeded quotes.Joshua Harlow
2012-06-211. Update the comment about fstab to just point to 'man fstab'Joshua Harlow
2. Update the mount point adding of '/' to just add it in one place if it does not already exist
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-21Get this test working again.Joshua Harlow
2012-06-21Ensure that calling the urls happens in a specified order.Joshua Harlow
2012-06-21Get both of these tests back in working shape.Joshua Harlow
2012-06-21Testing is easier if we just pass the paths object, instead of the full ↵Joshua Harlow
cloud object here.
2012-06-211. Only register and increment the handler count after we have ensured it ↵Joshua Harlow
imports and call_begin passes. 2. Fixup the 'test__init__.py' file to now be working again.