Set up and configure the Apache HTTP server
https://github.com/saltstack-formulas/apache-formula
0a37af72e2
more advanced apache formula -- attempt #2 |
||
---|---|---|
apache | ||
fcgid.sls | ||
init.sls | ||
LICENSE | ||
php5.sls | ||
pillar.example | ||
README.rst | ||
register_site.sls | ||
rewrite.sls |
apache
- DEPENDENCIES:
-
These salt-states are required:
- apt
- POSSIBLE DEPENDENCIES
-
These salt-states may be required depending on what your doing:
- php
ORDERING:
The ordering of the states for apache falls into block ranges which are:
- apache will use 1-500 for ordering
- apache will reserve 1 -100 as unused
- apache will reserve 101-150 for pre pkg install
- apache will reserve 151-200 for pkg install
- apache will reserve 201-250 for pkg configure
- apache will reserve 251-300 for downloads, git stuff, load data
- apache will reserve 301-400 for unknown purposes
- apache will reserve 401-450 for service restart-reloads
- apache WILL reserve 451-460 for service.running
- apache will reserve 461-500 for cmd requiring operational services
PILLARS:
- No pillar data is required
- Full pillar structure:
- apache:
-
php-ini: 'salt://path/to/file/php.ini' register-site: {{UNQIUE}}: name: 'my name' path: 'salt://path/to/sites-available/conf/file' state: 'enabled'
- UNIQUE can be any name as an array index, and you can duplicate this section