Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2012-06-16 | 1. Fix the welcome_msg name to welcome_message (oops) | Joshua Harlow | |
2. Adjust that name in the cloud.cfg 3. Add in the ability to specify a dictionary that is the transform instead of a list which makes the config look nicer when users have custom transforms with arguments and such. | |||
2012-06-16 | Update error messaging for when importing/registring a part-handler fails | Joshua Harlow | |
2012-06-16 | 1. Ensure a that when a bad version is found, that it gets set to 1. | Joshua Harlow | |
2. Increment part handler count even if it doesn't get registered (this shouldn't cause any problems) | |||
2012-06-16 | Rename user data obj, which is really a user data message object and add ↵ | Joshua Harlow | |
comments as to what the data items are used for | |||
2012-06-16 | Not config anymore, now a transform | Joshua Harlow | |
2012-06-16 | Match the transform named final_msg by adding a _msg to the transform name. | Joshua Harlow | |
2012-06-16 | Remove default since it will never be called that way and apply default ↵ | Joshua Harlow | |
since its not currently being called that way | |||
2012-06-16 | Allow url fetching to catch any other type of exceptions that occur | Joshua Harlow | |
2012-06-16 | Let read_file_or_url util function have good defaults | Joshua Harlow | |
2012-06-16 | Capture the exceptions and just re-throw the last one on errors | Joshua Harlow | |
2012-06-16 | Send in src line instead of stripped line. | Joshua Harlow | |
2012-06-16 | Update ssh_util to have a parser class and a line entry class. | Joshua Harlow | |
Also have a method that will parse the authorized key file. This allows: 1. Testing of parsing seperate from testing of entry construction. 1. Testing of authorized key file parsing, separate from updating. | |||
2012-06-16 | Comments as to why we are using a csv parser and do some of the logic checks ↵ | Joshua Harlow | |
that are done for option extraction | |||
2012-06-16 | Comments about checking if this is right, no longer needed | Joshua Harlow | |
2012-06-16 | Fix logic issue with reading previous file for previous instance id, when ↵ | Joshua Harlow | |
the current file should be looked at instead | |||
2012-06-16 | Should be loaded not loading | Joshua Harlow | |
2012-06-16 | Revert that last change for this file, it should be a string that is ↵ | Joshua Harlow | |
non-empty so checking against that is fine | |||
2012-06-16 | Check instance id against none, and not just empty/false/0/none since 0 or ↵ | Joshua Harlow | |
empty might be valid | |||
2012-06-16 | Add comment as to why the cloud object/wrapper is useful | Joshua Harlow | |
2012-06-16 | Add comment as to why this cfg class is useful | Joshua Harlow | |
2012-06-16 | Pass in the datasource as a option, instead of the lower level instance id. | Joshua Harlow | |
This allows for others to use datasource functions if they desire to instead of being restricted. +1 for future use ;) | |||
2012-06-16 | When a handler version is set but to an unknown non-int convertable value, ↵ | Joshua Harlow | |
treat it as 1 | |||
2012-06-16 | They are handlers not mods ;) | Joshua Harlow | |
2012-06-16 | If bringing up, return whatever the bring up result is, otherwise false. | Joshua Harlow | |
2012-06-16 | Add comment as to why we need to check for none/empty later when fetching an ↵ | Joshua Harlow | |
ipath. | |||
2012-06-16 | Have the top level distro class take paths instead of a runner. | Joshua Harlow | |
This allows the following: 1. Let the ubuntu subclass construct its own runner with those paths (since not every subclass may want it) Adjust the base class + subclass to reflect this, adjust stages as well to reflect the constructor changes. | |||
2012-06-16 | Remove the need to have transforms start with "cc_". | Joshua Harlow | |
1. Just let them have no prefix (ie blank) unless this isn't wanted later. | |||
2012-06-16 | Correct the mount options to use a comma separated list for the mount ↵ | Joshua Harlow | |
options (if any provided/selected) | |||
2012-06-16 | After the moving of items to handler/__init__ reflect those references here. | Joshua Harlow | |
2012-06-16 | Add a restricted set of characters which can be used in filenames when ↵ | Joshua Harlow | |
cleaning them. | |||
2012-06-16 | Allow the user data processor to be passed in. | Joshua Harlow | |
This could and should be useful for unit testing. | |||
2012-06-16 | Move the helper functions for handlers to the handler __init__ instead of ↵ | Joshua Harlow | |
being in here. This class will now just contain user data parsing, leaving the handler running to happen elsewhere. | |||
2012-06-16 | Make the top level __init__ similar to the other top level __inits__ where ↵ | Joshua Harlow | |
just util functions and base classes are defined there. | |||
2012-06-16 | Content handlers does not need the paths variable anymore so removed that. | Joshua Harlow | |
2012-06-16 | For the different base classes, ensure we are using the 'abc' module + ↵ | Joshua Harlow | |
appropriate annotations + metaclasses. | |||
2012-06-16 | Unused import removed | Joshua Harlow | |
2012-06-16 | 1. Add a constant for the "cc_" prefix, so that it can be easily changed if ↵ | Joshua Harlow | |
desired. | |||
2012-06-16 | 1. Change to fixup handler instead of fixup module | Joshua Harlow | |
2. Add logging of unknown content types + seperate payload logging detail message into a separate function. | |||
2012-06-16 | 1. Change to fixup transform/form transform name | Joshua Harlow | |
2. Check lowercase name against .py instead of unknown case. | |||
2012-06-16 | Rename to fixup transform/fixup handler/form transform name instead of form mod* | Joshua Harlow | |
2012-06-16 | Have the ensure file function be able to take in a file permission. | Joshua Harlow | |