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
With this patch I get this error when applying the rabbitmq state:
And I get no error without this patch.