Skip to content

Commit

Permalink
docs(pillar.example): update examples for freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Sep 10, 2019
1 parent 6e0245a commit a799214
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a799214

Please sign in to comment.