{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/172","labels_url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/172/comments","events_url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/172/events","html_url":"https://github.com/saltstack-formulas/salt-formula/issues/172","id":102514369,"number":172,"title":"salt.minion fails when applied with salt-ssh","user":{"login":"TimJones","id":113170,"avatar_url":"https://avatars.githubusercontent.com/u/113170?v=3","gravatar_id":"","url":"https://api.github.com/users/TimJones","html_url":"https://github.com/TimJones","followers_url":"https://api.github.com/users/TimJones/followers","following_url":"https://api.github.com/users/TimJones/following{/other_user}","gists_url":"https://api.github.com/users/TimJones/gists{/gist_id}","starred_url":"https://api.github.com/users/TimJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimJones/subscriptions","organizations_url":"https://api.github.com/users/TimJones/orgs","repos_url":"https://api.github.com/users/TimJones/repos","events_url":"https://api.github.com/users/TimJones/events{/privacy}","received_events_url":"https://api.github.com/users/TimJones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-22T08:16:58Z","updated_at":"2015-08-25T19:16:43Z","closed_at":null,"body":"I just posted [this issue with SaltStack](https://github.com/saltstack/salt/issues/26585)  as I believe the bug exists in `salt-ssh` rather than in this formula directly. This is really just for visibility.\r\n\r\nBrief summary:\r\nWhen calling salt.minion via `salt-ssh`, the `formulas.jinja` file is not included and so the `minion.d/f_defaults.conf` file fails to render.\r\n\r\nWorkaround is to simply modify the following lines in `salt/files/minion.d/f_defaults.conf`:\r\n```diff\r\n@@ -12,7 +12,6 @@\r\n #{{ configname }}: {{ default_value }}\r\n {%- endif -%}\r\n {%- endmacro -%}\r\n-{%- from 'salt/formulas.jinja' import file_roots, formulas with context -%}\r\n ##### Primary configuration settings #####\r\n ##########################################\r\n\r\n@@ -235,8 +234,6 @@ file_client: local\r\n {{ file_roots(cfg_minion['file_roots']) }}\r\n {%- elif 'file_roots' in cfg_salt -%}\r\n {{ file_roots(cfg_salt['file_roots']) }}\r\n-{%- elif formulas|length -%}\r\n-{{ file_roots({'base': ['/srv/salt']}) }}\r\n {%- endif %}\r\n\r\n # limit fileserver traversal\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/comments/134706119","html_url":"https://github.com/saltstack-formulas/salt-formula/issues/172#issuecomment-134706119","issue_url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/172","id":134706119,"user":{"login":"iggy","id":20441,"avatar_url":"https://avatars.githubusercontent.com/u/20441?v=3","gravatar_id":"","url":"https://api.github.com/users/iggy","html_url":"https://github.com/iggy","followers_url":"https://api.github.com/users/iggy/followers","following_url":"https://api.github.com/users/iggy/following{/other_user}","gists_url":"https://api.github.com/users/iggy/gists{/gist_id}","starred_url":"https://api.github.com/users/iggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iggy/subscriptions","organizations_url":"https://api.github.com/users/iggy/orgs","repos_url":"https://api.github.com/users/iggy/repos","events_url":"https://api.github.com/users/iggy/events{/privacy}","received_events_url":"https://api.github.com/users/iggy/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T19:16:43Z","updated_at":"2015-08-25T19:16:43Z","body":"Think yours might be a different problem... that's map.jinja (vs formulas.jinja)"}}