{"action":"opened","number":896,"pull_request":{"url":"https://api.github.com/repos/rancher/os/pulls/896","id":67585486,"html_url":"https://github.com/rancher/os/pull/896","diff_url":"https://github.com/rancher/os/pull/896.diff","patch_url":"https://github.com/rancher/os/pull/896.patch","issue_url":"https://api.github.com/repos/rancher/os/issues/896","number":896,"state":"open","locked":false,"title":"Fix setting default values with 'ros config set'","user":{"login":"joshwget","id":6208550,"avatar_url":"https://avatars.githubusercontent.com/u/6208550?v=3","gravatar_id":"","url":"https://api.github.com/users/joshwget","html_url":"https://github.com/joshwget","followers_url":"https://api.github.com/users/joshwget/followers","following_url":"https://api.github.com/users/joshwget/following{/other_user}","gists_url":"https://api.github.com/users/joshwget/gists{/gist_id}","starred_url":"https://api.github.com/users/joshwget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshwget/subscriptions","organizations_url":"https://api.github.com/users/joshwget/orgs","repos_url":"https://api.github.com/users/joshwget/repos","events_url":"https://api.github.com/users/joshwget/events{/privacy}","received_events_url":"https://api.github.com/users/joshwget/received_events","type":"User","site_admin":false},"body":"If there is a non-default value in a config file in `/var/lib/rancher/conf/cloud-config.d`, then `ros config set` cannot set that particular key to a default value.\r\n\r\nFor example, if the following config file is in the directory, then `ros config get rancher.log` will always return true, even after calling `ros config set rancher.log false`.\r\n\r\n```\r\nrancher:\r\n  log: true\r\n```\r\n\r\n#868 ","created_at":"2016-04-22T23:18:36Z","updated_at":"2016-04-22T23:18:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rancher/os/pulls/896/commits","review_comments_url":"https://api.github.com/repos/rancher/os/pulls/896/comments","review_comment_url":"https://api.github.com/repos/rancher/os/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rancher/os/issues/896/comments","statuses_url":"https://api.github.com/repos/rancher/os/statuses/6ab32ae19c6c292c6a79348e6e67661918f31193","head":{"label":"joshwget:ros-config-set-default-value","ref":"ros-config-set-default-value","sha":"6ab32ae19c6c292c6a79348e6e67661918f31193","user":{"login":"joshwget","id":6208550,"avatar_url":"https://avatars.githubusercontent.com/u/6208550?v=3","gravatar_id":"","url":"https://api.github.com/users/joshwget","html_url":"https://github.com/joshwget","followers_url":"https://api.github.com/users/joshwget/followers","following_url":"https://api.github.com/users/joshwget/following{/other_user}","gists_url":"https://api.github.com/users/joshwget/gists{/gist_id}","starred_url":"https://api.github.com/users/joshwget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshwget/subscriptions","organizations_url":"https://api.github.com/users/joshwget/orgs","repos_url":"https://api.github.com/users/joshwget/repos","events_url":"https://api.github.com/users/joshwget/events{/privacy}","received_events_url":"https://api.github.com/users/joshwget/received_events","type":"User","site_admin":false},"repo":{"id":48857694,"name":"os","full_name":"joshwget/os","owner":{"login":"joshwget","id":6208550,"avatar_url":"https://avatars.githubusercontent.com/u/6208550?v=3","gravatar_id":"","url":"https://api.github.com/users/joshwget","html_url":"https://github.com/joshwget","followers_url":"https://api.github.com/users/joshwget/followers","following_url":"https://api.github.com/users/joshwget/following{/other_user}","gists_url":"https://api.github.com/users/joshwget/gists{/gist_id}","starred_url":"https://api.github.com/users/joshwget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshwget/subscriptions","organizations_url":"https://api.github.com/users/joshwget/orgs","repos_url":"https://api.github.com/users/joshwget/repos","events_url":"https://api.github.com/users/joshwget/events{/privacy}","received_events_url":"https://api.github.com/users/joshwget/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joshwget/os","description":"The easiest way to run Docker in production","fork":true,"url":"https://api.github.com/repos/joshwget/os","forks_url":"https://api.github.com/repos/joshwget/os/forks","keys_url":"https://api.github.com/repos/joshwget/os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joshwget/os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joshwget/os/teams","hooks_url":"https://api.github.com/repos/joshwget/os/hooks","issue_events_url":"https://api.github.com/repos/joshwget/os/issues/events{/number}","events_url":"https://api.github.com/repos/joshwget/os/events","assignees_url":"https://api.github.com/repos/joshwget/os/assignees{/user}","branches_url":"https://api.github.com/repos/joshwget/os/branches{/branch}","tags_url":"https://api.github.com/repos/joshwget/os/tags","blobs_url":"https://api.github.com/repos/joshwget/os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joshwget/os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joshwget/os/git/refs{/sha}","trees_url":"https://api.github.com/repos/joshwget/os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joshwget/os/statuses/{sha}","languages_url":"https://api.github.com/repos/joshwget/os/languages","stargazers_url":"https://api.github.com/repos/joshwget/os/stargazers","contributors_url":"https://api.github.com/repos/joshwget/os/contributors","subscribers_url":"https://api.github.com/repos/joshwget/os/subscribers","subscription_url":"https://api.github.com/repos/joshwget/os/subscription","commits_url":"https://api.github.com/repos/joshwget/os/commits{/sha}","git_commits_url":"https://api.github.com/repos/joshwget/os/git/commits{/sha}","comments_url":"https://api.github.com/repos/joshwget/os/comments{/number}","issue_comment_url":"https://api.github.com/repos/joshwget/os/issues/comments{/number}","contents_url":"https://api.github.com/repos/joshwget/os/contents/{+path}","compare_url":"https://api.github.com/repos/joshwget/os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joshwget/os/merges","archive_url":"https://api.github.com/repos/joshwget/os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joshwget/os/downloads","issues_url":"https://api.github.com/repos/joshwget/os/issues{/number}","pulls_url":"https://api.github.com/repos/joshwget/os/pulls{/number}","milestones_url":"https://api.github.com/repos/joshwget/os/milestones{/number}","notifications_url":"https://api.github.com/repos/joshwget/os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joshwget/os/labels{/name}","releases_url":"https://api.github.com/repos/joshwget/os/releases{/id}","deployments_url":"https://api.github.com/repos/joshwget/os/deployments","created_at":"2015-12-31T17:52:18Z","updated_at":"2015-12-31T17:52:19Z","pushed_at":"2016-04-22T23:12:24Z","git_url":"git://github.com/joshwget/os.git","ssh_url":"git@github.com:joshwget/os.git","clone_url":"https://github.com/joshwget/os.git","svn_url":"https://github.com/joshwget/os","homepage":"","size":6020,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"rancher:master","ref":"master","sha":"eeea325e54f3088ed35049d8c9df4d69fe9d1dfe","user":{"login":"rancher","id":9343010,"avatar_url":"https://avatars.githubusercontent.com/u/9343010?v=3","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"repo":{"id":28796010,"name":"os","full_name":"rancher/os","owner":{"login":"rancher","id":9343010,"avatar_url":"https://avatars.githubusercontent.com/u/9343010?v=3","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rancher/os","description":"The easiest way to run Docker in production","fork":false,"url":"https://api.github.com/repos/rancher/os","forks_url":"https://api.github.com/repos/rancher/os/forks","keys_url":"https://api.github.com/repos/rancher/os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rancher/os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rancher/os/teams","hooks_url":"https://api.github.com/repos/rancher/os/hooks","issue_events_url":"https://api.github.com/repos/rancher/os/issues/events{/number}","events_url":"https://api.github.com/repos/rancher/os/events","assignees_url":"https://api.github.com/repos/rancher/os/assignees{/user}","branches_url":"https://api.github.com/repos/rancher/os/branches{/branch}","tags_url":"https://api.github.com/repos/rancher/os/tags","blobs_url":"https://api.github.com/repos/rancher/os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rancher/os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rancher/os/git/refs{/sha}","trees_url":"https://api.github.com/repos/rancher/os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rancher/os/statuses/{sha}","languages_url":"https://api.github.com/repos/rancher/os/languages","stargazers_url":"https://api.github.com/repos/rancher/os/stargazers","contributors_url":"https://api.github.com/repos/rancher/os/contributors","subscribers_url":"https://api.github.com/repos/rancher/os/subscribers","subscription_url":"https://api.github.com/repos/rancher/os/subscription","commits_url":"https://api.github.com/repos/rancher/os/commits{/sha}","git_commits_url":"https://api.github.com/repos/rancher/os/git/commits{/sha}","comments_url":"https://api.github.com/repos/rancher/os/comments{/number}","issue_comment_url":"https://api.github.com/repos/rancher/os/issues/comments{/number}","contents_url":"https://api.github.com/repos/rancher/os/contents/{+path}","compare_url":"https://api.github.com/repos/rancher/os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rancher/os/merges","archive_url":"https://api.github.com/repos/rancher/os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rancher/os/downloads","issues_url":"https://api.github.com/repos/rancher/os/issues{/number}","pulls_url":"https://api.github.com/repos/rancher/os/pulls{/number}","milestones_url":"https://api.github.com/repos/rancher/os/milestones{/number}","notifications_url":"https://api.github.com/repos/rancher/os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rancher/os/labels{/name}","releases_url":"https://api.github.com/repos/rancher/os/releases{/id}","deployments_url":"https://api.github.com/repos/rancher/os/deployments","created_at":"2015-01-05T03:37:16Z","updated_at":"2016-04-22T07:51:56Z","pushed_at":"2016-04-19T18:33:42Z","git_url":"git://github.com/rancher/os.git","ssh_url":"git@github.com:rancher/os.git","clone_url":"https://github.com/rancher/os.git","svn_url":"https://github.com/rancher/os","homepage":"","size":11348,"stargazers_count":2223,"watchers_count":2223,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":194,"mirror_url":null,"open_issues_count":148,"forks":194,"open_issues":148,"watchers":2223,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rancher/os/pulls/896"},"html":{"href":"https://github.com/rancher/os/pull/896"},"issue":{"href":"https://api.github.com/repos/rancher/os/issues/896"},"comments":{"href":"https://api.github.com/repos/rancher/os/issues/896/comments"},"review_comments":{"href":"https://api.github.com/repos/rancher/os/pulls/896/comments"},"review_comment":{"href":"https://api.github.com/repos/rancher/os/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rancher/os/pulls/896/commits"},"statuses":{"href":"https://api.github.com/repos/rancher/os/statuses/6ab32ae19c6c292c6a79348e6e67661918f31193"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":121,"deletions":24,"changed_files":5}}