Merge pull request #4 from gravyboat/master
Dropped apt include, updated README
This commit is contained in:
commit
663f72f9e5
69
README.rst
69
README.rst
@ -1,25 +1,58 @@
|
|||||||
|
===
|
||||||
php
|
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
|
Available states
|
||||||
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
|
|
||||||
|
|
||||||
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.
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% from "php/map.jinja" import php with context %}
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
|
||||||
- apt
|
|
||||||
|
|
||||||
php-apc:
|
php-apc:
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% from "php/map.jinja" import php with context %}
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
|
||||||
- apt
|
|
||||||
|
|
||||||
php-curl:
|
php-curl:
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% from "php/map.jinja" import php with context %}
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
|
||||||
- apt
|
|
||||||
|
|
||||||
php-fpm:
|
php-fpm:
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% from "php/map.jinja" import php with context %}
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
|
||||||
- apt
|
|
||||||
|
|
||||||
php-gd:
|
php-gd:
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% from "php/map.jinja" import php with context %}
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
|
||||||
- apt
|
|
||||||
|
|
||||||
php:
|
php:
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% from "php/map.jinja" import php with context %}
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
|
||||||
- apt
|
|
||||||
|
|
||||||
php-mcrypt:
|
php-mcrypt:
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% from "php/map.jinja" import php with context %}
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
|
||||||
- apt
|
|
||||||
|
|
||||||
php-mysql:
|
php-mysql:
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% from "php/map.jinja" import php with context %}
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
|
||||||
- apt
|
|
||||||
|
|
||||||
php-pear:
|
php-pear:
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
Loading…
Reference in New Issue
Block a user