Permalink
Switch branches/tags
Commits on Aug 10, 2012
  1. release v1.4.0

    jtimberman committed Aug 10, 2012
  2. Lion fixes, settings recipe/attributes, integers

    * Add settings attribute and recipe to process it (great idea from Ben Bleything's bootstrap)
    * Use integers instead of strings for plain numbers
    * Set resource as updated
    * Support floating point numbers
    jtimberman committed Aug 10, 2012
Commits on Apr 15, 2012
  1. Merge pull request #8 from nixgeek/patch-1

    Update to load_current_resource replacing 'truthy' with 'truefalse'.
    jtimberman committed Apr 15, 2012
Commits on Mar 4, 2012
  1. A minor update to documentation to reference false values now being h…

    …andled by the Provider.
    agh committed Mar 4, 2012
  2. Update to load_current_resource replacing 'truthy' with 'truefalse'.

        defaults --help
        <value> is one of:
          -bool[ean] (true | false | yes | no)
    
    Right now we only convert 'TRUE' or 'true' which leads to a situation whereby chef-client reapplies settings (defaults write <DOMAIN> <KEY> -bool 'false') upon each run because the recipe value may validly be 'false'.
    
    Example recipe snippet which triggers this situation -
    
      mac_os_x_userdefaults "dont show quarantine warnings on downloaded files" do
        domain "com.apple.LaunchServices"
        key "LSQuarantine"
        value "false"
        type "bool"
        notifies :run, 'execute[killall Finder]'
        only_if { node[:platform_version].to_f >= 10.5 }
      end
    
    I've also taken the opportunity to extend things so that "YES" and "yes" are considered to be true values, because they would be accepted on the command-line by /usr/bin/defaults as valid input.
    agh committed Mar 4, 2012
Commits on Feb 26, 2012
  1. release v1.3.6

    jtimberman committed Feb 26, 2012
Commits on Jan 2, 2012
  1. Merge pull request #6 from bleything/master

    add hashes to userdefaults
    jtimberman committed Jan 2, 2012
Commits on Dec 25, 2011
Commits on Dec 21, 2011
  1. release version 1.3.0

    jtimberman committed Dec 21, 2011
Commits on Dec 10, 2011
  1. release version 1.2.2

    jtimberman committed Dec 10, 2011
  2. importing changes from my chef-repo

    * ensure lion tweaks only runs on lion
    * use strings not integers
    * move mail tweaks to their own recipe
    * add mail archive hotkey
    jtimberman committed Dec 10, 2011
  3. Merge pull request #3 from bleything/tweak_userdefaults

    Tweak userdefaults
    jtimberman committed Dec 10, 2011
Commits on Dec 9, 2011
  1. fix domain specification

    -g is a shortcut for specifying NSGlobalDomain. As it was, it was
    possible to specify a domain and mark the setting as global, which is
    incorrect and would fail. This change makes anything marked as global go
    into NSGlobalDomain.
    bleything committed Dec 9, 2011
  2. Merge pull request #2 from livinginthepast/master

    User can include spaces in keys and values for defaults
    jtimberman committed Dec 9, 2011
Commits on Nov 27, 2011
Commits on Aug 10, 2011
Commits on Aug 1, 2011
  1. cookbook version 1.2.0 release

    * add plist_file LWRP
    * add recipes for managing various useful user defaults
    jtimberman committed Aug 1, 2011
Commits on Jul 24, 2011
  1. v1.0.0, initial commit

    jtimberman committed Jul 24, 2011