-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find "mysql/defaults.yaml" during mysql.server state #92
Comments
mysql/defaults.yaml
during mysql.server state
Tried with different salt version without success:
|
I'll try to take a look at this sometimes this week, @iggy this is similar to the other issue with this same problem, however @ogabrielsantos hasn't tried workarounds so we have a clean slate, any suggestions/insight? |
change the file root ? root_dir: . |
@puneetk srv/salt/formulas/mysql-formula refer to a git module clone inside formulas. Changing to srv/salt/formulas will invalidate the formula/state.
|
I find it interesting that this issue exists: saltstack/salt#21370. @ogabrielsantos can you spin a VM and install a minion then try from there? So via salt itself, and not salt-ssh? |
I'll try as soon as possible @gravyboat I don't think that this is a issue related to etc/salt/master
srv/salt/states/top.sls
srv/salt/states/sample/init.sls
srv/salt/states/sample/sample.cnf
srv/salt/states/sample/sample.jinja
|
@ogabrielsantos Interesting, thanks for testing that. I'm headed out for the evening, let me know what it looks like when you're able to test with the minion. |
Currently confirmed that CentOS 6.7 (minion) works fine with a CentOS 7 (master) using both salt and salt-ssh. Maybe it is a Saltstack dependency related issue? Minion
Master
|
I've patched this workaround which remove
|
Editing
Maybe documentation could be improved or templating file inclusion avoided in order to prevent future issues to be opened. If there are no new considerations this issue can be closed. Thanks. |
@ogabrielsantos This only had to be added for salt-ssh though right? Worked fine with the master/minion and masterless? |
@gravyboat Yep. Currently only salt-ssh needs the |
Hmm, this is very interesting. I don't really FEEL like you should have to do that. I'm going to leave this open for right now and comment in the other issue. Stealing your |
There have been a couple issues in the past about |
@iggy Yeah that would probably be a good plan until we see what happens with saltstack/salt#21370 |
I can't install MySQL server because Jinja can't find
mysql/defaults.yaml
(related with this not solved but closed issue)Currently I've tested this with a clean new VM deploying from my notebook (thanks to salt-ssh) without success.
I hope that this can be solved.
etc/salt/master
srv/salt/states/top.sls
srv/salt/pillars/top.sls
srv/salt/pillars/database.sls
Error:
salt-ssh --versions-report
The text was updated successfully, but these errors were encountered: