{"action":"opened","number":20486,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/20486","id":28853203,"html_url":"https://github.com/saltstack/salt/pull/20486","diff_url":"https://github.com/saltstack/salt/pull/20486.diff","patch_url":"https://github.com/saltstack/salt/pull/20486.patch","issue_url":"https://api.github.com/repos/saltstack/salt/issues/20486","number":20486,"state":"open","locked":false,"title":"Allow Linux Mint to use upstart","user":{"login":"l2ol33rt","id":1453062,"avatar_url":"https://avatars.githubusercontent.com/u/1453062?v=3","gravatar_id":"","url":"https://api.github.com/users/l2ol33rt","html_url":"https://github.com/l2ol33rt","followers_url":"https://api.github.com/users/l2ol33rt/followers","following_url":"https://api.github.com/users/l2ol33rt/following{/other_user}","gists_url":"https://api.github.com/users/l2ol33rt/gists{/gist_id}","starred_url":"https://api.github.com/users/l2ol33rt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l2ol33rt/subscriptions","organizations_url":"https://api.github.com/users/l2ol33rt/orgs","repos_url":"https://api.github.com/users/l2ol33rt/repos","events_url":"https://api.github.com/users/l2ol33rt/events{/privacy}","received_events_url":"https://api.github.com/users/l2ol33rt/received_events","type":"User","site_admin":false},"body":"Version: salt-call 2015.2.0-395-gc75ec86 (Lithium)\r\n\r\nSalt was only looking at the sysv scripts but Linux Mint uses upstart as well:\r\n\r\nAttempting to run the state:\r\n```bash\r\nufw:\r\n  pkg.installed: []\r\n  service.running:\r\n    - watch:\r\n      - pkg: ufw\r\n```\r\n\r\nI would get the following error:\r\n```bash\r\n----------\r\n          ID: ufw\r\n    Function: pkg.installed\r\n      Result: True\r\n     Comment: Package ufw is already installed.\r\n     Started: 16:04:32.153946\r\n    Duration: 1.302 ms\r\n     Changes:   \r\n----------\r\n          ID: ufw\r\n    Function: service.running\r\n      Result: False\r\n     Comment: The named service ufw is not available\r\n     Started: 16:04:32.155598\r\n    Duration: 0.645 ms\r\n     Changes:   \r\n```\r\n\r\nAfter the patch:\r\n```bash\r\n----------\r\n          ID: ufw\r\n    Function: pkg.installed\r\n      Result: True\r\n     Comment: Package ufw is already installed.\r\n     Started: 16:09:36.739530\r\n    Duration: 3.448 ms\r\n     Changes:   \r\n----------\r\n          ID: ufw\r\n    Function: service.running\r\n      Result: True\r\n     Comment: The service ufw is already running\r\n     Started: 16:09:36.744060\r\n    Duration: 22.155 ms\r\n     Changes:   \r\n```","created_at":"2015-02-07T00:13:26Z","updated_at":"2015-02-07T00:13:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saltstack/salt/pulls/20486/commits","review_comments_url":"https://api.github.com/repos/saltstack/salt/pulls/20486/comments","review_comment_url":"https://api.github.com/repos/saltstack/salt/pulls/comments/{number}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/20486/comments","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/fbf22413485e53b51c25b4ad397dfa89aac8c575","head":{"label":"l2ol33rt:fix_mint_17","ref":"fix_mint_17","sha":"fbf22413485e53b51c25b4ad397dfa89aac8c575","user":{"login":"l2ol33rt","id":1453062,"avatar_url":"https://avatars.githubusercontent.com/u/1453062?v=3","gravatar_id":"","url":"https://api.github.com/users/l2ol33rt","html_url":"https://github.com/l2ol33rt","followers_url":"https://api.github.com/users/l2ol33rt/followers","following_url":"https://api.github.com/users/l2ol33rt/following{/other_user}","gists_url":"https://api.github.com/users/l2ol33rt/gists{/gist_id}","starred_url":"https://api.github.com/users/l2ol33rt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l2ol33rt/subscriptions","organizations_url":"https://api.github.com/users/l2ol33rt/orgs","repos_url":"https://api.github.com/users/l2ol33rt/repos","events_url":"https://api.github.com/users/l2ol33rt/events{/privacy}","received_events_url":"https://api.github.com/users/l2ol33rt/received_events","type":"User","site_admin":false},"repo":{"id":3491788,"name":"salt","full_name":"l2ol33rt/salt","owner":{"login":"l2ol33rt","id":1453062,"avatar_url":"https://avatars.githubusercontent.com/u/1453062?v=3","gravatar_id":"","url":"https://api.github.com/users/l2ol33rt","html_url":"https://github.com/l2ol33rt","followers_url":"https://api.github.com/users/l2ol33rt/followers","following_url":"https://api.github.com/users/l2ol33rt/following{/other_user}","gists_url":"https://api.github.com/users/l2ol33rt/gists{/gist_id}","starred_url":"https://api.github.com/users/l2ol33rt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l2ol33rt/subscriptions","organizations_url":"https://api.github.com/users/l2ol33rt/orgs","repos_url":"https://api.github.com/users/l2ol33rt/repos","events_url":"https://api.github.com/users/l2ol33rt/events{/privacy}","received_events_url":"https://api.github.com/users/l2ol33rt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/l2ol33rt/salt","description":"Central system and configuration manager ","fork":true,"url":"https://api.github.com/repos/l2ol33rt/salt","forks_url":"https://api.github.com/repos/l2ol33rt/salt/forks","keys_url":"https://api.github.com/repos/l2ol33rt/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/l2ol33rt/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/l2ol33rt/salt/teams","hooks_url":"https://api.github.com/repos/l2ol33rt/salt/hooks","issue_events_url":"https://api.github.com/repos/l2ol33rt/salt/issues/events{/number}","events_url":"https://api.github.com/repos/l2ol33rt/salt/events","assignees_url":"https://api.github.com/repos/l2ol33rt/salt/assignees{/user}","branches_url":"https://api.github.com/repos/l2ol33rt/salt/branches{/branch}","tags_url":"https://api.github.com/repos/l2ol33rt/salt/tags","blobs_url":"https://api.github.com/repos/l2ol33rt/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/l2ol33rt/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/l2ol33rt/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/l2ol33rt/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/l2ol33rt/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/l2ol33rt/salt/languages","stargazers_url":"https://api.github.com/repos/l2ol33rt/salt/stargazers","contributors_url":"https://api.github.com/repos/l2ol33rt/salt/contributors","subscribers_url":"https://api.github.com/repos/l2ol33rt/salt/subscribers","subscription_url":"https://api.github.com/repos/l2ol33rt/salt/subscription","commits_url":"https://api.github.com/repos/l2ol33rt/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/l2ol33rt/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/l2ol33rt/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/l2ol33rt/salt/issues/comments/{number}","contents_url":"https://api.github.com/repos/l2ol33rt/salt/contents/{+path}","compare_url":"https://api.github.com/repos/l2ol33rt/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/l2ol33rt/salt/merges","archive_url":"https://api.github.com/repos/l2ol33rt/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/l2ol33rt/salt/downloads","issues_url":"https://api.github.com/repos/l2ol33rt/salt/issues{/number}","pulls_url":"https://api.github.com/repos/l2ol33rt/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/l2ol33rt/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/l2ol33rt/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/l2ol33rt/salt/labels{/name}","releases_url":"https://api.github.com/repos/l2ol33rt/salt/releases{/id}","created_at":"2012-02-20T08:01:01Z","updated_at":"2015-02-07T00:00:00Z","pushed_at":"2015-02-06T23:59:55Z","git_url":"git://github.com/l2ol33rt/salt.git","ssh_url":"git@github.com:l2ol33rt/salt.git","clone_url":"https://github.com/l2ol33rt/salt.git","svn_url":"https://github.com/l2ol33rt/salt","homepage":"saltstack.org","size":35831,"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":"develop"}},"base":{"label":"saltstack:develop","ref":"develop","sha":"4afaccf6b178c5092cbaa34cc870767fdd0ce4e5","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-02-06T23:59:28Z","pushed_at":"2015-02-06T23:59:28Z","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":177523,"stargazers_count":4655,"watchers_count":4655,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1920,"mirror_url":null,"open_issues_count":2185,"forks":1920,"open_issues":2185,"watchers":4655,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/20486"},"html":{"href":"https://github.com/saltstack/salt/pull/20486"},"issue":{"href":"https://api.github.com/repos/saltstack/salt/issues/20486"},"comments":{"href":"https://api.github.com/repos/saltstack/salt/issues/20486/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack/salt/pulls/20486/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/saltstack/salt/pulls/20486/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack/salt/statuses/fbf22413485e53b51c25b4ad397dfa89aac8c575"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":2}}