You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Salt-SSH does some magical override-fu on pillars & grains.
This is the most likely cause for the fact that both the pillar and grain module cannot be used in conjunction with Jinja2's property-like syntax.
thiswontwork:
<function caller at 0x7f4edb3a0848>
neitherwillthis:
<function caller at 0x7f4edb3a0848>
thiswill:
False
thistoo:
False
andthis:
True
Versions Report
Salt Version:
Salt: 2016.11.0 # It actually came from the git branch
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.4.2
gitdb: 0.6.4
gitpython: 2.0.5
ioflo: Not Installed
Jinja2: 2.8
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.24.0
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pygit2: Not Installed
Python: 2.7.12+ (default, Sep 17 2016, 12:08:02)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.2.0
RAET: Not Installed
smmap: 0.9.0
timelib: Not Installed
Tornado: 4.4.2
ZMQ: 4.2.0
System Versions:
dist: Ubuntu 16.10 yakkety
machine: x86_64
release: 4.8.0-39-generic
system: Linux
version: Ubuntu 16.10 yakkety
The client is a Yakkety VM w/Py3 and Py2 installed.
Only pillar_roots is active & used, no ext_pillars.
The text was updated successfully, but these errors were encountered:
@gtmanfred this is a 'regular' SLS file, so state.sls imateapot or something like that ;)
The-Loeki
changed the title
Salt-SSH pillar.get func borks as it returns a function wrapper
Salt-SSH Jinja2 pillar/grains module property-like loading borks as it returns a function wrapper
Mar 8, 2017
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.
Salt-SSH does some magical override-fu on pillars & grains.
This is the most likely cause for the fact that both the pillar and grain module cannot be used in conjunction with Jinja2's property-like syntax.
Reproduce
Output roughly:
Versions Report
The client is a
Yakkety
VM w/Py3 and Py2 installed.Only pillar_roots is active & used, no ext_pillars.
The text was updated successfully, but these errors were encountered: