Commit Graph

11 Commits (154afa7dc1a4340bf1feb4e406d3ef55d0b71ba1)

Author SHA1 Message Date
Rene Moser 87599fd2ee osx_defaults: doc fix, add version_added for host agrument
See #1364
9 years ago
René Moser 4543d5838f Merge pull request #1364 from wincent/os-x-defaults-host
osx_defaults: add "host" attribute
9 years ago
yta 2e9797ca8c osx_defaults: Do not make any changes in check mode 9 years ago
Tom X. Tobin 4c4a58e77b osx_defaults: Fix boolean value parsing
Values for boolean types were being unconditionally treated as strings
(by calling `.lower()`), thus breaking value parsing for actual boolean
and integer objects.

It looks like the bug was introduced in:

- 130bd670d8

Fixes #709.
9 years ago
Michael Scherer 2f3dc1352f Replace choices=BOOLEANS by type='bool', fix #1326 9 years ago
Greg Hurrell cc7c929725 osx_defaults: add "host" attribute
This allows us to configure defaults using the `-currentHost` or `-host`
arguments to the `defaults` executable.
9 years ago
Brian Coca 8753b2cd20 minor docfixes 10 years ago
Dag Wieers 685653b23b Another incompatibility with python 2.4 10 years ago
Dag Wieers f967aa376d Fix TravisCI failure on python 2.4 10 years ago
Franck Nijhof 130bd670d8 Small fix for boolean when boolean type was set via a variable (somehow changes the behaviour of Ansible because of YAML as it seems. Booleans then become represented as a string). 10 years ago
Franck Nijhof 2c43cdb123 Renamed module from mac_defaults to osx_defaults so the naming is more up to par with existing modules (e.g. osx_say) 10 years ago