Open preussal opened 3 years ago
Can you raise PR please?
@noelmcloughlin This isn't a simple fix as mentioned above. This regression has been introduced by the merge of #185, which was actually based around mysql
being the following (as opposed to the whole map):
{%- set mysql = salt['grains.filter_by'](rawmap, grain='os', merge=salt['pillar.get']('mysql:lookup')) %}
This version of the file is from around that time:
After the update "Merge branch 'master' into master" there is an error https://github.com/saltstack-formulas/mysql-formula/commit/9bc73338f26ce5ab2652062b2842cb603135cf7f
Change in mysql/server.sls the line From
elif mysql.server.startswith('percona-server-server') %}
toelif mysql.server.startswith is defined and mysql.server.startswith('percona-server-server') %}
then it works