This is a connector for netunicorn platform to saltstack-managed infrastructure.
pip install netunicorn-connector-saltCreate a configuration file (see example). Then, add the connector information to the main configuration file of netunicorn-director-infrastructure module (see corresponding repo).
This connector represents saltstack-managed infrastructure to netunicorn platform. It works via Salt CherryPy API and requires a corresponding Salt configuration changes.
In master configuration file (usually /etc/salt/master) specify the following options:
# external_auth configuration
external_auth:
pam:
remoteusername:
- .*
- '@wheel'
- '@runner'
- '@jobs'
...
# cherrypy configuration
rest_cherrypy:
port: your_cherrypy_port
host: your_cherrypy_hostSee the Salt's documentation for more details.