No description
Find a file
Rune Kaagaard 50280f4fc4 Service mod.: Proper(?) handling of return code 69
This adds "69" to the return codes from the status command that should be
considered as not running. At least "django-celery" uses this return code,
maybe others::

    /venv/bin/python /code/project/manage.py celeryctl status
    echo $? # 69 when not running.

A bit of googling let me to http://tldp.org/LDP/abs/html/exitcodes.html and
on a Ubuntu Server 12.10 I get::

    ~# cat /usr/include/sysexits.h | grep 69
    #define EX_UNAVAILABLE	69	/* service unavailable */

I'm not sure if the content of sysexits.h is the same on other OS'es.
2013-01-17 10:13:05 +01:00
add_host
apt Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
apt_repository Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
assemble
async_status
async_wrapper
authorized_key Add check for multiple keys in one invocation 2013-01-13 15:16:13 +01:00
command Various cleanup to run_command 2013-01-13 11:24:21 -08:00
copy
cron Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
debug
easy_install Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
ec2 Fix indentation 2013-01-10 16:21:18 +01:00
facter Various cleanup to run_command 2013-01-13 11:24:21 -08:00
fail
fetch
file Fix behaviour when file handles a path with tilde 2013-01-07 16:30:29 +10:00
fireball Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
get_url
git Various cleanup to run_command 2013-01-13 11:24:21 -08:00
group Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
group_by
ini_file
lineinfile
mail
mount Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
mysql_db Python 2.4 fixes for modules 2013-01-10 19:24:23 +01:00
mysql_user
nagios
ohai Various cleanup to run_command 2013-01-13 11:24:21 -08:00
pause
ping
pip Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
postgresql_db add encoding documentation in postgresql_db 2013-01-07 12:58:18 +01:00
postgresql_user remove quotes in has_table_privilege and has_database_privilege 2013-01-05 19:31:31 +01:00
raw Merge pull request #1798 from dagwieers/raw-executable 2013-01-08 08:35:08 -08:00
script Make script module use raw module so it does not require python 2012-12-24 00:24:34 +01:00
seboolean
selinux
service Service mod.: Proper(?) handling of return code 69 2013-01-17 10:13:05 +01:00
setup Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
shell
slurp
subversion Various cleanup to run_command 2013-01-13 11:24:21 -08:00
supervisorctl Various cleanup to run_command 2013-01-13 11:24:21 -08:00
svr4pkg Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
template Added additional template variables 2013-01-04 16:36:02 +10:00
user Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
virt
wait_for
yum Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00