latenighttales / alcali

Featureful Saltstack GUI
https://alcali.dev
MIT License
356 stars 61 forks source link

[Question] how are minions. #279

Closed pjanzen closed 3 years ago

pjanzen commented 3 years ago

Hi,

I have successfully manages to setup Alcali and are able to login with the ldap backend. However, when I click on minions for example I do not see any data. How is this data is collected? Is this scheduled?

Regards, Paul.

rosscdh commented 3 years ago

its hooked up to a mysql database; so you need to also configure salt to use the mysql backend so that runs and other data are stored there (in the docs i believe)

rosscdh commented 3 years ago

you will also need to setup the database schema you find at https://alcali.dev/installation/

master.conf

master_job_cache: mysql

mysql.host: 'mariadb'
mysql.user: 'alcali'
mysql.pass: '.......'
mysql.db: 'salt'
mysql.port: 3306

external_auth:
  alcali:
    admin: # <-- thats your username (needs to exist in alcali db)
      - .*
      - '@runner'
      - '@wheel'