{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/6955","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/6955/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/6955/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/6955/events","html_url":"https://github.com/saltstack/salt/issues/6955","id":18751693,"number":6955,"title":"Ability for pillar to read other pillar values","user":{"login":"alienzrcoming","id":2956082,"avatar_url":"https://avatars.githubusercontent.com/u/2956082?v=3","gravatar_id":"","url":"https://api.github.com/users/alienzrcoming","html_url":"https://github.com/alienzrcoming","followers_url":"https://api.github.com/users/alienzrcoming/followers","following_url":"https://api.github.com/users/alienzrcoming/following{/other_user}","gists_url":"https://api.github.com/users/alienzrcoming/gists{/gist_id}","starred_url":"https://api.github.com/users/alienzrcoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alienzrcoming/subscriptions","organizations_url":"https://api.github.com/users/alienzrcoming/orgs","repos_url":"https://api.github.com/users/alienzrcoming/repos","events_url":"https://api.github.com/users/alienzrcoming/events{/privacy}","received_events_url":"https://api.github.com/users/alienzrcoming/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Feature","name":"Feature","color":"009800"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P1","name":"P1","color":"2181ee"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Pillar","name":"Pillar","color":"006b75"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Renderers","name":"Renderers","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":3221,"closed_issues":4077,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-10-13T22:36:36Z","due_on":null,"closed_at":null},"comments":33,"created_at":"2013-08-29T19:21:39Z","updated_at":"2016-10-14T13:52:50Z","closed_at":null,"body":"Hi, I have a number of states that could be greatly simplified if pillar could read other pillar values.  One use case example is I have a \"walt_warning\" pillar value which i populate in all managed files.  I have several pillar values that declare the entire contents of files which are referenced by jinja templates, and instead of having to populate each instances of this with the contents of the salt_warning value, it'd be much easier to just list it as {{ pillar['salt_warning'] }} in the pillar value itself.\r\n\r\nAnother example would be a situation where pillar declares values that are dependent on another pillar variable the declares the environment a system is in (eg test, staging, live), which is also declared in pillar.\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/253804856","html_url":"https://github.com/saltstack/salt/issues/6955#issuecomment-253804856","issue_url":"https://api.github.com/repos/saltstack/salt/issues/6955","id":253804856,"user":{"login":"ketzacoatl","id":10122937,"avatar_url":"https://avatars.githubusercontent.com/u/10122937?v=3","gravatar_id":"","url":"https://api.github.com/users/ketzacoatl","html_url":"https://github.com/ketzacoatl","followers_url":"https://api.github.com/users/ketzacoatl/followers","following_url":"https://api.github.com/users/ketzacoatl/following{/other_user}","gists_url":"https://api.github.com/users/ketzacoatl/gists{/gist_id}","starred_url":"https://api.github.com/users/ketzacoatl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketzacoatl/subscriptions","organizations_url":"https://api.github.com/users/ketzacoatl/orgs","repos_url":"https://api.github.com/users/ketzacoatl/repos","events_url":"https://api.github.com/users/ketzacoatl/events{/privacy}","received_events_url":"https://api.github.com/users/ketzacoatl/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T13:52:50Z","updated_at":"2016-10-14T13:52:50Z","body":"FWIW, reclass has the code to show us how to construct the tree and walk it."}}
{"actor":{"display_login":"ketzacoatl"}}