File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 12
12
# @param database_name
13
13
# Sets the name of the database. Defaults to `puppetdb`.
14
14
#
15
+ # @param database_locale
16
+ # Sets the locale of the database. Defaults to `C.UTF-8`.
17
+ #
15
18
# @param database_username
16
19
# Creates a user for access the database. Defaults to `puppetdb`.
17
20
#
74
77
$listen_addresses = $puppetdb::params::database_host,
75
78
$puppetdb_server = $puppetdb::params::puppetdb_server,
76
79
$database_name = $puppetdb::params::database_name,
80
+ $database_locale = $puppetdb::params::database_locale,
77
81
$database_username = $puppetdb::params::database_username,
78
82
Variant[String[1], Sensitive[String[1]]] $database_password = $puppetdb::params::database_password,
79
83
$database_port = $puppetdb::params::database_port,
150
154
user => $database_username ,
151
155
password => $database_password ,
152
156
encoding => ' UTF8' ,
153
- locale => ' en_US.UTF-8 ' ,
157
+ locale => $database_locale ,
154
158
grant => ' all' ,
155
159
port => $port ,
156
160
}
Original file line number Diff line number Diff line change 35
35
$database_host = ' localhost'
36
36
$database_port = ' 5432'
37
37
$database_name = ' puppetdb'
38
+ $database_locale = ' C.UTF-8'
38
39
$database_username = ' puppetdb'
39
40
$database_password = ' puppetdb'
40
41
$manage_db_password = true
You can’t perform that action at this time.
0 commit comments