Commit Graph

17 Commits (65b826a8a8c7f204b3d449398616849a19ae4db1)

Author SHA1 Message Date
ftao a08bda181d always restart the program when state=restarted 12 years ago
diefans bcd1d7ccfc proper bin path now called 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
Alexandre Bourget c1f467812a supervisorctl: document the 'present' option 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 35f6d71057 Added DOCUMENTATION to supervisorctl module. 12 years ago
Matt Wright d145e043c7 Use `get_bin_path` properly 12 years ago
Matt Wright 6a67572e83 Fix supervisorctl module after merge issue 12 years ago
Michael DeHaan 47ead9349b Merge branch 'binpath' of https://github.com/sfromm/ansible into devel
Conflicts:
	library/supervisorctl
12 years ago
Stephen Fromm 1222cf8de9 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 d36d926bba Update handling of state changes 12 years ago
Stephen Fromm a284228e10 Migrate apt_repository, group, and supervisorctl to use module.get_bin_path 12 years ago
Matt Wright b4a091b419 fix bug in supervisorctl module 12 years ago
Matt Wright bff8bfe40d Add supervisorctl module 12 years ago