Closed jeroenj closed 10 years ago
Quoted from the defaults
man page:
-g | -globalDomain | NSGlobalDomain
Specify the global domain. '-g' and '-globalDomain' may be used as synonyms for NSGlobalDomain.
So defining both isn't really needed.
+1
Hey there,
Sorry for the lack of response on this. Seems good. Thanks!
@jtimberman Would you mind releasing a new version of this cookbook with this fix?
@jeroenj I just released v1.4.4 which contains this fix.
Thanks!
Reading defaults of
NSGlobalDomain
fails. The provider would add a-g
option when readingNSGlobalDomain
defaults, which causes the command to fail and causes the provider to always set the value even if it hasn't changed. This is what the provider does:Using both
NSGlobalDomain
and-g
doesn't work (anymore?) The following commands both correctly return the current value:Here is the issue I've created in the chef ticketing system. It this required for me to do, or can I just create pull requests to this repository? https://tickets.opscode.com/browse/COOK-3585