Commit Graph

18 Commits (4135cffc3f8d81d17201f7f762a2a9bd4f312fd9)

Author SHA1 Message Date
Stephen Fromm 8f0d8a8546 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
ftao 9174c52b1d always restart the program when state=restarted 12 years ago
diefans 65d0eb9621 proper bin path now called 12 years ago
Stephen Fromm 4eaee3df0a 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 3fb21a5281 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
Alexandre Bourget 0b9cbcb270 supervisorctl: document the 'present' option 12 years ago
Jan-Piet Mens caf003c813 DOCUMENTATION strings 12 years ago
Michael DeHaan 663a8fef3f chmod -x for all module files in source checkout 12 years ago
Jan-Piet Mens feab57e270 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Marco Vito Moscaritolo 95d7b4c5db Added DOCUMENTATION to supervisorctl module. 12 years ago
Matt Wright d52f1d969b Use `get_bin_path` properly 12 years ago
Matt Wright a092eadbbb Fix supervisorctl module after merge issue 12 years ago
Michael DeHaan b0ac7e07b0 Merge branch 'binpath' of https://github.com/sfromm/ansible into devel
Conflicts:
	library/supervisorctl
12 years ago
Stephen Fromm 6742e9c3f4 Add option required=(True|False) to get_bin_path and update modules
Added required as optional argument to get_bin_path(). It defaults to
false.  Updated following modules to use required=True when calling
get_bin_path():  apt_repository, easy_install, group, pip,
supervisorctl, and user.
Also removed _find_supervisorctl() from supervisorctl module and updated
_is_running() to not need it.
12 years ago
Matt Wright b93df1fc60 Update handling of state changes 12 years ago
Stephen Fromm bdb39058ae Migrate apt_repository, group, and supervisorctl to use module.get_bin_path 12 years ago
Matt Wright a82928e7dc fix bug in supervisorctl module 12 years ago
Matt Wright 34e0faaf4b Add supervisorctl module 12 years ago