{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt-winrepo-ng/issues/144","labels_url":"https://api.github.com/repos/saltstack/salt-winrepo-ng/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt-winrepo-ng/issues/144/comments","events_url":"https://api.github.com/repos/saltstack/salt-winrepo-ng/issues/144/events","html_url":"https://github.com/saltstack/salt-winrepo-ng/issues/144","id":117774587,"number":144,"title":"Allowing relocation of repo downloaded binaries","user":{"login":"johnccfm","id":8737019,"avatar_url":"https://avatars.githubusercontent.com/u/8737019?v=3","gravatar_id":"","url":"https://api.github.com/users/johnccfm","html_url":"https://github.com/johnccfm","followers_url":"https://api.github.com/users/johnccfm/followers","following_url":"https://api.github.com/users/johnccfm/following{/other_user}","gists_url":"https://api.github.com/users/johnccfm/gists{/gist_id}","starred_url":"https://api.github.com/users/johnccfm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnccfm/subscriptions","organizations_url":"https://api.github.com/users/johnccfm/orgs","repos_url":"https://api.github.com/users/johnccfm/repos","events_url":"https://api.github.com/users/johnccfm/events{/privacy}","received_events_url":"https://api.github.com/users/johnccfm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T09:31:39Z","updated_at":"2015-11-19T09:31:39Z","closed_at":null,"body":"Now that it's technically possible due to the Jinja templating, could we allow relocation of the downloaded binaries without having to fork the repo and maintain patches?\r\n\r\nFor example, lines like:\r\n\r\n    installer: 'salt://win/repo-ng/cpu-z/cpu-z_1.71.1-setup-en.exe'\r\n\r\nCould become:\r\n\r\n    installer: 'salt://{{ salt[\"pillar.get\"](\"repo_binary_root\", \"win/repo-ng\") }}/cpu-z/cpu-z_1.71.1-setup-en.exe'\r\n\r\nI don't think there's a way to fetch the actual configuration value without enabling the option that makes the master config visible on minions.\r\n\r\nIf people agree this is a reasonable idea I'd be happy to send a PR."}}