Skip to content

Commit b22d223

Browse files
Wayne Gemmellwaynegemmell
authored andcommitted
Installs packages in focal.
1 parent 859e598 commit b22d223

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

php/fpm/config.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{%- endif %}
1515
{%- endfor %}
1616
17-
{%- set pillar_php_version = php.pillar_php_version %}
17+
{%- set pillar_php_version = salt['pillar.get']('php:version', '7.0') %}
1818
{%- if pillar_php_version is iterable and pillar_php_version is not string %}
1919
{%- for version in pillar_php_version %}
2020
{%- set conf_settings = odict(php.lookup.fpm.defaults) %}

php/fpm/init.sls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ include:
66
- php.fpm.pools
77

88
extend:
9+
{%- set pillar_php_version = salt['pillar.get']('php:version', '7.0') %}
10+
911
{% if pillar_php_version is iterable and pillar_php_version is not string %}
1012
{% for version in pillar_php_version %}
1113

php/map.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@
768768
{%- endif %}
769769
{%- else %}
770770
{%- if salt['grains.get']('osrelease')|string >= '18.04' %}
771-
{%- merge = php, salt['pillar.get']('php', {
771+
{%- set php = salt['pillar.get']('php', {
772772
'lookup': salt['grains.filter_by']({
773773
'Ubuntu': {
774774
'pkgs': {

0 commit comments

Comments
 (0)