Skip to content

NoahRJ/salt_checkin_module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This returner module takes the output of a Salt run and processes it into a Sal ManagedItem and Facts submission format.

Setup

To make this work, you'll need to configure three pieces.

  • Add the salt_checkin_module.py to /usr/local/sal/checkin_modules/. file.managed can handle this for you.
  • Distribute the Sal returner (sal_returner.py) to clients (put it into the _returners folder of your file root). You can of course use Salt to do this ;)
  • Configure your highstate run to use the Sal returner.

e.g.

Schedule minion highstate runs:
  schedule.present:
    - name: highstate
	- run_on_start: True
	- function: state.highstate
	- minutes: 30
	- maxrunning: 1
	- enabled: True
	- returner: sal
	- splay: 600

About

Salt returner and checkin module for Sal clients

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%