{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/23842","labels_url":"https://api.github.com/repos/saltstack/salt/issues/23842/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/23842/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/23842/events","html_url":"https://github.com/saltstack/salt/issues/23842","id":77528773,"number":23842,"title":"ext_pillar gitfs: Unable to checkout branch None","user":{"login":"dhs-rec","id":7554110,"avatar_url":"https://avatars.githubusercontent.com/u/7554110?v=3","gravatar_id":"","url":"https://api.github.com/users/dhs-rec","html_url":"https://github.com/dhs-rec","followers_url":"https://api.github.com/users/dhs-rec/followers","following_url":"https://api.github.com/users/dhs-rec/following{/other_user}","gists_url":"https://api.github.com/users/dhs-rec/gists{/gist_id}","starred_url":"https://api.github.com/users/dhs-rec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhs-rec/subscriptions","organizations_url":"https://api.github.com/users/dhs-rec/orgs","repos_url":"https://api.github.com/users/dhs-rec/repos","events_url":"https://api.github.com/users/dhs-rec/events{/privacy}","received_events_url":"https://api.github.com/users/dhs-rec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Info%20Needed","name":"Info Needed","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestones/Blocked","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"number":37,"title":"Blocked","description":"Issues which are blocked in some way, whether they need further discussion, clarification, justification, or are blocked for some other reason.","creator":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"open_issues":233,"closed_issues":558,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2015-05-20T05:09:10Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-05-18T06:50:43Z","updated_at":"2015-05-20T05:51:02Z","closed_at":null,"body":"I've got a problem with git based external pillar in 2015.5.0. I've setup two external pillars, one based on MongoDB, the other one based on git. When looking at pillar items for a given minion (\"salt minion pillar.items\"), I only get the ones from the MongoDB pillar (and from the masters filesystem), but not the ones from git.\r\n\r\nI have the following lines in the master config file:\r\n```\r\next_pillar:\r\n  - mongo: {}\r\n  - git: __env__ github:organization/salt-test.git root=pillar\r\n```\r\nand both the filesystem and git repository contain a top.sls with this content:\r\n```\r\n{{ env }}:\r\n  '*':\r\n    - data\r\n```\r\nThe master log file contains this line:\r\n```\r\n[ERROR   ][31414] Unable to checkout branch None: 'git checkout origin/None' returned exit status 1: error: pathspec 'origin/None' did not match any file(s) known to git.\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/103769844","html_url":"https://github.com/saltstack/salt/issues/23842#issuecomment-103769844","issue_url":"https://api.github.com/repos/saltstack/salt/issues/23842","id":103769844,"user":{"login":"dhs-rec","id":7554110,"avatar_url":"https://avatars.githubusercontent.com/u/7554110?v=3","gravatar_id":"","url":"https://api.github.com/users/dhs-rec","html_url":"https://github.com/dhs-rec","followers_url":"https://api.github.com/users/dhs-rec/followers","following_url":"https://api.github.com/users/dhs-rec/following{/other_user}","gists_url":"https://api.github.com/users/dhs-rec/gists{/gist_id}","starred_url":"https://api.github.com/users/dhs-rec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhs-rec/subscriptions","organizations_url":"https://api.github.com/users/dhs-rec/orgs","repos_url":"https://api.github.com/users/dhs-rec/repos","events_url":"https://api.github.com/users/dhs-rec/events{/privacy}","received_events_url":"https://api.github.com/users/dhs-rec/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T05:51:02Z","updated_at":"2015-05-20T05:51:02Z","body":"Versions:\r\n```\r\n# salt --versions-report\r\n                  Salt: 2015.5.0\r\n                Python: 2.7.6 (default, Mar 22 2014, 22:59:56)\r\n                Jinja2: 2.7.2\r\n              M2Crypto: 0.21.1\r\n        msgpack-python: 0.3.0\r\n          msgpack-pure: Not Installed\r\n              pycrypto: 2.6.1\r\n               libnacl: Not Installed\r\n                PyYAML: 3.10\r\n                 ioflo: Not Installed\r\n                 PyZMQ: 14.0.1\r\n                  RAET: Not Installed\r\n                   ZMQ: 4.0.4\r\n                  Mako: 0.9.1\r\n Debian source package: 2015.5.0+ds-1trusty1\r\n```\r\nYes, I've looked at those docs, that's the reason why I did this setup in the first place. Oh, talking about the docs: I think there's an error in the new layout. Near the top of the page, it says:\r\n> Changed in version 2015.5.0: The special branch name '`__env__`' will be replace by the environment ({{env}})\r\n\r\nThen later, the example looks like:\r\n```\r\next_pillar:\r\n  - git: _ git://gitserver/git-pillar.git root=pillar\r\n```\r\nLooks like the `__env__` (as it looked like in the old layout) has turned into an single `_` in the new layout..."}}