File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 14
14
{%- endif % }
15
15
{%- endfor % }
16
16
17
- {%- set pillar_php_version = php.pillar_php_version % }
17
+ {%- set pillar_php_version = salt[ ' pillar.get ' ]( ' php:version ' , ' 7.0 ' ) % }
18
18
{%- if pillar_php_version is iterable and pillar_php_version is not string % }
19
19
{%- for version in pillar_php_version % }
20
20
{%- set conf_settings = odict(php.lookup.fpm.defaults) % }
Original file line number Diff line number Diff line change 6
6
- php.fpm.pools
7
7
8
8
extend:
9
+ {%- set pillar_php_version = salt[' pillar.get' ](' php:version' , ' 7.0' ) %}
10
+
9
11
{% if pillar_php_version is iterable and pillar_php_version is not string %}
10
12
{% for version in pillar_php_version %}
11
13
Original file line number Diff line number Diff line change 768
768
{% - endif %}
769
769
{% - else %}
770
770
{% - if salt ['grains.get' ]('osrelease' )|string >= '18.04' %}
771
- {% - merge = php , salt ['pillar.get' ]('php' , {
771
+ {% - set php = salt ['pillar.get' ]('php' , {
772
772
'lookup' : salt ['grains.filter_by' ]({
773
773
'Ubuntu' : {
774
774
'pkgs' : {
You can’t perform that action at this time.
0 commit comments