File tree Expand file tree Collapse file tree
pillar_roots/saltstack-formulas Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11base:
22 ' *' :
3- {%- if grains.os_family not in (' MacOS' , ' Arch' ) %}
4- - salt.pkgrepo
5- {%- endif %}
6- - salt.minion
7- - salt.formulas
3+ - salt
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ postgres:
66 # Set False to use distro packaged postgresql.
77 # Set True to use upstream postgresql.org repo for YUM/APT/ZYPP
88 use_upstream_repo: False
9+ {%- if grains.os_family not in (' FreeBSD' ,) %}
910 pkgs_extra:
1011 - postgresql-contrib
12+ {%- endif %}
1113
1214 # following is used by 'remove' states.
1315 upstream:
@@ -67,7 +69,7 @@ postgres:
6769 config_backup: " .backup@{{ salt['status.time']('%y-%m-%d_%H:%M:%S') }}"
6870 {%- endif %}
6971
70- {%- if grains[' init' ] == ' unknown' %}
72+ {%- if ' init ' in grains and grains[' init' ] == ' unknown' %}
7173
7274 # If Salt is unable to detect init system running in the scope of state run,
7375 # probably we are trying to bake a container/VM image with PostgreSQL.
Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ developer-definitions() {
514514 fork[' uri' ]=" https://github.com"
515515 fork[' entity' ]=" noelmcloughlin"
516516 fork[' branch' ]=" fixes"
517- fork[' solutions' ]=" salter packages-formula golang-formula postgres-formula"
517+ fork[' solutions' ]=" salter packages-formula golang-formula postgres-formula salt-formula "
518518}
519519
520520solution-definitions () {
You can’t perform that action at this time.
0 commit comments