{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/28504","labels_url":"https://api.github.com/repos/saltstack/salt/issues/28504/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/28504/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/28504/events","html_url":"https://github.com/saltstack/salt/issues/28504","id":114691867,"number":28504,"title":"salt-ssh pkgrepo.managed doesn't work","user":{"login":"jeffreyctang","id":4909003,"avatar_url":"https://avatars.githubusercontent.com/u/4909003?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyctang","html_url":"https://github.com/jeffreyctang","followers_url":"https://api.github.com/users/jeffreyctang/followers","following_url":"https://api.github.com/users/jeffreyctang/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyctang/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyctang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyctang/subscriptions","organizations_url":"https://api.github.com/users/jeffreyctang/orgs","repos_url":"https://api.github.com/users/jeffreyctang/repos","events_url":"https://api.github.com/users/jeffreyctang/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyctang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-02T21:50:16Z","updated_at":"2015-11-02T22:34:05Z","closed_at":"2015-11-02T22:33:53Z","body":"This is with 2015.8. I have the following state file:   ossec-client.sls:\r\n```\r\nossec-client:\r\n  pkgrepo.managed:\r\n    - humanname: OSSEC Client\r\n    - name: deb http://ossec.wazuh.com/repos/apt/ubuntu trusty main\r\n    - key_url: http://ossec.wazuh.com/repos/apt/conf/ossec-key.gpg.key\r\n    - file: /etc/apt/sources.list\r\n```\r\nWhen I run via salt-ssh I get:\r\n```\r\nip-10-0-5-25.ec2.internal_ids-client_testing:\r\n----------\r\n          ID: ossec-client\r\n    Function: pkgrepo.managed\r\n        Name: deb http://ossec.wazuh.com/repos/apt/ubuntu trusty main\r\n      Result: False\r\n     Comment: Failed to configure repo 'deb http://ossec.wazuh.com/repos/apt/ubuntu trusty main': 'text'\r\n     Started: 21:45:56.072764\r\n    Duration: 65.991 ms\r\n     Changes:\r\n```\r\n\r\nWhen I run the same state locally on a minion with salt-call --local, it works.\r\n\r\nsalt-ssh is 2015.8.0 installed from a clone of the git repo.\r\n\r\nsalt-call is 2015.8.1 installed from repo.saltstack.com"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/153179128","html_url":"https://github.com/saltstack/salt/issues/28504#issuecomment-153179128","issue_url":"https://api.github.com/repos/saltstack/salt/issues/28504","id":153179128,"user":{"login":"jeffreyctang","id":4909003,"avatar_url":"https://avatars.githubusercontent.com/u/4909003?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyctang","html_url":"https://github.com/jeffreyctang","followers_url":"https://api.github.com/users/jeffreyctang/followers","following_url":"https://api.github.com/users/jeffreyctang/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyctang/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyctang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyctang/subscriptions","organizations_url":"https://api.github.com/users/jeffreyctang/orgs","repos_url":"https://api.github.com/users/jeffreyctang/repos","events_url":"https://api.github.com/users/jeffreyctang/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyctang/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T22:34:05Z","updated_at":"2015-11-02T22:34:05Z","body":"Seems to actually be fixed in 2015.8.1"}}