schubert/brewstrap-example — Issue #2: node.json is blowing up
Author: jonathanpberger
Created: 2012-02-20 19:31:23+00:00
State: open

[brewstrap output redacted til here...]

(9/10) Kicking off chef-solo (password will be your local user password)

Password:
/Users/jpb/.rvm/gems/ruby-1.9.3-p0/gems/systemu-2.2.0/lib/systemu.rb:29: Use RbConfig instead of obsolete and deprecated Config.
[Mon, 20 Feb 2012 14:29:27 -0500] FATAL: Could not parse the provided JSON file (/tmp/chef/node.json)!: 743: unexpected token at '{
"user": {
"username": "yourosxshortname",
"full_name": "Joe Q. User",
"email": "joe.user@example.com"
},
"apple": {
"dotmac": {
"username": "yourdotmacname",
"idisk": {
"enable_mirroring": true
}
},
"menubar": {
"items": [
"VPN",
"RemoteDesktop",
"Sync",
"Keychain",
"Bluetooth",
"AirPort",
"Volume",
"Battery",
"Clock"
]
},
"finder": {
"preferences": {
"ShowHardDrivesOnDesktop": 0,
"ShowExternalHardDrivesOnDesktop": 0
}
},
"dock": {
"preferences": {
"persistent-apps": "()",
"autohide": 1,
"workspaces": 1
}
},
"screensaver": {
"selected": "Arabesque",
"preferences": {
"askForPassword": 1,
"askForPasswordDelay": 600,
"idleTime": {
"currentHost": 900
},
"showClock": {
"currentHost": 1
},
"tokenRemovalAction": {
"currentHost": 0
}
}
},
"terminal": {
"preferences": {
"SecureKeyboardEntry": "1",
"Default Window Settings": "Pro",
"Startup Window Settings": "Pro"
}
},
"TimeMachine" : {
"DoNotOfferNewDisksForBackup": true
},
"mail": {
"DisableDataDetectors": false
}
}
"run_list": [
"sudo::nopasswd",
"brewstrap",
"locate",
"git",
"github",
"brewstrap::development",
"apple::dotmac",
"apple::remove_sample_files",
"apple::menubar",
"apple::preferences",
"apple::safari",
"apple::screen_sharing",
"apple::server_admin_tools",
"bash::hushlogin",
"bash::rc",
"caffeine",
"firefox",
"chrome",
"fonts::inconsolata",
"flash_player",
"alfred",
"macvim",
"tmux"
]
}
'
BREWSTRAP FAILED!

jonathans-Mac-Pro:~ jpb$