{"action":"closed","number":35,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman_salt/pulls/35","id":33108744,"html_url":"https://github.com/theforeman/foreman_salt/pull/35","diff_url":"https://github.com/theforeman/foreman_salt/pull/35.diff","patch_url":"https://github.com/theforeman/foreman_salt/pull/35.patch","issue_url":"https://api.github.com/repos/theforeman/foreman_salt/issues/35","number":35,"state":"closed","locked":false,"title":"fixes #8473 - import states and environments from master","user":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"body":"To do:\r\n- [x] Host/hostgroup edit page dynamic load states based on environment, like puppet classes does\r\n- [x] Permissions\r\n- [x] API","created_at":"2015-04-11T19:39:07Z","updated_at":"2015-05-10T13:39:56Z","closed_at":"2015-05-10T13:39:56Z","merged_at":"2015-05-10T13:39:56Z","merge_commit_sha":"8c360a5ee290f12071ef7f2bee58c55ecc21e8c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman_salt/pulls/35/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman_salt/pulls/35/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman_salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman_salt/issues/35/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman_salt/statuses/d4ff701bc73348d7e9066526d194377d457deac4","head":{"label":"stbenjam:8473","ref":"8473","sha":"d4ff701bc73348d7e9066526d194377d457deac4","user":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"repo":{"id":22946667,"name":"foreman_salt","full_name":"stbenjam/foreman_salt","owner":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stbenjam/foreman_salt","description":"Salt plug-in for Foreman","fork":true,"url":"https://api.github.com/repos/stbenjam/foreman_salt","forks_url":"https://api.github.com/repos/stbenjam/foreman_salt/forks","keys_url":"https://api.github.com/repos/stbenjam/foreman_salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stbenjam/foreman_salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stbenjam/foreman_salt/teams","hooks_url":"https://api.github.com/repos/stbenjam/foreman_salt/hooks","issue_events_url":"https://api.github.com/repos/stbenjam/foreman_salt/issues/events{/number}","events_url":"https://api.github.com/repos/stbenjam/foreman_salt/events","assignees_url":"https://api.github.com/repos/stbenjam/foreman_salt/assignees{/user}","branches_url":"https://api.github.com/repos/stbenjam/foreman_salt/branches{/branch}","tags_url":"https://api.github.com/repos/stbenjam/foreman_salt/tags","blobs_url":"https://api.github.com/repos/stbenjam/foreman_salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stbenjam/foreman_salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stbenjam/foreman_salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/stbenjam/foreman_salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stbenjam/foreman_salt/statuses/{sha}","languages_url":"https://api.github.com/repos/stbenjam/foreman_salt/languages","stargazers_url":"https://api.github.com/repos/stbenjam/foreman_salt/stargazers","contributors_url":"https://api.github.com/repos/stbenjam/foreman_salt/contributors","subscribers_url":"https://api.github.com/repos/stbenjam/foreman_salt/subscribers","subscription_url":"https://api.github.com/repos/stbenjam/foreman_salt/subscription","commits_url":"https://api.github.com/repos/stbenjam/foreman_salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/stbenjam/foreman_salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/stbenjam/foreman_salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/stbenjam/foreman_salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/stbenjam/foreman_salt/contents/{+path}","compare_url":"https://api.github.com/repos/stbenjam/foreman_salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stbenjam/foreman_salt/merges","archive_url":"https://api.github.com/repos/stbenjam/foreman_salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stbenjam/foreman_salt/downloads","issues_url":"https://api.github.com/repos/stbenjam/foreman_salt/issues{/number}","pulls_url":"https://api.github.com/repos/stbenjam/foreman_salt/pulls{/number}","milestones_url":"https://api.github.com/repos/stbenjam/foreman_salt/milestones{/number}","notifications_url":"https://api.github.com/repos/stbenjam/foreman_salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stbenjam/foreman_salt/labels{/name}","releases_url":"https://api.github.com/repos/stbenjam/foreman_salt/releases{/id}","created_at":"2014-08-14T08:24:55Z","updated_at":"2014-08-14T22:17:39Z","pushed_at":"2015-05-10T13:34:09Z","git_url":"git://github.com/stbenjam/foreman_salt.git","ssh_url":"git@github.com:stbenjam/foreman_salt.git","clone_url":"https://github.com/stbenjam/foreman_salt.git","svn_url":"https://github.com/stbenjam/foreman_salt","homepage":null,"size":702,"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":"theforeman:master","ref":"master","sha":"fb863ddca9c5883856baa9bad713181c7eea17fa","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":22945744,"name":"foreman_salt","full_name":"theforeman/foreman_salt","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman_salt","description":"Foreman plug-in for Salt","fork":false,"url":"https://api.github.com/repos/theforeman/foreman_salt","forks_url":"https://api.github.com/repos/theforeman/foreman_salt/forks","keys_url":"https://api.github.com/repos/theforeman/foreman_salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman_salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman_salt/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman_salt/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman_salt/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman_salt/events","assignees_url":"https://api.github.com/repos/theforeman/foreman_salt/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman_salt/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman_salt/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman_salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman_salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman_salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman_salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman_salt/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman_salt/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman_salt/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman_salt/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman_salt/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman_salt/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman_salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman_salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman_salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman_salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman_salt/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman_salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman_salt/merges","archive_url":"https://api.github.com/repos/theforeman/foreman_salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman_salt/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman_salt/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman_salt/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman_salt/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman_salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman_salt/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman_salt/releases{/id}","created_at":"2014-08-14T07:50:58Z","updated_at":"2015-04-29T12:58:51Z","pushed_at":"2015-05-10T13:39:56Z","git_url":"git://github.com/theforeman/foreman_salt.git","ssh_url":"git@github.com:theforeman/foreman_salt.git","clone_url":"https://github.com/theforeman/foreman_salt.git","svn_url":"https://github.com/theforeman/foreman_salt","homepage":"","size":1120,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":0,"forks":9,"open_issues":0,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman_salt/pulls/35"},"html":{"href":"https://github.com/theforeman/foreman_salt/pull/35"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman_salt/issues/35"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman_salt/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman_salt/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman_salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman_salt/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman_salt/statuses/d4ff701bc73348d7e9066526d194377d457deac4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":679,"deletions":101,"changed_files":38}}