Allow overwriting the fpm pools config name via 'filename'.
Signed-off-by: Rene Jochum <rene@jochums.at>
This commit is contained in:
parent
4a7e63f6ba
commit
ce9ce324ce
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
{% for pool, config in php.fpm.pools.iteritems() %}
|
{% for pool, config in php.fpm.pools.iteritems() %}
|
||||||
{% set state = 'php_fpm_pool_conf_' ~ loop.index0 %}
|
{% set state = 'php_fpm_pool_conf_' ~ loop.index0 %}
|
||||||
{% set fpath = path_join(pool, php.lookup.fpm.pools) %}
|
{% set fpath = path_join(config.get('filename', pool), php.lookup.fpm.pools) %}
|
||||||
|
|
||||||
{{ state }}:
|
{{ state }}:
|
||||||
{% if config.enabled %}
|
{% if config.enabled %}
|
||||||
|
@ -99,6 +99,11 @@ php:
|
|||||||
# If true, the pool file will be managed, if False it will be
|
# If true, the pool file will be managed, if False it will be
|
||||||
# absent
|
# absent
|
||||||
enabled: True
|
enabled: True
|
||||||
|
|
||||||
|
# Overwrite the filename for ext_pillar that doesn't allow
|
||||||
|
# dots in fields names.
|
||||||
|
filname: my_other_name.conf
|
||||||
|
|
||||||
# arguments passed forward to file.managed or file.absent
|
# arguments passed forward to file.managed or file.absent
|
||||||
opts:
|
opts:
|
||||||
replace: False
|
replace: False
|
||||||
|
Loading…
Reference in New Issue
Block a user