mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
docs(pillar.example): update examples for freebsd
This commit is contained in:
parent
6e0245a9e7
commit
a799214c34
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ postgres:
|
|||
# flags: -w -s -m fast
|
||||
# sysrc: true
|
||||
pkgs_extra:
|
||||
{%- if grains.os_family not in ('FreeBSD',) %}
|
||||
- postgresql-contrib
|
||||
{%- endif %}
|
||||
- postgresql-plpython
|
||||
|
||||
# CLUSTER
|
||||
|
@ -91,7 +93,7 @@ postgres:
|
|||
config_backup: ".backup@{{ salt['status.time']('%y-%m-%d_%H:%M:%S') }}"
|
||||
{%- 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,
|
||||
# probably we are trying to bake a container/VM image with PostgreSQL.
|
||||
|
|
Loading…
Add table
Reference in a new issue