1+ # -*- coding: utf-8 -*-
2+ # vim: ft=yaml
3+ ---
14# Port to use for the cluster -- can be used to provide a non-standard port
25# NOTE: If already set in the minion config, that value takes priority
36postgres.port : ' 5432'
47
58postgres :
69 # UPSTREAM REPO
7- # Set True to configure upstream postgresql.org repository for YUM/APT/ZYPP
8- use_upstream_repo : False
9- # Version to install from upstream repository (if upstream_repo: True )
10+ # Set true to configure upstream postgresql.org repository for YUM/APT/ZYPP
11+ use_upstream_repo : false
12+ # Version to install from upstream repository (if upstream_repo: true )
1013 version : ' 10'
11- # Set True to add a file in /etc/profile.d adding the bin dir in $PATH
14+ # Set true to add a file in /etc/profile.d adding the bin dir in $PATH
1215 # as packages from upstream put them somewhere like /usr/pgsql-10/bin
13- add_profile : False
16+ add_profile : false
1417 # If automatic package installation fails, use `fromrepo` to specify the
15- # upstream repo to install packages from [#133, #185] (if upstream_repo: True )
18+ # upstream repo to install packages from [#133, #185] (if upstream_repo: true )
1619 fromrepo : ' jessie-pgdg'
1720
1821 # ## MACOS
1922 # Set to 'postgresapp' OR 'homebrew' for MacOS
20- # use_upstream_repo: 'postgresapp'
21- # use_upstream_repo: 'homebrew'
23+ # use_upstream_repo: 'postgresapp'
24+ # use_upstream_repo: 'homebrew'
2225
2326 # PACKAGE
2427 # These pillars are typically never required.
@@ -27,7 +30,7 @@ postgres:
2730 # service:
2831 # name: 'postgresql'
2932 # flags: -w -s -m fast
30- # sysrc: True
33+ # sysrc: true
3134 pkgs_extra :
3235 - postgresql-contrib
3336 - postgresql-plpython
@@ -39,7 +42,7 @@ postgres:
3942 locale : en_US.UTF-8
4043 # encoding: UTF8
4144
42- # 'Alternatives system' priority incremental. 0 disables feature.
45+ # 'Alternatives system' priority incremental. 0 disables feature.
4346 linux :
4447 altpriority : 30
4548
@@ -62,7 +65,7 @@ postgres:
6265 # are authenticated, which PostgreSQL user names they can use, which
6366 # databases they can access. Records take one of these forms:
6467 #
65- # acls:
68+ # acls:
6669 # - ['local', 'DATABASE', 'USER', 'METHOD']
6770 # - ['host', 'DATABASE', 'USER', 'ADDRESS', 'METHOD']
6871 # - ['hostssl', 'DATABASE', 'USER', 'ADDRESS', 'METHOD']
@@ -83,7 +86,7 @@ postgres:
8386 - ['users_as_appuser', 'jsmith', 'connuser']
8487
8588 # Backup extension for configuration files, defaults to ``.bak``.
86- # Set ``False `` to stop creation of backups when config files change.
89+ # Set ``false `` to stop creation of backups when config files change.
8790 {%- if salt['status.time']|default(none) is callable %}
8891 config_backup : " .backup@{{ salt['status.time']('%y-%m-%d_%H:%M:%S') }}"
8992 {%- endif %}
@@ -93,9 +96,9 @@ postgres:
9396 # If Salt is unable to detect init system running in the scope of state run,
9497 # probably we are trying to bake a container/VM image with PostgreSQL.
9598 # Use ``bake_image`` setting to control how PostgreSQL will be started: if set
96- # to ``True `` the raw ``pg_ctl`` will be utilized instead of packaged init
99+ # to ``true `` the raw ``pg_ctl`` will be utilized instead of packaged init
97100 # script, job or unit run with Salt ``service`` state.
98- bake_image : True
101+ bake_image : true
99102
100103 {%- endif %}
101104
@@ -106,7 +109,7 @@ postgres:
106109 #
107110 # Format is the following:
108111 #
109- # <users|tablespaces|databases|schemas|extensions>:
112+ # <users|tablespaces|databases|schemas|extensions>:
110113 # NAME:
111114 # ensure: <present|absent> # 'present' is the default
112115 # ARGUMENT: VALUE
@@ -117,32 +120,32 @@ postgres:
117120 #
118121 # For example, the Pillar:
119122 #
120- # users:
123+ # users:
121124 # testUser:
122125 # password: test
123126 #
124127 # will render such state:
125128 #
126- # postgres_user-testUser:
129+ # postgres_user-testUser:
127130 # postgres_user.present:
128131 # - name: testUser
129132 # - password: test
130133 users :
131134 localUser :
132135 ensure : present
133136 password : ' 98ruj923h4rf'
134- createdb : False
135- createroles : False
136- inherit : True
137- replication : False
137+ createdb : false
138+ createroles : false
139+ inherit : true
140+ replication : false
138141
139142 remoteUser :
140143 ensure : present
141144 password : ' 98ruj923h4rf'
142- createdb : False
143- createroles : False
144- inherit : True
145- replication : False
145+ createdb : false
146+ createroles : false
147+ inherit : true
148+ replication : false
146149
147150 absentUser :
148151 ensure : absent
@@ -183,14 +186,14 @@ postgres:
183186
184187 # optional extensions to install in schema
185188 extensions :
189+ # postgis: {}
186190 uuid-ossp :
187191 schema : uuid-ossp
188192 maintenance_db : db1
189- # postgis: {}
190193
191194 remove :
192- data : True
193- multiple_releases : True
194- releases : ['9.6', '10', ]
195+ data : true
196+ multiple_releases : true
197+ releases : ['9.6', '10']
195198
196199# vim: ft=yaml ts=2 sts=2 sw=2 et
0 commit comments