Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-20 | Use comparisons instead of xrange, until python 3 when it should be more ↵ | harlowja | |
efficent | |||
2012-06-20 | Change this function name back after made it back to protected after making ↵ | harlowja | |
the run single transform mode work | |||
2012-06-20 | Show the lock object name and the lock value - useful for debugging | harlowja | |
2012-06-20 | Ensure any authorized key file found in authorized keys is path adjusted as well | harlowja | |
2012-06-20 | Always provide a path here, in this case the root path | harlowja | |
2012-06-20 | Uppercase constants, remove need to use cloud.paths.join since scripts_d ↵ | harlowja | |
should already be modified | |||
2012-06-19 | Pylint line length fixups. | Joshua Harlow | |
2012-06-19 | Allow the run single to pass in a set of args and a frequency | Joshua Harlow | |
that will replace the initial sections args and freqency if provided. If not provided then no replacement occurs. | |||
2012-06-19 | 1. Don't force the datasource to always fetch in construction (sometimes not ↵ | Joshua Harlow | |
wanted) 2. Add a run single transform function that can be used by the run single main entrypoint action 3. Add a find transform function to be used by the run single action to determine if a transform name is valid | |||
2012-06-19 | Fix comparison to none, instead of empty in ds_deps assignment check. | Joshua Harlow | |
2012-06-19 | More path joinings found + update in logging of when we translate a path | Joshua Harlow | |
2012-06-19 | Fix logging message spelling | Joshua Harlow | |
2012-06-19 | More cleanups around read/write roots | Joshua Harlow | |
2012-06-19 | More paths missed (durn), but now fixed. | Joshua Harlow | |
2012-06-19 | Make most of all the places use the paths join() function so that testing ↵ | Joshua Harlow | |
with non-real read/write paths is easier. | |||
2012-06-19 | Use the given module as the root module for the given mod to be used from. | Joshua Harlow | |
2012-06-19 | Initial add of read and write roots, this should cover a large set of cases ↵ | Joshua Harlow | |
that use the path object. 1. This basically allows configuration to specify 'read_root' which will be used for read operations, right now just templates and a 'write_root' via config that will be used for non read operations (ie 'var/lib/cloud' operations where most of the writing now happens) | |||
2012-06-19 | Add a return statement that will collect the failures and the amount of ↵ | Joshua Harlow | |
transforms ran. | |||
2012-06-19 | 1. Cleanup variable names to match more of the pythonic underscore pattern | Joshua Harlow | |
2. Seperate config loading from the actual final 'merging' process. a. A util function will now merge multiple config dictionaries after they have all been loaded instead of loading and merging at the same time, which can get confusing to follow. | |||
2012-06-19 | Fix pylint line length issues. | Joshua Harlow | |
2012-06-19 | Cleanup no datasource exception to use cleaner csv list. | Joshua Harlow | |
2012-06-19 | Cleanup pylint warning about line length. | Joshua Harlow | |
2012-06-19 | Fix pylint error about the rmlist variable name being mis-named. | Joshua Harlow | |
2012-06-19 | Cleanup some of the logging (its a little to verbose). | Joshua Harlow | |
2012-06-19 | Syntax + comment cleanups. | Joshua Harlow | |
2012-06-19 | Add the ability to check if the metadata service is up before actually using it. | Joshua Harlow | |
1. This is very useful for testing (until we have boto timeout in a more sane manner) | |||
2012-06-19 | 1. When running, return the function results as well as a boolean that ↵ | Joshua Harlow | |
stated if it ran. | |||
2012-06-18 | Removed this for now. | Joshua Harlow | |
2012-06-18 | 1. Allow the built-in config to be passed in when getting the base config | Joshua Harlow | |
2. Move the cloudinit util function that writes the command line url to a file to here. | |||
2012-06-18 | 1. Cleanup the rm cur instance link variable name to match more of what it is | Joshua Harlow | |
2. Allow on config reading the ability to pass in config files that over-ride the search for configs (useful for testing...) | |||
2012-06-18 | Show the timeout (useful to see this when debugging) | Joshua Harlow | |
2012-06-18 | 1. Fixed datasource construction (switched param order) | Joshua Harlow | |
2. Fixed up importing of modules to handle the failure case better a. Also realized that using the import class we don't have to reimport a module via getattr, so removed that. | |||
2012-06-18 | Fixed the constructor params | Joshua Harlow | |
2012-06-18 | 1. Revert the 'transform-' template back to 'config-' template for now. | Joshua Harlow | |
2. Make the init class have a public 'read_cfg' which can be used to force cfg loading to occur (instead of having to go through the cfg property) a. This is a more 'public' way of forcing config to load, without exposing the config itself. | |||
2012-06-18 | Fix include once always staying on, only turn it on until a include says to ↵ | Joshua Harlow | |
turn it back off, if one of those is encountered | |||
2012-06-18 | When logging is 'cycled' ensure that we call the logging reset routine first. | Joshua Harlow | |
2012-06-18 | 1. Simplify basic logging (which will not always be turned on in the new ↵ | Joshua Harlow | |
cloud init main entrypoint 2. Have the ability to reset the logging handlers a. This seems needed when we initially have basic logging turned on, then later we come in and change the logging. It seems required for some odd reason to go in and reset the handlers for the root/cloudinit loggers (needs some more investigation). | |||
2012-06-18 | Add created by or added by cloud-init lines when we modify or create files. | Joshua Harlow | |
2012-06-18 | Include link to netcf library in the comment. | Joshua Harlow | |
2012-06-18 | Adjust log message to say "open" instead of 'read' since this function can ↵ | Joshua Harlow | |
also post data... | |||
2012-06-18 | 1. Decreasing of logging in piping routing | Joshua Harlow | |
2. Fixup of merge dict after found out that it depends on the src return for non dict types 3. Only merge kernel config if there was any kernel config | |||
2012-06-17 | 1. Add a url response class that urlreading now returns (instead of a tuple). | harlowja | |
a. This allows for more properties to be added as needed in the future, instead of being very restrictive. 2. Fix up all uses of the url reading to now use this new response object. 3. Also fixup user data including, such that if no response actual occurs the url content is not further processed. | |||
2012-06-17 | Update the variable for comment positioning to be 'c_pos' (comment position) ↵ | harlowja | |
instead of 'hpos' (??) | |||
2012-06-17 | 1. Adjust the ubuntu network hostname writing to go through a standard write ↵ | harlowja | |
function 2. Add comment as to why we search for "#" when reading | |||
2012-06-17 | Added a new rhel distro that does the following. | harlowja | |
1. Translate (some of) the ubuntu network format to the rhel format (until we have python netcf active) and then write the different ifcfg files to /etc/sysconfig/network-scripts as needed to bring the network online 2. Apply the hostname to the write /etc/sysconfig/network file (appending to it or adjusting that file if it exists) 3. Write to the /etc/sysconfig/clock file to adjust the timezone (or adjust that file instead of appending) 4. Runs yum commands (to match the packaging commands in the apt-get flavor) 5. Update the hostname in /etc/sysconfig/network (or a previous file) for the update hostname transform | |||
2012-06-17 | 1. Remove rhel sysconfig for timezone, now have a rhel distro subclass | harlowja | |
2. Remove private apt_get function, since it can just be the package_command public one. | |||
2012-06-17 | Log handler + info that is about to be called | Joshua Harlow | |
2012-06-16 | Add todo to see if we should turn back off include once | Joshua Harlow | |
2012-06-16 | 1. Allow for checking against lower case include types. | Joshua Harlow | |
2. Perform lstrip on the payload, just incase people put spaces/whitespace before the type. | |||
2012-06-16 | Fix include on enabling, simplify statements around include skipping, allow ↵ | Joshua Harlow | |
for case insensitive include statements to be used |