{"action":"closed","number":26142,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/26142","id":41967152,"html_url":"https://github.com/saltstack/salt/pull/26142","diff_url":"https://github.com/saltstack/salt/pull/26142.diff","patch_url":"https://github.com/saltstack/salt/pull/26142.patch","issue_url":"https://api.github.com/repos/saltstack/salt/issues/26142","number":26142,"state":"closed","locked":false,"title":"salt.module.smartos_imgadm now supports vacuum","user":{"login":"sjorge","id":379665,"avatar_url":"https://avatars.githubusercontent.com/u/379665?v=3","gravatar_id":"","url":"https://api.github.com/users/sjorge","html_url":"https://github.com/sjorge","followers_url":"https://api.github.com/users/sjorge/followers","following_url":"https://api.github.com/users/sjorge/following{/other_user}","gists_url":"https://api.github.com/users/sjorge/gists{/gist_id}","starred_url":"https://api.github.com/users/sjorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjorge/subscriptions","organizations_url":"https://api.github.com/users/sjorge/orgs","repos_url":"https://api.github.com/users/sjorge/repos","events_url":"https://api.github.com/users/sjorge/events{/privacy}","received_events_url":"https://api.github.com/users/sjorge/received_events","type":"User","site_admin":false},"body":"Working my way through issue #25986, added vacuum support to remove unused images.\r\n\r\n_Slowly getting more familiar with salt modules, first time returning data in a nice dict.\r\nWouldn't hurt to give it a quick extra sanity check._\r\n\r\n```\r\n[root@core ~]# salt-call --local imgadm.vacuum True\r\n[INFO    ] Executing command '/usr/sbin/imgadm vacuum -f' in directory '/root'\r\nlocal:\r\n    ----------\r\n    a79dc83a-e3a7-11e4-bfe5-d3bb86399352:\r\n        ----------\r\n        name:\r\n            lx-centos-6\r\n        version:\r\n            20150415\r\n    d5b3865c-0804-11e5-be21-dbc4ce844ddc:\r\n        ----------\r\n        name:\r\n            lx-centos-6\r\n        version:\r\n            20150601\r\n```\r\n```\r\n[root@core ~]# salt-call --local imgadm.vacuum\r\n[INFO    ] Executing command '/usr/sbin/imgadm vacuum -f' in directory '/root'\r\nlocal:\r\n    - d5b3865c-0804-11e5-be21-dbc4ce844ddc\r\n```","created_at":"2015-08-09T08:16:18Z","updated_at":"2015-08-09T13:07:57Z","closed_at":"2015-08-09T13:07:57Z","merged_at":null,"merge_commit_sha":"60cd4c64bacd2cec36c7be80dd2c454a4a77d976","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saltstack/salt/pulls/26142/commits","review_comments_url":"https://api.github.com/repos/saltstack/salt/pulls/26142/comments","review_comment_url":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/26142/comments","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/e70c885a22304bb5861cc7b5af0fa0d01a53247b","head":{"label":"sjorge:imgadm-vacuum","ref":"imgadm-vacuum","sha":"e70c885a22304bb5861cc7b5af0fa0d01a53247b","user":{"login":"sjorge","id":379665,"avatar_url":"https://avatars.githubusercontent.com/u/379665?v=3","gravatar_id":"","url":"https://api.github.com/users/sjorge","html_url":"https://github.com/sjorge","followers_url":"https://api.github.com/users/sjorge/followers","following_url":"https://api.github.com/users/sjorge/following{/other_user}","gists_url":"https://api.github.com/users/sjorge/gists{/gist_id}","starred_url":"https://api.github.com/users/sjorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjorge/subscriptions","organizations_url":"https://api.github.com/users/sjorge/orgs","repos_url":"https://api.github.com/users/sjorge/repos","events_url":"https://api.github.com/users/sjorge/events{/privacy}","received_events_url":"https://api.github.com/users/sjorge/received_events","type":"User","site_admin":false},"repo":{"id":40401491,"name":"salt","full_name":"sjorge/salt","owner":{"login":"sjorge","id":379665,"avatar_url":"https://avatars.githubusercontent.com/u/379665?v=3","gravatar_id":"","url":"https://api.github.com/users/sjorge","html_url":"https://github.com/sjorge","followers_url":"https://api.github.com/users/sjorge/followers","following_url":"https://api.github.com/users/sjorge/following{/other_user}","gists_url":"https://api.github.com/users/sjorge/gists{/gist_id}","starred_url":"https://api.github.com/users/sjorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjorge/subscriptions","organizations_url":"https://api.github.com/users/sjorge/orgs","repos_url":"https://api.github.com/users/sjorge/repos","events_url":"https://api.github.com/users/sjorge/events{/privacy}","received_events_url":"https://api.github.com/users/sjorge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sjorge/salt","description":"Infrastructure automation and management system","fork":true,"url":"https://api.github.com/repos/sjorge/salt","forks_url":"https://api.github.com/repos/sjorge/salt/forks","keys_url":"https://api.github.com/repos/sjorge/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjorge/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjorge/salt/teams","hooks_url":"https://api.github.com/repos/sjorge/salt/hooks","issue_events_url":"https://api.github.com/repos/sjorge/salt/issues/events{/number}","events_url":"https://api.github.com/repos/sjorge/salt/events","assignees_url":"https://api.github.com/repos/sjorge/salt/assignees{/user}","branches_url":"https://api.github.com/repos/sjorge/salt/branches{/branch}","tags_url":"https://api.github.com/repos/sjorge/salt/tags","blobs_url":"https://api.github.com/repos/sjorge/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjorge/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjorge/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjorge/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjorge/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/sjorge/salt/languages","stargazers_url":"https://api.github.com/repos/sjorge/salt/stargazers","contributors_url":"https://api.github.com/repos/sjorge/salt/contributors","subscribers_url":"https://api.github.com/repos/sjorge/salt/subscribers","subscription_url":"https://api.github.com/repos/sjorge/salt/subscription","commits_url":"https://api.github.com/repos/sjorge/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjorge/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjorge/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjorge/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjorge/salt/contents/{+path}","compare_url":"https://api.github.com/repos/sjorge/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjorge/salt/merges","archive_url":"https://api.github.com/repos/sjorge/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjorge/salt/downloads","issues_url":"https://api.github.com/repos/sjorge/salt/issues{/number}","pulls_url":"https://api.github.com/repos/sjorge/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/sjorge/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/sjorge/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjorge/salt/labels{/name}","releases_url":"https://api.github.com/repos/sjorge/salt/releases{/id}","created_at":"2015-08-08T11:58:03Z","updated_at":"2015-08-08T11:58:35Z","pushed_at":"2015-08-09T13:01:53Z","git_url":"git://github.com/sjorge/salt.git","ssh_url":"git@github.com:sjorge/salt.git","clone_url":"https://github.com/sjorge/salt.git","svn_url":"https://github.com/sjorge/salt","homepage":"saltstack.com","size":117618,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"2015.8"}},"base":{"label":"saltstack:2015.8","ref":"2015.8","sha":"cb6764a5512448006fc20e13632427dbf9bb273c","user":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"repo":{"id":1390248,"name":"salt","full_name":"saltstack/salt","owner":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack/salt","description":"Infrastructure automation and management system","fork":false,"url":"https://api.github.com/repos/saltstack/salt","forks_url":"https://api.github.com/repos/saltstack/salt/forks","keys_url":"https://api.github.com/repos/saltstack/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack/salt/teams","hooks_url":"https://api.github.com/repos/saltstack/salt/hooks","issue_events_url":"https://api.github.com/repos/saltstack/salt/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack/salt/events","assignees_url":"https://api.github.com/repos/saltstack/salt/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack/salt/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack/salt/tags","blobs_url":"https://api.github.com/repos/saltstack/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack/salt/languages","stargazers_url":"https://api.github.com/repos/saltstack/salt/stargazers","contributors_url":"https://api.github.com/repos/saltstack/salt/contributors","subscribers_url":"https://api.github.com/repos/saltstack/salt/subscribers","subscription_url":"https://api.github.com/repos/saltstack/salt/subscription","commits_url":"https://api.github.com/repos/saltstack/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/saltstack/salt/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack/salt/merges","archive_url":"https://api.github.com/repos/saltstack/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack/salt/downloads","issues_url":"https://api.github.com/repos/saltstack/salt/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack/salt/labels{/name}","releases_url":"https://api.github.com/repos/saltstack/salt/releases{/id}","created_at":"2011-02-20T20:16:56Z","updated_at":"2015-08-09T13:07:27Z","pushed_at":"2015-08-09T13:07:18Z","git_url":"git://github.com/saltstack/salt.git","ssh_url":"git@github.com:saltstack/salt.git","clone_url":"https://github.com/saltstack/salt.git","svn_url":"https://github.com/saltstack/salt","homepage":"saltstack.com","size":238549,"stargazers_count":5507,"watchers_count":5507,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2347,"mirror_url":null,"open_issues_count":2829,"forks":2347,"open_issues":2829,"watchers":5507,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/26142"},"html":{"href":"https://github.com/saltstack/salt/pull/26142"},"issue":{"href":"https://api.github.com/repos/saltstack/salt/issues/26142"},"comments":{"href":"https://api.github.com/repos/saltstack/salt/issues/26142/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack/salt/pulls/26142/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saltstack/salt/pulls/26142/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack/salt/statuses/e70c885a22304bb5861cc7b5af0fa0d01a53247b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":35,"deletions":0,"changed_files":1}}