Commit Graph

10 Commits (a13141413a3e963e09cd9c914059236a4ba28bb7)

Author SHA1 Message Date
Chulki Lee 432a9a31ca osx_defaults: fix datetime
Fix #1742
2016-12-08 11:34:02 -05:00
Rene Moser 427ab2f016 osx_defaults: doc fix, add version_added for host agrument
See #1364
2016-12-08 11:33:57 -05:00
Greg Hurrell a58a91410d osx_defaults: add "host" attribute
This allows us to configure defaults using the `-currentHost` or `-host`
arguments to the `defaults` executable.
2016-12-08 11:33:57 -05:00
yta 0446231380 osx_defaults: Do not make any changes in check mode 2016-12-08 11:33:55 -05:00
Tom X. Tobin 1223143ebe 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:

- 130bd670d82cc55fa321021e819838e07ff10c08

Fixes #709.
2016-12-08 11:33:45 -05:00
Michael Scherer df195b3076 Replace choices=BOOLEANS by type='bool', fix #1326 2016-12-08 11:33:40 -05:00
Dag Wieers 6dc8696e02 Another incompatibility with python 2.4 2016-12-08 11:32:51 -05:00
Dag Wieers 35d4b3530b Fix TravisCI failure on python 2.4 2016-12-08 11:32:51 -05:00
Franck Nijhof 5f84fc985d 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). 2016-12-08 11:32:51 -05:00
Franck Nijhof 631927c579 Renamed module from mac_defaults to osx_defaults so the naming is more up to par with existing modules (e.g. osx_say) 2016-12-08 11:32:51 -05:00