Commit Graph

23 Commits (6887b4b983c813ebd1895a86514c2cfcab2c8274)

Author SHA1 Message Date
Dag Wieers d4bb57d42d Fix the documentation booleans so they use "yes" and "no"
Both modules seboolean and zfs have not been adapted since they defer from the default (either by having a 'null' or special state, or prefering "on"/"off" for state indication.
12 years ago
Stephen Fromm e00c665837 Update subversion module to work better with check mode
Adds needs_update() method which will inspect the checkout for the
current revision and then the HEAD.  If the local check out is behind
HEAD, this will report changed=True and supply the revision numbers.
12 years ago
Stephen Fromm 568f7892cd Update various modules for check_mode
This updates the following modules to support check_mode:
* apt_key
* apt_repository
* easy_install
* pip - will always report changed due to the way it handles state
* seboolean
* selinux
* slurp - since nothing changes, it just adds that it supports
  check_mode
* subversion - reports changed when checking out new repo and
  when updating.
* supervisorctl
* svr4pkg

See issue #2114.
12 years ago
Michael DeHaan fded969870 Prevent SVN checkouts from failing due self signed certs. 12 years ago
Daniel Hokka Zakrisson 1dadd70d9f Remove choices=BOOLEANS as it is no longer needed 12 years ago
Daniel Hokka Zakrisson 0150f18a3b Use argument type checking to convert to boolean 12 years ago
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