Browse Source

Updated README to have all the states properly set up, dropped the apt requirement from everything.

tags/v0.34.0
Forrest Alvarez 11 years ago
parent
commit
a4a035499b
9 changed files with 51 additions and 42 deletions
  1. +51
    -18
      README.rst
  2. +0
    -3
      php/apc.sls
  3. +0
    -3
      php/curl.sls
  4. +0
    -3
      php/fpm.sls
  5. +0
    -3
      php/gd.sls
  6. +0
    -3
      php/init.sls
  7. +0
    -3
      php/mcrypt.sls
  8. +0
    -3
      php/mysql.sls
  9. +0
    -3
      php/pear.sls

+ 51
- 18
README.rst View File

@@ -1,25 +1,58 @@
===
php
======
DEPENDENCIES:
These formulas are required:
===

1) apt
Formulas to set up and configure php and various php libraries.

ORDERING:
.. note::

The ordering of the states for php falls into block ranges which are:
See the full `Salt Formulas installation and usage instructions
<http://docs.saltstack.com/topics/conventions/formulas.html>`_.

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

PILLARS:
.. contents::
:local:

No Pillars are used in this formula as of yet.
``php``
-------

Installs the php package.

``php.apc``
-----------

Installs the php-apc package.

``php.curl``
------------

Installs the php5-curl package on Debian, and ensures that curl itself is
installed for RedHat systems, this is due to the curl libs being provided by
php-common, which will get installed with the main php package.

``php.fpm``
-----------

Installs the php-fpm package, starts the service, and enables it.

``php.gd``
----------

Installs the php-gd package.

``php.mcrypt``
--------------

Installs the php-mcrypt package.

``php.mysql``
-------------

Installs the php-mysql package.

``php.pear``
------------

Installs the php-pear package.

+ 0
- 3
php/apc.sls View File

@@ -1,8 +1,5 @@
{% from "php/map.jinja" import php with context %}

include:
- apt

php-apc:
pkg:
- installed

+ 0
- 3
php/curl.sls View File

@@ -1,8 +1,5 @@
{% from "php/map.jinja" import php with context %}

include:
- apt

php-curl:
pkg:
- installed

+ 0
- 3
php/fpm.sls View File

@@ -1,8 +1,5 @@
{% from "php/map.jinja" import php with context %}

include:
- apt

php-fpm:
pkg:
- installed

+ 0
- 3
php/gd.sls View File

@@ -1,8 +1,5 @@
{% from "php/map.jinja" import php with context %}

include:
- apt

php-gd:
pkg:
- installed

+ 0
- 3
php/init.sls View File

@@ -1,8 +1,5 @@
{% from "php/map.jinja" import php with context %}

include:
- apt

php:
pkg:
- installed

+ 0
- 3
php/mcrypt.sls View File

@@ -1,8 +1,5 @@
{% from "php/map.jinja" import php with context %}

include:
- apt

php-mcrypt:
pkg:
- installed

+ 0
- 3
php/mysql.sls View File

@@ -1,8 +1,5 @@
{% from "php/map.jinja" import php with context %}

include:
- apt

php-mysql:
pkg:
- installed

+ 0
- 3
php/pear.sls View File

@@ -1,8 +1,5 @@
{% from "php/map.jinja" import php with context %}

include:
- apt

php-pear:
pkg:
- installed

Loading…
Cancel
Save