feat(archlinux): add support, fixing rendering errors
This commit is contained in:
@@ -39,6 +39,6 @@ postgresql-repo:
|
|||||||
postgresql-repo:
|
postgresql-repo:
|
||||||
test.show_notification:
|
test.show_notification:
|
||||||
- text: |
|
- text: |
|
||||||
PostgreSQL does not provide package repository for {{ grains['osfinger'] }}
|
PostgreSQL does not provide package repository for {{ salt['grains.get']('osfinger', grains.os) }}
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Port to use for the cluster -- can be used to provide a non-standard port
|
# Port to use for the cluster -- can be used to provide a non-standard port
|
||||||
# NOTE: If already set in the minion config, that value takes priority
|
# NOTE: If already set in the minion config, that value takes priority
|
||||||
|
|
||||||
{%- if not (grains.os_family == 'Debian' or grains.osfinger == 'Leap-15') %}
|
{%- if grains.os_family != 'Debian' and salt['grains.get']('osfinger') != 'Leap-15' %}
|
||||||
postgres.port: '5432'
|
postgres.port: '5432'
|
||||||
{%- else %}
|
{%- else %}
|
||||||
postgres.port: '5433'
|
postgres.port: '5433'
|
||||||
@@ -10,7 +10,7 @@ postgres.port: '5433'
|
|||||||
postgres:
|
postgres:
|
||||||
# UPSTREAM REPO
|
# UPSTREAM REPO
|
||||||
# Set True to configure upstream postgresql.org repository for YUM/APT/ZYPP
|
# Set True to configure upstream postgresql.org repository for YUM/APT/ZYPP
|
||||||
{%- if not (grains.os_family == 'Debian' or grains.osfinger == 'CentOS-6') %}
|
{%- if grains.os_family != 'Debian' and salt['grains.get']('osfinger') != 'CentOS-6' %}
|
||||||
use_upstream_repo: False
|
use_upstream_repo: False
|
||||||
{%- else %}
|
{%- else %}
|
||||||
use_upstream_repo: True
|
use_upstream_repo: True
|
||||||
@@ -181,7 +181,7 @@ postgres:
|
|||||||
public:
|
public:
|
||||||
owner: localUser
|
owner: localUser
|
||||||
# enable per-db extension
|
# enable per-db extension
|
||||||
{%- if grains.os_family == 'Debian' and grains.osfinger != 'Debian-8' %}
|
{%- if grains.os_family == 'Debian' and salt['grains.get']('osfinger') != 'Debian-8' %}
|
||||||
extensions:
|
extensions:
|
||||||
uuid-ossp:
|
uuid-ossp:
|
||||||
schema: 'public'
|
schema: 'public'
|
||||||
@@ -194,7 +194,7 @@ postgres:
|
|||||||
owner: localUser
|
owner: localUser
|
||||||
|
|
||||||
# optional extensions to install in schema
|
# optional extensions to install in schema
|
||||||
{%- if grains.os_family == 'Debian' and grains.osfinger != 'Debian-8' %}
|
{%- if grains.os_family == 'Debian' and salt['grains.get']('osfinger') != 'Debian-8' %}
|
||||||
extensions:
|
extensions:
|
||||||
uuid-ossp:
|
uuid-ossp:
|
||||||
schema: uuid-ossp
|
schema: uuid-ossp
|
||||||
|
|||||||
Reference in New Issue
Block a user