salopensource / salt_checkin_module

Salt returner and checkin module for Sal clients

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Python 100.0%