Merge pull request #288 from noelmcloughlin/archlinux

docs(pillar.example): update examples for freebsd
This commit is contained in:
N
2019-09-11 11:47:49 +02:00
committed by GitHub

View File

@@ -32,7 +32,9 @@ postgres:
# flags: -w -s -m fast # flags: -w -s -m fast
# sysrc: true # sysrc: true
pkgs_extra: pkgs_extra:
{%- if grains.os_family not in ('FreeBSD',) %}
- postgresql-contrib - postgresql-contrib
{%- endif %}
- postgresql-plpython - postgresql-plpython
# CLUSTER # CLUSTER
@@ -91,7 +93,7 @@ postgres:
config_backup: ".backup@{{ salt['status.time']('%y-%m-%d_%H:%M:%S') }}" config_backup: ".backup@{{ salt['status.time']('%y-%m-%d_%H:%M:%S') }}"
{%- endif %} {%- endif %}
{%- if grains['init'] == 'unknown' %} {%- if 'init' in grains and grains['init'] == 'unknown' %}
# If Salt is unable to detect init system running in the scope of state run, # If Salt is unable to detect init system running in the scope of state run,
# probably we are trying to bake a container/VM image with PostgreSQL. # probably we are trying to bake a container/VM image with PostgreSQL.