Basic php install formulastags/v0.34.0
@@ -1,2 +1,25 @@ | |||
php | |||
=== | |||
====== | |||
DEPENDENCIES: | |||
These formulas are required: | |||
1) apt | |||
ORDERING: | |||
The ordering of the states for php falls into block ranges which are: | |||
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 | |||
PILLARS: | |||
No Pillars are used in this formula as of yet. |
@@ -0,0 +1,10 @@ | |||
include: | |||
- apt | |||
{% if grains['os']=="Ubuntu" %} | |||
php-apc: | |||
pkg.installed: | |||
- order: 180 | |||
{% endif %} |
@@ -0,0 +1,11 @@ | |||
include: | |||
- apt | |||
{% if grains['os']=="Ubuntu" %} | |||
php-curl: | |||
pkg.installed: | |||
- name: php5-curl | |||
- order: 180 | |||
{% endif %} |
@@ -0,0 +1,15 @@ | |||
include: | |||
- apt | |||
{% if grains['os']=="Ubuntu" %} | |||
php-fpm: | |||
pkg.installed: | |||
- name: php5-fpm | |||
- order: 175 | |||
service.running: | |||
- name: php5-fpm | |||
- enable: True | |||
- order: 455 | |||
{% endif %} |
@@ -0,0 +1,11 @@ | |||
include: | |||
- apt | |||
{% if grains['os']=="Ubuntu" %} | |||
php-gd: | |||
pkg.installed: | |||
- name: php5-gd | |||
- order: 180 | |||
{% endif %} |
@@ -0,0 +1,11 @@ | |||
include: | |||
- apt | |||
{% if grains['os']=="Ubuntu" %} | |||
php: | |||
pkg.installed: | |||
- name: php5 | |||
- order: 175 | |||
{% endif %} |
@@ -0,0 +1,11 @@ | |||
include: | |||
- apt | |||
{% if grains['os']=="Ubuntu" %} | |||
php-mcrypt: | |||
pkg.installed: | |||
- name: php5-mcrypt | |||
- order: 180 | |||
{% endif %} |
@@ -0,0 +1,11 @@ | |||
include: | |||
- apt | |||
{% if grains['os']=="Ubuntu" %} | |||
php-mysql: | |||
pkg.installed: | |||
- name: php5-mysql | |||
- order: 180 | |||
{% endif %} |
@@ -0,0 +1,10 @@ | |||
include: | |||
- apt | |||
{% if grains['os']=="Ubuntu" %} | |||
php-pear: | |||
pkg.installed: | |||
- order: 180 | |||
{% endif %} |