Created
October 5, 2017 12:59
-
-
Save defsdoor/d8b28e7e29c9675a579e51c8d06687c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pillar | |
websites: | |
test.co.uk: | |
owner: testsite | |
servers: | |
- www.test.co.uk | |
aliases: | |
- dev.test.co.uk | |
type: magento | |
version: 1.0.0 | |
status: active | |
port: 9001 | |
pool_options: | |
pm.max_children: 5 | |
pm.start_servers: 5 | |
pm.min_spare_servers: 3 | |
pm.max_spare_servers: 5 | |
- | |
state- | |
{%- set pool_options = settings.get('pool_options', {}) %} | |
/etc/php/7.0/fpm/pool.d/{{website_label}}.conf: | |
file.managed: | |
- source: salt://php_fpm.conf | |
- template: jinja | |
- user: {{site_owner}} | |
- group: {{site_owner}} | |
- website: {{ website }} | |
- label: {{ website_label }} | |
- html_dir: {{ html_dir }} | |
- php_fpm_port: {{ php_fpm_port }} | |
- pool_options: {{ pool_options }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment