Closed OPSTime closed 5 years ago
@lyddragon can you share a sanitized version of either salt://zookeeper/files/log4j.properties
or salt://zookeeper/files/zoo.cfg
so we can see how your making the jinja call?
@Ch3LL Has been added
{% set zkcluster = 'zookeeper_cluster2' %}
include:
#- sysconf.disable-transparent-hugepage
- zookeeper.jdk-8u121-linux-x64_install
- zookeeper.zookeeper_pkg-3-4-1_install
- zookeeper.zookeeper_configure
[root@iZ251zn2kpwZ zookeeper]# salt-ssh -L '192.168.0.19' state.sls zookeeper.zookeeper_cluster2_deploy
[CRITICAL] Rendering SLS 'base:zookeeper.zookeeper_configure' failed: Jinja variable 'zkcluster' is undefined
192.168.0.19:
- Rendering SLS 'base:zookeeper.zookeeper_configure' failed: Jinja variable 'zkcluster' is undefined
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Env:
Pillar:
Salt: zookeeper_configure.sls
log4j.properties
run
Result:
Retry Result: