Skip to content
Saltstack formula to install Alcali: a web based tool(GUI) for monitoring and administrating Saltstack Salt.
SaltStack Ruby HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
alcali
bin
test
.gitignore
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
VERSION
kitchen.yml
pillar.example

README.md

Alcali formula

Build Status

A SaltStack formula to install and configure Alcali.

Alcali is a web based tool for monitoring and administrating Saltstack Salt.

Available states

Testing

Requirements

Alcali

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.

alcali.user

This state will create the alcali user only.

alcali.package

This state will install the alcali package only.

alcali.config

This state will configure the alcali service and has a dependency on alcali.install via include list.

alcali.service

This state will start the alcali service and has a dependency on alcali.config via include list.

alcali.clean

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.

alcali.user.clean

This state will remove the alcali user.

alcali.service.clean

This state will stop the alcali service and disable it at boot time.

alcali.config.clean

This state will remove the configuration of the alcali service and has a dependency on alcali.service.clean via include list.

alcali.package.clean

This state will remove the alcali package and has a dependency on alcali.config.clean via include list.

Testing

Linux testing is done with kitchen-salt.

Requirements

  • 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.

bin/kitchen converge

Creates the docker instance and runs the template main state, ready for testing.

bin/kitchen verify

Runs the inspec tests on the actual instance.

bin/kitchen destroy

Removes the docker instance.

bin/kitchen test

Runs all of the stages above in one go: i.e. destroy + converge + verify + destroy.

bin/kitchen login

Gives you SSH access to the instance for manual testing.

TODO:

  • Add multiple install options.

Image: Jean-Philippe WMFr, derivative work : User:Benoit Rochon CC BY-SA 4.0

You can’t perform that action at this time.