All Projects → saltstack-formulas → keepalived-formula

saltstack-formulas / keepalived-formula

Licence: Apache-2.0 license
docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Programming Languages

Jinja
831 projects
ruby
36898 projects - #4 most used programming language
javascript
184084 projects - #8 most used programming language
SaltStack
118 projects
shell
77523 projects

Projects that are alternatives of or similar to keepalived-formula

Smcsystem
运维使用的主机与应用管理系统
Stars: ✭ 105 (+707.69%)
Mutual labels:  saltstack
Pytest Testinfra
With Testinfra you can write unit tests in Python to test actual state of your servers configured by management tools like Salt, Ansible, Puppet, Chef and so on.
Stars: ✭ 1,987 (+15184.62%)
Mutual labels:  saltstack
Alcali
Featureful Saltstack GUI
Stars: ✭ 218 (+1576.92%)
Mutual labels:  saltstack
Salt Security Backports
Salt security backports for CVE-2020-11651 & CVE-2020-11652
Stars: ✭ 109 (+738.46%)
Mutual labels:  saltstack
Salty Wordpress
A flavorful way to manage your entire WordPress stack.
Stars: ✭ 128 (+884.62%)
Mutual labels:  saltstack
Saltshaker api
saltshaker_plus restful api
Stars: ✭ 177 (+1261.54%)
Mutual labels:  saltstack
Mysql Formula
Install the MySQL client and/or server
Stars: ✭ 80 (+515.38%)
Mutual labels:  saltstack
ceph-formula
docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Stars: ✭ 14 (+7.69%)
Mutual labels:  saltstack
Nginx Formula
Nginx Salt Formula
Stars: ✭ 145 (+1015.38%)
Mutual labels:  saltstack
Metalk8s
An opinionated Kubernetes distribution with a focus on long-term on-prem deployments
Stars: ✭ 217 (+1569.23%)
Mutual labels:  saltstack
Napalm Salt
Modules for event-driven network automation and orchestration using Salt
Stars: ✭ 116 (+792.31%)
Mutual labels:  saltstack
Docker Formula
Install and set up Docker
Stars: ✭ 119 (+815.38%)
Mutual labels:  saltstack
Kubernetes Saltstack
Recipe to deploy production Kubernetes cluster.
Stars: ✭ 191 (+1369.23%)
Mutual labels:  saltstack
Salt Winrepo
Salt Windows Software Package Manager Repo
Stars: ✭ 105 (+707.69%)
Mutual labels:  saltstack
Salt Vagrant Demo
Demo of Salt in Vagrant. 1 master and 2 minions
Stars: ✭ 228 (+1653.85%)
Mutual labels:  saltstack
Psf Salt
PSF infrastructure configuration
Stars: ✭ 91 (+600%)
Mutual labels:  saltstack
Uyuni
Source code for Uyuni
Stars: ✭ 169 (+1200%)
Mutual labels:  saltstack
salt-ssh-install-salt-minion
利用salt-ssh批量部署salt-minion
Stars: ✭ 19 (+46.15%)
Mutual labels:  saltstack
Opendevops
CODO是一款为用户提供企业多混合云、一站式DevOps、自动化运维、完全开源的云管理平台、自动化运维平台
Stars: ✭ 2,990 (+22900%)
Mutual labels:  saltstack
Ewp oms
自动化运维系统(saltstack+django+bootstrap),QQ群342844540,博客http://ywzhou.blog.51cto.com
Stars: ✭ 211 (+1523.08%)
Mutual labels:  saltstack

keepalived-formula

Travis CI Build Status Semantic Release

Formula to set up and configure keepalived

General notes

See the full SaltStack Formulas installation and usage instructions.

If you are interested in writing or contributing to formulas, please pay attention to the Writing Formula Section.

If you want to use this formula, please pay attention to the FORMULA file and/or git tag, which contains the currently released version. This formula is versioned according to Semantic Versioning.

See Formula Versioning Section for more details.

Contributing to this repo

Commit message formatting is significant!!

Please see How to contribute for more details.

Available states

keepalived

Installs and configures the keepalived package.

keepalived.package

Installs the keepalived package.

keepalived.config

This state manages the file keepalived.conf under /etc/keepalived (template found in "keepalived/files"). The configuration is populated by values in "keepalived/map.jinja" based on the package's default values (and RedHat, Debian, Suse and Arch family distribution specific values), which can then be overridden by values of the same name in pillar.

keepalived.scripts

Put arbitrary helper scripts on the minion. Default scripts location: /etc/keepalived This state can deploy script, set its permissions like file mode, user and group, but it won't create new user / group if they do not exist.

keepalived.service

This state ensures that keepalived service is running.

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].