Commit graph

12 commits

Author SHA1 Message Date
Chulki Lee
f3c168594a osx_defaults: fix datetime
Fix #1742
2016-04-01 20:45:33 -04:00
Rene Moser
87599fd2ee osx_defaults: doc fix, add version_added for host agrument
See #1364
2016-03-19 13:17:43 +01:00
René Moser
4543d5838f Merge pull request #1364 from wincent/os-x-defaults-host
osx_defaults: add "host" attribute
2016-03-19 13:14:30 +01:00
yta
2e9797ca8c osx_defaults: Do not make any changes in check mode 2016-02-04 01:32:47 +09:00
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.
2016-01-14 12:54:48 -05:00
Michael Scherer
2f3dc1352f Replace choices=BOOLEANS by type='bool', fix #1326 2015-12-21 23:39:20 +01:00
Greg Hurrell
cc7c929725 osx_defaults: add "host" attribute
This allows us to configure defaults using the `-currentHost` or `-host`
arguments to the `defaults` executable.
2015-12-12 09:23:04 -08:00
Brian Coca
8753b2cd20 minor docfixes 2015-06-17 09:39:57 -04:00
Dag Wieers
685653b23b Another incompatibility with python 2.4 2015-06-17 15:22:10 +02:00
Dag Wieers
f967aa376d Fix TravisCI failure on python 2.4 2015-06-17 15:07:18 +02:00
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). 2014-10-13 07:34:24 +02:00
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) 2014-10-12 14:41:57 +02:00
Renamed from system/mac_defaults.py (Browse further)