Set up and configure the Apache HTTP server
https://github.com/saltstack-formulas/apache-formula
0e86fb8c9d
This is a great and full-featured way to configure Apache on Debian-family OS's but we need a simpler and more universal formula as the main entry-point. |
||
---|---|---|
apache | ||
LICENSE | ||
pillar.example | ||
README.rst |
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