Closed OPSTime closed 5 years ago
{% 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 undefin
@lyddragon Thanks for the report. Can you confirm that the pillar values are available when you run pillar.items
or pillar.get
against the minion in question?
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.
I also get error . salt-master version :- salt-master 2016.11.3 (Carbon) and salt-master version :- salt-master 2016.11.3 (Carbon)
Rendering SLS 'base:ldap' failed: Jinja variable 'dict object' has no attribute 'roles'
Env:
Pillar:
Salt: zookeeper_configure.sls
log4j.properties
run
Result:
Retry Result: