Recursive directory management doesn't apply templates
OS: Centos 6.3
Example usage:
/opt/elasticsearch:
file.recurse:
- source: salt://dist/elasticsearch/0.19.10
- user: elasticsearch
- group: elasticsearch
- include_empty: True
- template: jinja
- require:
- user: elasticsearch
The docs suggest that this should work, but when I tried it, the output files on the minion still had unprocessed jinja directives in.
yes, this should work, what salt version are you running?
0.10.4 installed from EPEL.
I've observed this happening twice now -- I can try to come up with a small illustrative example that demonstrates it happening (on my system at least).
On 26 November 2012 17:40, Thomas S Hatch [email protected] wrote:
yes, this should work, what salt version are you running?
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt/issues/2708#issuecomment-10725368.
http://tinyurl.com/andrew-clegg-linkedin | http://twitter.com/andrew_clegg
ok, I thought this was added in 0.10.5, I will confirm
Ok, template was added in 0.10.5, can you update the minion and give it another go? The default documentation is set to the latest.
Sorry, haven't had chance to do manual install yet to test this (epel is still on 0.10.4 I think) but I assume it'll be fine when I upgrade. Thanks.
On Tuesday, 27 November 2012, Thomas S Hatch wrote:
Ok, template was added in 0.10.5, can you update the minion and give it another go? The default documentation is set to the latest.
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt/issues/2708#issuecomment-10746482.
http://tinyurl.com/andrew-clegg-linkedin | http://twitter.com/andrew_clegg
Epel-testing is at 0.10.5, and it should be in Epel this week too :)
On Sat, Dec 1, 2012 at 3:41 AM, Andrew Clegg [email protected]:
Sorry, haven't had chance to do manual install yet to test this (epel is still on 0.10.4 I think) but I assume it'll be fine when I upgrade. Thanks.
On Tuesday, 27 November 2012, Thomas S Hatch wrote:
Ok, template was added in 0.10.5, can you update the minion and give it another go? The default documentation is set to the latest.
— Reply to this email directly or view it on GitHub< https://github.com/saltstack/salt/issues/2708#issuecomment-10746482>.
http://tinyurl.com/andrew-clegg-linkedin | http://twitter.com/andrew_clegg
—
Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt/issues/2708#issuecomment-10915753.