Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.
/ salt_states Public archive

A way to manage your machines through SaltStack. Reporting, backuppc, ganglia

Notifications You must be signed in to change notification settings

remyd1/salt_states

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

salt_states

❗ This project is no longer maintained. For a new release, check this project.

The main idea here, is to have salt formulas to do:

All you need are the states here and a pillar. You just have to maintain one pillar file and refresh it on minions.

Here is a sample of the pillar file content:

machines:
  www:
    ip: 26
    user: root
    RsyncShareName:
      - /var/www
      - /var/backups
      - /root
      - /etc
      - /var/lib/mysql
      - /var/log
      - /var/spool/cron
    BackupFilesExclude:
      - /root/.ssh
      - /etc/ssh
    SaltHostname: www.example.com
    services:
      - ssh
      - apache
      - mysql

The monitor_salt_json contains files to read json outputs and create a cron file (it is not real time monitoring, just reports). With this, you have a very brief information of your servers pools in a web page.