{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls/19","id":42960434,"html_url":"https://github.com/pivotal-sprout/sprout-osx-settings/pull/19","diff_url":"https://github.com/pivotal-sprout/sprout-osx-settings/pull/19.diff","patch_url":"https://github.com/pivotal-sprout/sprout-osx-settings/pull/19.patch","issue_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/issues/19","number":19,"state":"closed","locked":false,"title":"Fully specify GlobalPreferences domain location for function keys","user":{"login":"minifast-winston","id":12754508,"avatar_url":"https://avatars.githubusercontent.com/u/12754508?v=3","gravatar_id":"","url":"https://api.github.com/users/minifast-winston","html_url":"https://github.com/minifast-winston","followers_url":"https://api.github.com/users/minifast-winston/followers","following_url":"https://api.github.com/users/minifast-winston/following{/other_user}","gists_url":"https://api.github.com/users/minifast-winston/gists{/gist_id}","starred_url":"https://api.github.com/users/minifast-winston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minifast-winston/subscriptions","organizations_url":"https://api.github.com/users/minifast-winston/orgs","repos_url":"https://api.github.com/users/minifast-winston/repos","events_url":"https://api.github.com/users/minifast-winston/events{/privacy}","received_events_url":"https://api.github.com/users/minifast-winston/received_events","type":"User","site_admin":false},"body":"This fixes the following error, encountered when sprouting a non-booted machine:\r\n\r\n```\r\n* execute[Turn on function-keys-work-as-function keys - .GlobalPreferences - com.apple.keyboard.fnState] action run[2015-08-20T10:56:55-07:00] INFO: Processing execute[Turn on function-keys-work-as-function keys - .GlobalPreferences - com.apple.keyboard.fnState] action run (/Users/minifast/sprout-wrap/cookbooks/osx/providers/defaults.rb line 4)\r\n\r\n================================================================================\r\nError executing action `run` on resource 'execute[Turn on function-keys-work-as-function keys - .GlobalPreferences - com.apple.keyboard.fnState]'\r\n================================================================================\r\n\r\n\r\nMixlib::ShellOut::ShellCommandFailed\r\n------------------------------------\r\nExpected process to exit with [0], but received '1'\r\n---- Begin output of defaults write .GlobalPreferences com.apple.keyboard.fnState -boolean true ----\r\nSTDOUT:\r\nSTDERR: 2015-08-20 10:56:55.935 defaults[56689:126780] Could not write domain .GlobalPreferences; exiting\r\n---- End output of defaults write .GlobalPreferences com.apple.keyboard.fnState -boolean true ----\r\nRan defaults write .GlobalPreferences com.apple.keyboard.fnState -boolean true returned 1\r\n```\r\n\r\nThis mirrors other `osx_defaults` resource definitions, such as natural scrolling: https://github.com/pivotal-sprout/sprout-osx-settings/blob/fa7f68da19bbb9cc45da22020d9043fcfc7ee73e/recipes/osx_disable_natural_scrolling.rb#L2","created_at":"2015-08-20T18:14:43Z","updated_at":"2015-09-12T00:19:28Z","closed_at":"2015-09-12T00:19:28Z","merged_at":"2015-09-12T00:19:28Z","merge_commit_sha":"72fde1faccba0bb1d7c5efbe57a6143038d19f8c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls/19/commits","review_comments_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls/19/comments","review_comment_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/issues/19/comments","statuses_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/statuses/8ae040d7efa511bfdd6ce0094b1e860934a637f1","head":{"label":"minifast-winston:expand-function-keys-domain","ref":"expand-function-keys-domain","sha":"8ae040d7efa511bfdd6ce0094b1e860934a637f1","user":{"login":"minifast-winston","id":12754508,"avatar_url":"https://avatars.githubusercontent.com/u/12754508?v=3","gravatar_id":"","url":"https://api.github.com/users/minifast-winston","html_url":"https://github.com/minifast-winston","followers_url":"https://api.github.com/users/minifast-winston/followers","following_url":"https://api.github.com/users/minifast-winston/following{/other_user}","gists_url":"https://api.github.com/users/minifast-winston/gists{/gist_id}","starred_url":"https://api.github.com/users/minifast-winston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minifast-winston/subscriptions","organizations_url":"https://api.github.com/users/minifast-winston/orgs","repos_url":"https://api.github.com/users/minifast-winston/repos","events_url":"https://api.github.com/users/minifast-winston/events{/privacy}","received_events_url":"https://api.github.com/users/minifast-winston/received_events","type":"User","site_admin":false},"repo":{"id":41111417,"name":"sprout-osx-settings","full_name":"minifast-winston/sprout-osx-settings","owner":{"login":"minifast-winston","id":12754508,"avatar_url":"https://avatars.githubusercontent.com/u/12754508?v=3","gravatar_id":"","url":"https://api.github.com/users/minifast-winston","html_url":"https://github.com/minifast-winston","followers_url":"https://api.github.com/users/minifast-winston/followers","following_url":"https://api.github.com/users/minifast-winston/following{/other_user}","gists_url":"https://api.github.com/users/minifast-winston/gists{/gist_id}","starred_url":"https://api.github.com/users/minifast-winston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minifast-winston/subscriptions","organizations_url":"https://api.github.com/users/minifast-winston/orgs","repos_url":"https://api.github.com/users/minifast-winston/repos","events_url":"https://api.github.com/users/minifast-winston/events{/privacy}","received_events_url":"https://api.github.com/users/minifast-winston/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minifast-winston/sprout-osx-settings","description":"Manage various settings & preferences on OS X","fork":true,"url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings","forks_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/forks","keys_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/teams","hooks_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/hooks","issue_events_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/issues/events{/number}","events_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/events","assignees_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/assignees{/user}","branches_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/branches{/branch}","tags_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/tags","blobs_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/git/refs{/sha}","trees_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/statuses/{sha}","languages_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/languages","stargazers_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/stargazers","contributors_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/contributors","subscribers_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/subscribers","subscription_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/subscription","commits_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/commits{/sha}","git_commits_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/git/commits{/sha}","comments_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/comments{/number}","issue_comment_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/issues/comments{/number}","contents_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/contents/{+path}","compare_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/merges","archive_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/downloads","issues_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/issues{/number}","pulls_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/pulls{/number}","milestones_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/milestones{/number}","notifications_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/labels{/name}","releases_url":"https://api.github.com/repos/minifast-winston/sprout-osx-settings/releases{/id}","created_at":"2015-08-20T18:10:22Z","updated_at":"2015-08-20T18:10:23Z","pushed_at":"2015-08-20T18:33:18Z","git_url":"git://github.com/minifast-winston/sprout-osx-settings.git","ssh_url":"git@github.com:minifast-winston/sprout-osx-settings.git","clone_url":"https://github.com/minifast-winston/sprout-osx-settings.git","svn_url":"https://github.com/minifast-winston/sprout-osx-settings","homepage":"","size":131,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pivotal-sprout:master","ref":"master","sha":"fa7f68da19bbb9cc45da22020d9043fcfc7ee73e","user":{"login":"pivotal-sprout","id":4164450,"avatar_url":"https://avatars.githubusercontent.com/u/4164450?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal-sprout","html_url":"https://github.com/pivotal-sprout","followers_url":"https://api.github.com/users/pivotal-sprout/followers","following_url":"https://api.github.com/users/pivotal-sprout/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-sprout/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-sprout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-sprout/subscriptions","organizations_url":"https://api.github.com/users/pivotal-sprout/orgs","repos_url":"https://api.github.com/users/pivotal-sprout/repos","events_url":"https://api.github.com/users/pivotal-sprout/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-sprout/received_events","type":"Organization","site_admin":false},"repo":{"id":18957804,"name":"sprout-osx-settings","full_name":"pivotal-sprout/sprout-osx-settings","owner":{"login":"pivotal-sprout","id":4164450,"avatar_url":"https://avatars.githubusercontent.com/u/4164450?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal-sprout","html_url":"https://github.com/pivotal-sprout","followers_url":"https://api.github.com/users/pivotal-sprout/followers","following_url":"https://api.github.com/users/pivotal-sprout/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-sprout/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-sprout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-sprout/subscriptions","organizations_url":"https://api.github.com/users/pivotal-sprout/orgs","repos_url":"https://api.github.com/users/pivotal-sprout/repos","events_url":"https://api.github.com/users/pivotal-sprout/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-sprout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pivotal-sprout/sprout-osx-settings","description":"Manage various settings & preferences on OS X","fork":false,"url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings","forks_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/forks","keys_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/teams","hooks_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/hooks","issue_events_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/issues/events{/number}","events_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/events","assignees_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/assignees{/user}","branches_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/branches{/branch}","tags_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/tags","blobs_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/git/refs{/sha}","trees_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/statuses/{sha}","languages_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/languages","stargazers_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/stargazers","contributors_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/contributors","subscribers_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/subscribers","subscription_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/subscription","commits_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/commits{/sha}","git_commits_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/git/commits{/sha}","comments_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/comments{/number}","issue_comment_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/issues/comments{/number}","contents_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/contents/{+path}","compare_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/merges","archive_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/downloads","issues_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/issues{/number}","pulls_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls{/number}","milestones_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/milestones{/number}","notifications_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/labels{/name}","releases_url":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/releases{/id}","created_at":"2014-04-20T04:46:54Z","updated_at":"2015-09-09T11:15:44Z","pushed_at":"2015-09-12T00:19:29Z","git_url":"git://github.com/pivotal-sprout/sprout-osx-settings.git","ssh_url":"git@github.com:pivotal-sprout/sprout-osx-settings.git","clone_url":"https://github.com/pivotal-sprout/sprout-osx-settings.git","svn_url":"https://github.com/pivotal-sprout/sprout-osx-settings","homepage":"","size":354,"stargazers_count":13,"watchers_count":13,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":12,"forks":18,"open_issues":12,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls/19"},"html":{"href":"https://github.com/pivotal-sprout/sprout-osx-settings/pull/19"},"issue":{"href":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/issues/19"},"comments":{"href":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/pivotal-sprout/sprout-osx-settings/statuses/8ae040d7efa511bfdd6ce0094b1e860934a637f1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aramprice","id":12226,"avatar_url":"https://avatars.githubusercontent.com/u/12226?v=3","gravatar_id":"","url":"https://api.github.com/users/aramprice","html_url":"https://github.com/aramprice","followers_url":"https://api.github.com/users/aramprice/followers","following_url":"https://api.github.com/users/aramprice/following{/other_user}","gists_url":"https://api.github.com/users/aramprice/gists{/gist_id}","starred_url":"https://api.github.com/users/aramprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aramprice/subscriptions","organizations_url":"https://api.github.com/users/aramprice/orgs","repos_url":"https://api.github.com/users/aramprice/repos","events_url":"https://api.github.com/users/aramprice/events{/privacy}","received_events_url":"https://api.github.com/users/aramprice/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}