- 31 Jul, 2012 3 commits
-
-
Could have used shutil.copy rather than shutil.copyfile, but this implementation preserves the md5 comparison to avoid unnecessary copies
u348095 committed -
Port the file module over to the new common code infrastructure + cleanup some redundant imports since the module code already imports those things.
Michael DeHaan committed -
Michael DeHaan committed
-
- 28 Jul, 2012 4 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Port the ohai module over, while this is actually *longer* now, not transferring the args file makes this much faster.
Michael DeHaan committed -
Michael DeHaan committed
-
- 30 Jul, 2012 5 commits
-
-
Changing the parameter names to be consistent, and adding root user default with empty password, as per mysql standard
Mark Theunissen committed -
the apt module to use it
Seth Vidal committed -
Seth Vidal committed
-
the 'chdir' argument changes the current working directory to the fullpath supplied as its value, before the execution of the command.
Petros Moisiadis committed -
Convert git module to module magic. Drop cruft no longer needed. Standardize indent to 4 spaces in methods switchLocalBranch, reset, clone, and get_version. Update is_local_branch to also handle '* branch' format. Add is_current branch method() Update pull() method to use is_current_branch()
Stephen Fromm committed
-
- 29 Jul, 2012 2 commits
-
-
passwd -> password loginpass -> login_password loginuser -> login_user loginhost -> login_host Add an example playbook that shows how to use the modules.
Lorin Hochstein committed -
The apt parameter changed from update-cache to update_cache, but the error message still mentioned update-cache
Lorin Hochstein committed
-
- 28 Jul, 2012 3 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Nikhil Singh committed
-
- 30 Jul, 2012 1 commit
-
-
Mark Theunissen committed
-
- 28 Jul, 2012 1 commit
-
-
Tweak alias consistency a bit. 'package' has never been documented, but since it works, make it work in both places. 'name' is the preferred form. Similarly, take 'name' for the 'guest' argument to the 'virt' module.
Michael DeHaan committed
-
- 27 Jul, 2012 1 commit
-
-
Lorin Hochstein committed
-
- 26 Jul, 2012 10 commits
-
-
These modules are based on the mysql_db and mysql_user modules. Currently, the postgresql_user module can only grant all permissions on a database, fine-grained access has not been implemented yet.
Lorin Hochstein committed -
Check file exists instead of relying on the exception. Leave the exception catch in, in case the file is deleted or some other issue crops up
Mark Theunissen committed -
Mark Theunissen committed
-
Mark Theunissen committed
-
Changing to read from a file pointer instead so that an exception is thrown if the file doesn't exist
Mark Theunissen committed -
1. Passing the module to the various functions so that they can use module.fail_json and module.exit_json methods inside. 2. Because of point 1, install and remove methods do not return anything. Instead, they use the module functions itself. 3. Move the import statement (for apt and apt_pkg) inside main function so on import error, we can use module.fail_json to print the error.
Nikhil Singh committed -
Nikhil Singh committed
-
Nikhil Singh committed
-
This drops the branch option. The version option is overloaded to mean either a sha1, branch, or tag. This also adds the option 'remote' which defaults to 'origin'. clone() was simplified by removing the checkout operation. That happens later when switch_version() is called. Added the methods get_branches(), is_remote_branch(), and is_local_branch(). get_branches() returns an array listing all of the branches for the git repository. is_remote_branch() checks whether the arguments supplied correspond to a remote branch. Similarly, is_local_branch() checks for a local branch. The pull() method now checks to see if it is on the desired branch. If not, it checks out the requested branch and then does a pull. This should keep issue #604 still fixed. switch_version(), formerly switchver(), looks to see if it is checking out a branch. If a branch, it checks it out with the --track option. This type of checkout was in pull() before. Updated pull, clone, and switch_version to return (rc, out, err).
Stephen Fromm committed -
Michael DeHaan committed
-
- 25 Jul, 2012 3 commits
-
-
Mark Theunissen committed
-
Stephen Fromm committed
-
Nikhil Singh committed
-
- 24 Jul, 2012 7 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Port command module over to new common code. Notice that this has to subclass AnsibleModule -- this should be the only one that has to do that.
Michael DeHaan committed -
Jan-Piet Mens committed
-
Nikhil Singh committed
-
Mark Theunissen committed
-
Nikhil Singh committed
-