Set up and configure the Apache HTTP server https://github.com/saltstack-formulas/apache-formula
Go to file
Joseph Hall 0a37af72e2 Merge pull request #6 from PCMi/master
more advanced apache formula -- attempt #2
2013-07-29 15:05:27 -07:00
apache add platform logic for pkg install 2013-07-27 19:59:10 +00:00
fcgid.sls Changed apache2 refs to apache 2013-07-29 21:30:29 +00:00
init.sls Added name to apache service 2013-07-29 21:31:38 +00:00
LICENSE Add LICENSE. 2013-07-27 20:31:20 +02:00
php5.sls Added some missing order statements 2013-07-29 21:32:16 +00:00
pillar.example Add pillar.example 2013-07-27 20:39:16 +02:00
README.rst Moved README.md to README.rst 2013-07-29 21:34:54 +00:00
register_site.sls Bug fix 2013-07-29 21:32:01 +00:00
rewrite.sls Added some missing order statements 2013-07-29 21:32:16 +00:00

apache

DEPENDENCIES:

These salt-states are required:

  1. apt
POSSIBLE DEPENDENCIES

These salt-states may be required depending on what your doing:

  1. php

ORDERING:

The ordering of the states for apache falls into block ranges which are:

  1. apache will use 1-500 for ordering
  2. apache will reserve 1 -100 as unused
  3. apache will reserve 101-150 for pre pkg install
  4. apache will reserve 151-200 for pkg install
  5. apache will reserve 201-250 for pkg configure
  6. apache will reserve 251-300 for downloads, git stuff, load data
  7. apache will reserve 301-400 for unknown purposes
  8. apache will reserve 401-450 for service restart-reloads
  9. apache WILL reserve 451-460 for service.running
  10. apache will reserve 461-500 for cmd requiring operational services

PILLARS:

  1. No pillar data is required
  2. 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'

  1. UNIQUE can be any name as an array index, and you can duplicate this section