Skip to content

saemx/saemref-formula

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saemref-formula

A saltstack formula handling installation of saem_ref.

Available states

Installs the saemref package from logilab repositories and create an instance.

Manage instance configuration files.

Install and manage supervisor configuration for the saemref installation.

Testing

The script run-test.py can help to develop and test the formula using docker and testinfra.

The command ./run-test.py dev centos6 will build image from test/centos6.Dockerfile and span a shell in a new container with mounted volumes from the host (so you can develop formula on the host and test it in the container with salt-call).

The command ./run-test.py dev centos6 --salt is the same as above but will provision the container (eg. calling salt-call state.highstate)

The command ./run-test.py test centos6 built a provisioned image (highstate) and run testinfra tests on it.

Note that you can add any parameters that testinfra (pytest) accept, for instance ./run-test.py test centos6 -k idempotence --pdb.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.4%
  • Python 2.5%
  • SaltStack 1.8%
  • HTML 0.3%