Commit Graph

10 Commits (0eaa936ba0f03e933ed080f09e1fac4363f8a0ae)

Author SHA1 Message Date
Michel Blanc 0eaa936ba0 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 8abca62b92 sysctl module: fixed issue when checks_after fail on comparing keys with values separated by white strings 12 years ago
Michael DeHaan 8097fd18a2 'make pep8' is now clean 12 years ago
davixx 8bf0c8dc5c 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 584fd7a261 Fix Python 2.6-isms in sysctl module 12 years ago
Daniel Hokka Zakrisson c1e0f0b4db sysctl was added in 1.0
Fixes #1972.
12 years ago
Michael DeHaan b749af0b10 New changelog additions from today's merging 12 years ago
Michael DeHaan 25f52d79d1 Tweak sysctl docs so they'll web-render 12 years ago
Daniel Hokka Zakrisson 9f6f15f770 Fix unparseable documentation strings
Fixes #1902.
12 years ago
davixx 8efa62b0ea 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