{"action":"closed","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/46258","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/46258/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/46258/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/46258/events","html_url":"https://github.com/saltstack/salt/issues/46258","id":301131357,"number":46258,"title":"git_pillar_base doesn't work for values when PyYAML loads them as int/float","user":{"login":"terminalmage","id":328598,"avatar_url":"https://avatars1.githubusercontent.com/u/328598?v=4","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false},"labels":[{"id":41387723,"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":67287385,"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0","default":false},{"id":41389957,"url":"https://api.github.com/repos/saltstack/salt/labels/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9","default":false},{"id":194768197,"url":"https://api.github.com/repos/saltstack/salt/labels/Pillar","name":"Pillar","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":{"login":"terminalmage","id":328598,"avatar_url":"https://avatars1.githubusercontent.com/u/328598?v=4","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false},"assignees":[{"login":"terminalmage","id":328598,"avatar_url":"https://avatars1.githubusercontent.com/u/328598?v=4","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-28T18:23:35Z","updated_at":"2018-02-28T22:05:34Z","closed_at":"2018-02-28T22:05:34Z","author_association":"MEMBER","body":"Docker commands run from root of git checkout:\r\n\r\n```\r\n% docker run --rm -it -v $PWD:/testing terminalmage/issues:46258 cat /etc/salt/minion\r\nfile_client: local\r\n\r\ngit_pillar_base: 2017.7\r\ngit_pillar_branch: 2017.7\r\n\r\next_pillar:\r\n  - git:\r\n    - https://github.com/terminalmage/git_pillar\r\n% docker run --rm -it -v $PWD:/testing terminalmage/issues:46258 salt-call pillar.get foo\r\n[ERROR   ] Execption caught loading ext_pillar 'git':\r\n  File \"/testing/salt/pillar/__init__.py\", line 833, in ext_pillar\r\n    key)\r\n  File \"/testing/salt/pillar/__init__.py\", line 760, in _external_pillar_data\r\n    pillar_dirs)\r\n  File \"/testing/salt/pillar/git_pillar.py\", line 558, in ext_pillar\r\n    pillar.checkout()\r\n  File \"/testing/salt/utils/gitfs.py\", line 2765, in checkout\r\n    cachedir = self.do_checkout(repo)\r\n  File \"/testing/salt/utils/gitfs.py\", line 2409, in do_checkout\r\n    return repo.checkout()\r\n  File \"/testing/salt/utils/gitfs.py\", line 899, in checkout\r\n    ('origin/' + tgt_ref, 'origin/' + tgt_ref),\r\n\r\n[CRITICAL] Pillar render error: Failed to load ext_pillar git: cannot concatenate 'str' and 'float' objects\r\nlocal: \r\n```\r\n\r\nRepo can be found here: https://github.com/terminalmage/git_pillar/tree/2017.7"}}
{"actor":{"display_login":"rallytime"}}