saltstack-formulas / alcali-formula

Saltstack formula to install Alcali: a web based tool(GUI) for monitoring and administrating Saltstack Salt.
https://alcali.dev
MIT License
10 stars 20 forks source link

Yaml Grammar Bug #13

Open DesireWithin opened 2 years ago

DesireWithin commented 2 years ago

I try to run state.show_sls alcali.clean. I believe there is a bug at https://github.com/saltstack-formulas/alcali-formula/blob/2309b9535e3282c8606d8736d0489c11ced8569f/alcali/package/clean.sls#L31 and https://github.com/saltstack-formulas/alcali-formula/blob/2309b9535e3282c8606d8736d0489c11ced8569f/alcali/package/clean.sls#L35

Missing whitespace after "-"

DesireWithin commented 2 years ago

What the f…… alcali.clean also uninstall salt-master and salt-minion……

DesireWithin commented 2 years ago

After run clean, the returners.mysql can not be loaded, I guess some dependency is missing. But I have re-installed

  • git
    • gcc
    • virtualenv
    • python-pip
    • python3-pip
    • python3-virtualenv
    • mysql-devel
    • python3-devel
    • MySQL-python

Still don't work. I'm using oracle linux 7.9 and saltstack 3003.2

DesireWithin commented 2 years ago

After run clean, the returners.mysql can not be loaded, I guess some dependency is missing. But I have re-installed

  • git
    • gcc
    • virtualenv
    • python-pip
    • python3-pip
    • python3-virtualenv
    • mysql-devel
    • python3-devel
    • MySQL-python

Still don't work. I'm using oracle linux 7.9 and saltstack 3003.2

Read returned.mysql code, I install pymysql by pip, and issue was gone. It's look formula remove pymysql in wrong env.