Commit Graph

17 Commits (c6e8b3a8e698f039f224f006bd2ad1670758a91e)

Author SHA1 Message Date
Stephen Fromm 3f88a14b86 Various cleanup to run_command
* Rename fail_on_rc_non_zero to check_rc, much more succinct.
* Simplify method defintion
* Fix command module and drop shell=shell option; whether to use
  shell is determined by if args is a list.
12 years ago
Stephen Fromm e4964f42e0 Update modules to use run_command in module_common.py
This updates apt, apt_repository, command, cron, easy_install, facter,
fireball, git, group, mount, ohai, pip, service, setup, subversion,
supervisorctl, svr4pkg, user, and yum to take advantage of run_command
in module_common.py.
12 years ago
Norman J. Harman Jr 4afce8a311 Passing in module instead of just fail_json per upstream request. 12 years ago
Norman J. Harman Jr f2fe4d71d3 Subverion module improvements
- Added username, password arguments.
  - Documented existing revision argument.
  - Corrected documentation/docstrings; removed git references, use svn
    nomenclature, etc.
  - Refactored duplicate code, redundant shell calls, filter abuse,
    inconsistent formating, etc.
  - Shell quoting so it doesn't break for one guy who has spaces in
    pathnames.
  - svn called with '--non-interactive' and '--no-auth-cache'.
12 years ago
Igor Galić ca079935f2 : doesn't work in this documentation. 12 years ago
Igor Galić 8b7eada114 Fix subversion module's documentation
Let our users determine what they want to do with a given module.
Particularily when the mdoule doesn't pose any such restrictions.
12 years ago
Jan-Piet Mens d184f72aa9 DOCUMENTATION strings 12 years ago
Michael DeHaan 6f6559670f chmod -x for all module files in source checkout 12 years ago
Jan-Piet Mens d069c57974 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Marco Vito Moscaritolo 601dbe2074 Added DOCUMENTATION to subversion module. 12 years ago
willthames 42ed10820b Subversion dest should allow ~ expansion
Used os.path.expanduser on dest to allow e.g. ~/svn/repo as
a destination
12 years ago
Michael DeHaan 2c2113430f chmod +x 12 years ago
Dane Summers 7cb6fa0286 added force option to git - made both subversion and git default to force=true for backward compatibility with git's previous behavior 12 years ago
Dane Summers 96a6566560 tested library - fixed several test cases, added 'force' option, and removed grep requirement 12 years ago
Dane Summers 648f740b95 removed logger, removed superfluous mkdir 12 years ago
Dane Summers fc9fd48843 added TODO for test scenarios to add 12 years ago
Dane Summers d5482f1320 support for subversion repositories 12 years ago