Commit Graph

16 Commits (4a3622200a3e7f2b475660055d7584543eb20e13)

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
Jim Kleckner 61afdc4f5c Minor spelling fixes 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
Michel Blanc 8b5df82b74 Removes useless empty string write
It s not necessary to write an empty string for the file to be created.
12 years ago
Michel Blanc 05d45fc1fa Changed when new sysctl file is created
When destination sysctl file is missing, it is created.
But, for idempotency purposes, the creation process now takes place just before it is used, in the
main code path so an empty file is not left over if the code
module.fail_jsons before the file is really used.
12 years ago
Michel Blanc aea822c47a Removes exception is sysctl file is missing
When syscl file was missing, sysctl module was complaining about it and
bailing out.
This behaviour prevents usage of /etc/sysctl.d directory, present in
some distributions.
This patch accepts a missing sysctl.conf file so sysctl.d directory can
be used.
However, it will bail out if the destination directory doesn't exist.
12 years ago
lessmian a6096018dc sysctl module: fixed issue when checks_after fail on comparing keys with values separated by white strings 12 years ago
Michael DeHaan 65b826a8a8 'make pep8' is now clean 12 years ago
davixx ec99b4f7b5 Solving bug https://github.com/ansible/ansible/issues/2004
Now handle positive integer value in virtual files if they are separated
by group of space characters where the count is unpredictable.
Thanks to romeotheriault for filing this bug.
12 years ago
Daniel Hokka Zakrisson 637bc5c3d6 Fix Python 2.6-isms in sysctl module 12 years ago
Daniel Hokka Zakrisson 01f7b98c46 sysctl was added in 1.0
Fixes #1972.
12 years ago
Michael DeHaan d7ca7e0f4b New changelog additions from today's merging 12 years ago
Michael DeHaan cc53b8ae95 Tweak sysctl docs so they'll web-render 12 years ago
Daniel Hokka Zakrisson 6a0663e3dc Fix unparseable documentation strings
Fixes #1902.
12 years ago
davixx 7335ee6620 new module: sysctl to handle sysctl entry
sysctl now capable to search for sys entry into /sys if not under /proc/sys

module/sysctl rolling back to 0.5

write sysctl.conf safely, tempfile first, atomic replace after.
See comments in  https://github.com/ansible/ansible/pull/1810

Patch to replace .format with % () to handle python-2.4 ,
See also https://github.com/ansible/ansible/pull/1810

using name instead key for default arg name. key putted as alias.
also, val become an alias of value arg name.
See also : https://github.com/ansible/ansible/pull/1810
12 years ago