Open mcassuto opened 9 years ago
@bechtoldt just for the record : his there an easy way to get it work quickly rather than waiting for the documentation enhancement ?
@mcassuto read https://github.com/bechtoldt/saltstack-sysctl-formula/issues/1 :)
for the records (any who will may encounter this issue), I ended up by renaming the states directory. and in my /etc/salt/master: file_roots: base:
@bechtoldt : I still get the error "Rendering SLS 'base:logstash' failed: Jinja variable 'LazyLoader' object has no attribute 'formhelper.get_defaults' "
What am I doing wrong ? (this was not cover in the other thread)
@mcassuto You need to make the directory _modules/
(from https://github.com/bechtoldt/salt-modules) available to Salt. Use Gitfs to mount the Git repository.
Still no chance:
restarted salt-master each time.... any idea ?
The Salt Package Manager might be a solution for this issue in the future. I think it's still in a very early state. I'll file some feature requests.. :)
https://github.com/saltstack/salt/issues/24896 (PR) https://github.com/saltstack/salt/issues/25210 https://github.com/saltstack/salt/issues/25211
Hi @bechtoldt ,
thx for these formuals ! Could you provide some guidances on how to use them:
1/ unable to find the logstash state unless I rename the state directory to logstash
2/ unable to get salt to know about formhelper; I get the error: "Rendering SLS 'base:logstash' failed: Jinja variable 'LazyLoader' object has no attribute 'formhelper.get_defaults' "
Here my salt config: gitfs_remotes:
file_roots: base:
Thanks a lot, Marc