- 18 Aug, 2012 1 commit
-
-
Michael DeHaan committed
-
- 17 Aug, 2012 1 commit
-
-
Adds ability to check service status based on pattern. The pattern is a simple string. If a pattern is provided, the output of ps is checked first.
Stephen Fromm committed
-
- 11 Aug, 2012 1 commit
-
-
Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library directory.
Michael DeHaan committed
-
- 07 Aug, 2012 1 commit
-
-
whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added in 0.6 release)
Michael DeHaan committed
-
- 03 Aug, 2012 1 commit
-
-
Add encoding lines to python modules such that they can take unicode options if they are fed them, since the AnsibleModule stuff no longer base64 encodes for simplicity and speed reasons.
Michael DeHaan committed
-
- 02 Aug, 2012 1 commit
-
-
Ingo Gottwald committed
-
- 01 Aug, 2012 2 commits
-
-
If _do_enable() is run and returns rc == 0, set changed=True Add enabled and state to result if they are supplied when the module is run.
Stephen Fromm committed -
Allow use of service module with just enable parameter, per issue #755. Also fixed two other issues: - fixed parameter to be 'enabled' per docs, not 'enable'. - fixed if block that checks whether to run _do_enable() to check whether the parameter is set, not the value of the enable value which may be None or False. If enabled=no, the service would never be disabled.
Stephen Fromm committed
-
- 28 Jul, 2012 3 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Nikhil Singh committed
-
- 19 Jul, 2012 1 commit
-
-
The service module was printing stuff to stderr, returning two JSON dicts, not using consistent 'failed' values, had dead code and unused variables. Added detection for the case when service status returns 'xxx is dead and pid file exists' and made the code a bit easier to read.
John Kleint committed
-
- 10 Jul, 2012 1 commit
-
-
Jeremy Smitherman committed
-
- 17 Jun, 2012 1 commit
-
-
- Added Upstart support - Added an initial unknown state - Prevented state changes when the current state is not recognized - Changed the keyword recognition to a safer method
Ingo Gottwald committed
-
- 15 May, 2012 1 commit
-
-
cocoy committed
-
- 10 May, 2012 1 commit
-
-
Michael DeHaan committed
-
- 09 May, 2012 1 commit
-
-
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.
Stephen Fromm committed
-
- 04 May, 2012 1 commit
-
-
running and to report errors from starting them
Seth Vidal committed
-
- 03 May, 2012 2 commits
-
-
_find_binaries now sets the right globals Binaries are now properly populated (reverse path/binary for loops)
Michel Blanc committed -
Checks if update-rc.d (Ubuntu) or chkconfig (RHEL) should be used. Adds basic bin path search for those binaries Adds 'enable' and 'disable' options for 'enable' command since it's the arguments that update-rc.d uses (this might be somewhat confusing to have a command line with 'enable=enable', but probably mkes sense for Ubuntu users). Allows use of mixed case for 'list' and 'state' commands.
Michel Blanc committed
-
- 01 May, 2012 1 commit
-
-
Seth Vidal committed
-
- 27 Apr, 2012 2 commits
-
-
make it useful from /usr/bin/ansible and the API. Also some minor style fixes.
Michael DeHaan committed -
When running the service module via sudo, `$PATH` didn't contain `/sbin`, so the service binary couldn't be found. This just runs `/sbin/service` directly. Output is spewed to stderr on error. Added `list=status` to include the output of `service <cmd> status`.
John Kleint committed
-
- 26 Apr, 2012 1 commit
-
-
jkleint committed
-
- 31 Mar, 2012 1 commit
-
-
Michael DeHaan committed
-
- 29 Mar, 2012 1 commit
-
-
Michael DeHaan committed
-
- 28 Mar, 2012 1 commit
-
-
Christopher Johnston committed
-
- 15 Mar, 2012 1 commit
-
-
Michael DeHaan committed
-
- 14 Mar, 2012 1 commit
-
-
Seth Vidal committed
-
- 29 Feb, 2012 1 commit
-
-
Michael DeHaan committed
-
- 27 Feb, 2012 1 commit
-
-
all modules take a common parameter name. But more or less we still work idempotently in modules.
Michael DeHaan committed
-
- 26 Feb, 2012 2 commits
-
-
Michael DeHaan committed
-
module vs command module for restarting. May be some bugs and requires the service to implement 'status' -- and probably some better error handling (i.e. return JSON with "failed" element if failed). Improvements welcome.
Michael DeHaan committed
-