saltstack-formulas / mysql-formula

Install the MySQL client and/or server
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
85 stars 369 forks source link

Specified SLS 'mysql' in environment 'base' is not available on the salt master #241

Closed smanda-tc closed 4 years ago

smanda-tc commented 4 years ago

Can anyone point to a documentation on usage of this formula. I read the docs section and README but when i used mysql.server state in one of my state file i got the following errors. Newbie to saltstack and state files

Following is the pillar top.sls

base:
  '*':
    - debconf
    - mysql

Following is the state top.sls

base:
  '*':
    - mysql.server

Following is the debconf file

debconf-utils: pkg.installed
mysql-server: pkg.installed
mysql-client: pkg.installed

Error Received

Specified SLS 'debconf' in environment 'base' is not available on the salt master[0m
[ERROR   ] Template was specified incorrectly: False[0m
[ERROR   ] Specified SLS 'mysql' in environment 'base' is not available on the salt master[0m
[ERROR   ] Template was specified incorrectly: False[0m
[CRITICAL] Pillar render error: Specified SLS 'debconf' in environment 'base' is not available on the salt master[0m
[CRITICAL] Pillar render error: Specified SLS 'mysql' in environment 'base' is not available on the salt master