Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on May 1, 2014
  1. @juliandunn
Commits on Mar 3, 2014
  1. @juliandunn

    Bump devodd

    juliandunn authored
  2. @juliandunn
  3. @SteveMarshall @juliandunn

    Complex array values break unless quoted.

    SteveMarshall authored juliandunn committed
    When passing complex (e.g. multi-line) array values, `defaults write` errors unless they're properly quoted.
Commits on Nov 25, 2013
  1. @jtimberman

    Merge pull request #17 from jeroenj/global

    jtimberman authored
    Don't add '-g' to defaults read command for NSGlobalDomain
Commits on Sep 9, 2013
  1. @jeroenj
Commits on Sep 5, 2013
  1. @jtimberman

    Merge pull request #16 from jeroenj/defaults-read

    jtimberman authored
    Put key in quotes while running defaults read command
Commits on Sep 3, 2013
  1. @jeroenj

    Put domain in quotes

    jeroenj authored
    It can also contain spaces. Another way would be to escape spaces, but that makes the recipes less clear.
Commits on Aug 20, 2013
  1. @jeroenj
Commits on Mar 27, 2013
  1. @jtimberman

    Cleanup in README

    jtimberman authored
  2. @jtimberman
  3. @jtimberman

    Ignore failure for killing Dock.app

    jtimberman authored
    It's okay to ignore failure for killing Dock.app. For example, if Chef
    is running on an OS X system where the user is not logged into the
    desktop, Dock won't be running and the kill will fail to find a
    process.
Commits on Mar 3, 2013
  1. @jtimberman

    Merge pull request #15 from jeroenj/array

    jtimberman authored
    Adds support for arrays
  2. @jtimberman

    Merge pull request #13 from jeroenj/booleans

    jtimberman authored
    Booleans should be correctly recognized in userdefaults
  3. @jeroenj

    Adds support for arrays

    jeroenj authored
Commits on Feb 27, 2013
  1. @jeroenj
Commits on Jan 27, 2013
  1. @jtimberman

    Merge pull request #10 from patcon/resource-attr-user

    jtimberman authored
    Add `user` resource attr to `mac_os_x_userdefaults`
Commits on Jan 21, 2013
  1. @patcon

    Merge branch 'master' into resource-attr-user

    patcon authored
    Conflicts:
    	providers/userdefaults.rb
  2. @patcon
Commits on Dec 7, 2012
  1. @patcon
Commits on Nov 22, 2012
  1. @jtimberman

    release v1.4.2

    jtimberman authored
Commits on Aug 20, 2012
  1. @jtimberman

    release v1.4.0

    jtimberman authored
Commits on Aug 11, 2012
  1. @jtimberman

    Merge pull request #12 from joemiller/patch-1

    jtimberman authored
    fixed bug preventing the userdefaults recipe from working
Commits on Aug 10, 2012
  1. @joemiller

    fixed bug preventing the userdefaults recipe from working

    joemiller authored
    this bug seemed to pretty much break the recipe (chef would error with "cannot find resource named 'new' ...")
  2. @jtimberman

    Lion fixes, settings recipe/attributes, integers

    jtimberman authored
    * 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
Commits on Jul 28, 2012
  1. @patcon
Commits on Apr 15, 2012
  1. @jtimberman

    Merge pull request #8 from nixgeek/patch-1

    jtimberman authored
    Update to load_current_resource replacing 'truthy' with 'truefalse'.
Commits on Mar 4, 2012
  1. @agh

    A minor update to documentation to reference false values now being h…

    agh authored
    …andled by the Provider.
  2. @agh

    Update to load_current_resource replacing 'truthy' with 'truefalse'.

    agh authored
        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.
Commits on Feb 26, 2012
  1. @jtimberman

    release v1.3.6

    jtimberman authored
Commits on Jan 2, 2012
  1. @jtimberman

    Merge pull request #6 from bleything/master

    jtimberman authored
    add hashes to userdefaults
Commits on Dec 25, 2011
  1. @bleything
Commits on Dec 21, 2011
  1. @jtimberman
  2. @jtimberman
  3. @jtimberman

    release version 1.3.0

    jtimberman authored
Something went wrong with that request. Please try again.