Commit Graph

27 Commits (a2ca0441aede92f85840d074fac93cc1752c10a4)

Author SHA1 Message Date
Andrew Resch cd12d8a917 Fix _parse_value always returning 0 when not true, false or None. 11 years ago
James Cammarata eb15d2f6fe Fix issue with sysctl parameter parsing introduced by 0e8c7b1
Fixes #6806
11 years ago
Michael DeHaan 0e8c7b1c03 Scrub choices=BOOLEANS from remaining core module references. Correct form in argument_spec is type='dict'. 11 years ago
James Tanner cf0a0ca3d2 Fixes #6519 Properly handle state=absent in sysctl module 11 years ago
James Tanner 9d6518de5a Fixes #6482 Check sysctl file path and catch read exceptions 11 years ago
Tom Dymond 486d14cb2d Reworked PR to avoid repeating the command 11 years ago
Tom Dymond cf80f9b68b Add option to enable the sysctl -e option 11 years ago
Jakub Jirutka 8c9a63bcd0 sysctl: parse bool value as 0/1 and refactor a little bit 11 years ago
jctanner 7b76ad9e62 Merge pull request #5676 from simonz05/bugfix-sysctl-multivalue2
Correctly compare values returned by 'sysctl -e -n'
11 years ago
Simon Zimmermann 3db808c840 correctly compare the values, better func name 11 years ago
Simon Zimmermann 055b404f13 Correctly compare values as returned from 'sysctl -e -n' 11 years ago
Simon Zimmermann 7495095496 fix str format error due to missing '%' in sysctl module 11 years ago
James Tanner 3bd99903a4 Fixes #5661 Handle null values for sysctl parameters 11 years ago
James Tanner 19cb22b6df Fixes #5656 quote values with multiple columns before calling
the sysctl command. Calling sysctl should also not be true by default
11 years ago
James Tanner c627358c37 sysctl module: append newline character to lines in the file 11 years ago
James Tanner 17c50cc81e sysctl module: fail if reloading the file did not succeed 11 years ago
James Tanner ca05584495 Fixes #5469 Refactor sysctl module into object oriented code,
and add a sysctl_set parameter to manage the values in /proc
11 years ago
Paul Beattie e96377685e Fixed typo in example documentation 11 years ago
James Tanner ad837709bd Addresses #5023 Fix import comments 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Keith Buck 36a8312de6 Improve the formatting and content for the sysctl module's description. 11 years ago
James Cammarata 5110b2d440 Slight refactorization of the sysctl module
* Added in support for freebsd-style sysctl commands
* Replaced some functionality that was provided by module_common
* Simplified some logic in a couple of places (ie, not checking
  a split with len() but instead limiting the split to 1)

Fixes #3380
11 years ago
James Cammarata 3e9b63febd Compare exploded values in the sysctl module to avoid whitespace errors
Fixes #3931
11 years ago
Andy Wilson bc30203abe docfix: grammar in docstring for sysctl module 11 years ago
Jan-Piet Mens 5c69918d53 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
12 years ago
Michael DeHaan c3ff4ccb35 These options to bypass the check code seem to need to occur before said checks. 12 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago