Skip to content

Instantly share code, notes, and snippets.

@silentworks
Created April 6, 2014 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silentworks/10003572 to your computer and use it in GitHub Desktop.
Save silentworks/10003572 to your computer and use it in GitHub Desktop.
My php.sls
php5_ppa:
pkgrepo.managed:
- ppa: ondrej/php5
php5-fpm:
pkg.latest:
- refresh: True
- require:
- pkgrepo: php5_ppa
service.running:
- enable: True
- watch:
- file: /etc/php5/fpm/pool.d/www.conf
- require:
- pkg: php5-fpm
- pkg: php5-mcrypt
- pkg: php5-curl
- pkg: php5-mysql
# file.managed:
# - name: /etc/php5/fpm/pool.d/www.conf
# - source: salt://packages/php/www.conf
# - user: root
# - group: root
# - mode: '0640'
# - require:
# - pkg: php5-fpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment