Commit Graph

16 Commits (3e8ee7cbf019ee2d9781980f8f6d741c743581fa)

Author SHA1 Message Date
Stephen Fromm 566f115a4f Fix for issue 604
Do not switch to master branch in pull()
Add --track to git checkout, when checking out a remote branch to track.
12 years ago
Michael DeHaan fc6ee63fba Merge pull request #637 from goozbach/git-mkdir
git mkdir causes problems with older git (can't c/o to existing directory)
12 years ago
Derek Carter 69ef933a1e git mkdir causes problems with older git (can't checkout to existing directory) 12 years ago
Peter Sankauskas cb6acfc1dc Pass through error message when repo not found 12 years ago
Michael DeHaan 2c3b20fc09 Default git module to master branch so branch= is not required. 13 years ago
Michael DeHaan 5f40c49008 update comment about branch support, now that supported 13 years ago
Michael DeHaan 6ec0bc8bfd Merge pull request #336 from sfromm/issue122
Issue122 - have all modules log to syslog
13 years ago
Stephen Fromm 67ee30f135 Apply logging of arguments to modules (issue #122)
The ohai and facter modules use /usr/bin/logger to log the fact that
they have been invoked.  I added 'import os' to the ping module
so that it could have the same syslog statements as the other modules.
I separated the condensed:
    shlex.split(open(argfile, 'r').read())
into two separate statements similar to the other modules.
13 years ago
felix c2135b722d removed unecessary branch addition from switchver 13 years ago
felix 0c2da0e080 added in support for branches in git module (now takes optional "branch") 13 years ago
Stephen Fromm 740ca70d1e Add git reset --hard support to git module
Resets working tree to what is in HEAD and discards any
uncommitted changes.
13 years ago
Stephen Fromm 720ef7404e Add exit_json and fail_json to git module
This adds exit_json() and fail_json() to git module.  It also sets
version to 'HEAD', if not provided.
13 years ago
Seth Vidal 903178cdd4 convert so they handle argsfiles rather than arguments 13 years ago
Michael DeHaan 1bd1552b43 Relicensing to GPLv3, all previous committers ok'd on mailing list. 13 years ago
Michael DeHaan 8f9320aa05 Rename 'ensure' to 'state' because I think it's a bit cleaner and doesn't imply
all modules take a common parameter name.  But more or less we still work idempotently
in modules.
13 years ago
Michael DeHaan 2c5c2f2c58 A really basic git module. Improvements welcome. 13 years ago