lfzyx / ButterSalt

ButterSalt is a GUI Devops tool based on the SaltStack
https://lfzyx.github.io/ButterSalt/
MIT License
10 stars 8 forks source link
devops flask gui-devops python saltstack

ButterSalt

Build Status

ButterSalt is a GUI Devops tool based on the SaltStack netapi.rest_cherrypy

ButterSalt uses the flask web framework

A full-access access for linux user lfzyx need to add the following configuration items to the /etc/salt/master configuration file::

external_auth:
  pam:
    lfzyx:
        - .*
        - '@runner'
        - '@wheel'

rest_cherrypy:
  port: 8000
  disable_ssl: True

You need to replace the lfzyx with the user on the salt-master server

Install

git clone https://github.com/lfzyx/ButterSalt.git

pip3 install -r requirements.txt

edit the config.py and modify the SALT_API option to you salt api address

python3 manage.py runserver

Docker

docker pull lfzyx/buttersalt

docker run --env DASHBOARD_ADMIN=USERNAME:PASSWD --env SALT_API_URI=http://Pam-USERNAME:Pam-PASSWD@URL:PORT -p 5000:5000 lfzyx/buttersalt