saltstack/salt — Issue #726: Support multiple virtual providers
Author: SEJeff
Created: 2012-02-21 16:21:37+00:00
State: open

Use case 1:

Seth Awesome the Django developer is also the sysadmin in a small company. Since he loves salt, he wants to manage his django cluster with it.

Django runs using a wsgi process group under gunicorn, which is fronted by nginx. Nginx uses normal sysvinit scripts on RHEL to start/stop and gunicorn is managed by monit.

Seth wants to have the service state ensure that both nginx AND the django service executed by monit are both set to run.

nginx:
pkg:
- installed
service:
- running

gunicorn:
service:
- running
-type: monit
- user: django
The above state for gunicorn should run something along the lines of monit start gunicorn as user django since monit expects you to run commands to control it as the user it is currently running as.

Use case 2:
Randall the Unix Beard wants to use salt with solaris, but doesn't really like solaris's package manager. At Randall's employer, they manage software on Solaris using rpm and yum. Randall wants to use identical states for installing packages on his Solaris and RHEL servers from a custom internal repository since the package names in the RHEL and Solaris yum repositories are identical.