{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/28807","labels_url":"https://api.github.com/repos/saltstack/salt/issues/28807/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/28807/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/28807/events","html_url":"https://github.com/saltstack/salt/issues/28807","id":116453630,"number":28807,"title":"pkg.installed fails under 2015.8.1 with \"-\" in the key name","user":{"login":"bocig","id":9275427,"avatar_url":"https://avatars.githubusercontent.com/u/9275427?v=3","gravatar_id":"","url":"https://api.github.com/users/bocig","html_url":"https://github.com/bocig","followers_url":"https://api.github.com/users/bocig/followers","following_url":"https://api.github.com/users/bocig/following{/other_user}","gists_url":"https://api.github.com/users/bocig/gists{/gist_id}","starred_url":"https://api.github.com/users/bocig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bocig/subscriptions","organizations_url":"https://api.github.com/users/bocig/orgs","repos_url":"https://api.github.com/users/bocig/repos","events_url":"https://api.github.com/users/bocig/events{/privacy}","received_events_url":"https://api.github.com/users/bocig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-12T00:36:50Z","updated_at":"2015-11-12T00:36:50Z","closed_at":null,"body":"There seems to be a bug in 2015.8.1 with pkg.installed when there is a \"-\" in the name of the source package key. For example \r\n\r\naspera-pkg:\r\n  pkg.installed:\r\n    - sources:\r\n      - aspera-scp-p2p: salt://aspera/files/aspera-scp-p2p-3.5-linux-64.rpm\r\n\r\n----------\r\nID: aspera-pkg\r\nFunction: pkg.installed\r\nResult: False\r\nComment: Unable to cache salt://aspera/files/aspera-scp-p2p-3.5-linux-64.rpm: file not found\r\nStarted: 16:29:40.219177\r\nDuration: 2057.501 ms\r\nChanges:\r\n\r\nMy understanding is that the problem is with this line:\r\n      - aspera-scp-p2p: salt://aspera/files/aspera-scp-p2p-3.5-linux-64.rpm\r\nbecause of the '-' in the key.\r\n\r\nThanks!\r\n\r\n\r\nSalt Version:\r\n  Salt: 2015.8.1\r\n \r\nDependency Versions:\r\n  Jinja2: 2.8\r\n  M2Crypto: Not Installed\r\n  Mako: 1.0.1\r\n  PyYAML: 3.10\r\n  PyZMQ: 14.6.0\r\n  Python: 2.7.10 (default, Oct 26 2015, 11:46:29)\r\n  RAET: Not Installed\r\n  Tornado: 4.2.1\r\n  ZMQ: 4.0.5\r\n  cffi: Not Installed\r\n  cherrypy: Not Installed\r\n  dateutil: Not Installed\r\n  gitdb: Not Installed\r\n  gitpython: Not Installed\r\n  ioflo: 1.2.4\r\n  libnacl: Not Installed\r\n  msgpack-pure: Not Installed\r\n  msgpack-python: 0.4.6\r\n  mysql-python: Not Installed\r\n  pycparser: Not Installed\r\n  pycrypto: 2.6.1\r\n  pygit2: Not Installed\r\n  python-gnupg: Not Installed\r\n  smmap: Not Installed\r\n  timelib: Not Installed\r\n \r\nSystem Versions:\r\n  dist: centos 6.4 Final\r\n  machine: x86_64\r\n  release: 2.6.32-358.23.2.el6.x86_64\r\n  system: CentOS 6.4 Final\r\n\r\n\r\n"}}