{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/32772","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/32772/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/32772/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/32772/events","html_url":"https://github.com/saltstack/salt/pull/32772","id":150356010,"number":32772,"title":"Server Density agentv2 support","user":{"login":"carlosperello","id":776662,"avatar_url":"https://avatars.githubusercontent.com/u/776662?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosperello","html_url":"https://github.com/carlosperello","followers_url":"https://api.github.com/users/carlosperello/followers","following_url":"https://api.github.com/users/carlosperello/following{/other_user}","gists_url":"https://api.github.com/users/carlosperello/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosperello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosperello/subscriptions","organizations_url":"https://api.github.com/users/carlosperello/orgs","repos_url":"https://api.github.com/users/carlosperello/repos","events_url":"https://api.github.com/users/carlosperello/events{/privacy}","received_events_url":"https://api.github.com/users/carlosperello/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bugfix%20-%20[Done]%20back-ported","name":"Bugfix - [Done] back-ported","color":"5319e7"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Pending%20Discussion","name":"Pending Discussion","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-22T12:28:54Z","updated_at":"2016-05-17T15:26:20Z","closed_at":"2016-04-22T18:50:03Z","pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/32772","html_url":"https://github.com/saltstack/salt/pull/32772","diff_url":"https://github.com/saltstack/salt/pull/32772.diff","patch_url":"https://github.com/saltstack/salt/pull/32772.patch"},"body":"### What does this PR do?\r\n\r\nIt improves serverdensity integration, doing some small bug fixing on the existing code and adding support to the agentv2 installation.\r\n\r\n### What issues does this PR fix or reference?\r\nNone\r\n\r\n### New Behavior\r\nThe pillar settings are different if it's a v1 or a v2 agent. By default everything works as without this patch and installs a v1 agent, but if the user tags a server state with agent_version: 2 the code will require an account_name entry on the pillar data.\r\n\r\n\r\n### Tests written?\r\n\r\nYes, however I didn't manage to get them executed to verify them. I tried different options without success after following the instructions at https://docs.saltstack.com/en/latest/topics/development/hacking.html#running-unit-and-integration-tests without much luck :("},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/219754004","html_url":"https://github.com/saltstack/salt/pull/32772#issuecomment-219754004","issue_url":"https://api.github.com/repos/saltstack/salt/issues/32772","id":219754004,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T15:26:20Z","updated_at":"2016-05-17T15:26:20Z","body":"Hi all - back-port to 2016.3 is in #33303. :)"}}