本文介绍了如何在不应用盐堆栈的情况下渲染和转储文件sls的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
考虑到使用saltstack进行jinja模板的灵活性如何,并且将许多支柱变量合并到模板中;我会发现在我将其推出之前先撒些盐以渲染"整个sls很有用.有办法吗?
Given how flexible jinja templating can be with saltstack and the numerous pillar variables are merged into the template; I would find it useful to be able to get salt to 'render' the full sls out to screen before i push it out. Is there a way of doing this?
推荐答案只需回答我自己的问题:我知道 state.show_top .因此,我尝试了 state.show_sls ,瞧!正是我所追求的.
Just to answer my own question: I knew that state.show_top existed. So I tried state.show_sls, and voila! Exactly what I'm after.
更多推荐
如何在不应用盐堆栈的情况下渲染和转储文件sls
发布评论