A SaltStack formula to install and configure Alcali.
Alcali is a web based tool for monitoring and administrating Saltstack Salt.
- alcali
- alcali.user
- alcali.package
- alcali.config
- alcali.service
- alcali.clean
- alcali.user.clean
- alcali.package.clean
- alcali.config.clean
- alcali.service.clean
Meta-state (This is a state that includes other states).
This create the alcali user, installs the alcali package, manages the alcali configuration file and then starts the associated alcali service.
This state will create the alcali user only.
This state will install the alcali package only.
This state will configure the alcali service and has a dependency on alcali.install via include list.
This state will start the alcali service and has a dependency on alcali.config via include list.
Meta-state (This is a state that includes other states).
this state will undo everything performed in the alcali meta-state in reverse order, i.e. stops the service, removes the configuration file, uninstalls the package and remove the user.
This state will remove the alcali user.
This state will stop the alcali service and disable it at boot time.
This state will remove the configuration of the alcali service and has a dependency on alcali.service.clean via include list.
This state will remove the alcali package and has a dependency on alcali.config.clean via include list.
Linux testing is done with kitchen-salt.
- Ruby
- Docker
$ gem install bundler
$ bundle install
$ bin/kitchen test [platform]
Where [platform] is the platform name defined in kitchen.yml, e.g. debian-9-2019-2-py3.
Creates the docker instance and runs the template main state, ready for testing.
Runs the inspec tests on the actual instance.
Removes the docker instance.
Runs all of the stages above in one go: i.e. destroy + converge + verify + destroy.
Gives you SSH access to the instance for manual testing.
- Add multiple install options.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
If you like this project, consider donating:
via GitHub Sponsors, or
Image: Jean-Philippe WMFr, derivative work : User:Benoit Rochon CC BY-SA 4.0