Skip to content

Instantly share code, notes, and snippets.

@thecodeassassin
Created August 21, 2013 23:51
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 thecodeassassin/0fc24f415fd204034b22 to your computer and use it in GitHub Desktop.
Save thecodeassassin/0fc24f415fd204034b22 to your computer and use it in GitHub Desktop.
php-fpm-packages:
pkg.installed:
- pkgs:
- php5-fpm
fpm-php-ini:
file.managed:
- name: /etc/php5/fpm/php.ini
- source: salt://templates/php/php.ini
- template: jinja
- user: www-data
- group: www-data
- mode: 755
fpm-www:
file.managed:
- name: /etc/php5/fpm/pool.d/www.conf
- source: salt://templates/php-fpm/www.conf
- template: jinja
- user: www-data
- group: www-data
- mode: 755
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment