salt-formulas / salt-formula-rabbitmq

Other
4 stars 29 forks source link

MOS compat #8

Open cznewt opened 8 years ago

elemoine commented 8 years ago

With this patch I get this error when applying the rabbitmq state:

[cfg01 ~]# salt 'ctl*' state.sls rabbitmq
[ERROR   ] Data passed to highstate outputter is not a valid highstate return: {'ctl02.mk20-stacklight-basic.local': ["Rendering SLS 'base:rabbitmq.server.vhost' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'pkg.version_installed'", "Rendering SLS 'base:rabbitmq.server.user' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'pkg.version_installed'"]}
[ERROR   ] Data passed to highstate outputter is not a valid highstate return: {'ctl03.mk20-stacklight-basic.local': ["Rendering SLS 'base:rabbitmq.server.vhost' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'pkg.version_installed'", "Rendering SLS 'base:rabbitmq.server.user' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'pkg.version_installed'"]}
[ERROR   ] Data passed to highstate outputter is not a valid highstate return: {'ctl01.mk20-stacklight-basic.local': ["Rendering SLS 'base:rabbitmq.server.vhost' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'pkg.version_installed'", "Rendering SLS 'base:rabbitmq.server.user' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'pkg.version_installed'"]}
ERROR: Minions returned with non-zero exit code

And I get no error without this patch.