File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Development
4
4
5
+
6
+ ## 1.5.0 (Oct 2, 2019)
7
+
8
+ - Fixed a bug in the ` mistral ` Postrgres connection string where passwords weren't
9
+ being URL encoded / escaped. This could lead to potentially bad URL parsing
10
+ when passwords contained certain special characters. To fix this, the
11
+ password in the mistral ` connection ` parameter is now URL encoded / escaped.
12
+ (Bugfix)
13
+ Contributed by @nmaludy
14
+
5
15
- Fixed a bug in the ` st2_pack ` resource so that when authentication fails, the error
6
16
message about why it failed is shown to the user.
7
17
(Bugfix)
Original file line number Diff line number Diff line change 72
72
# ## End Mistral Packages ###
73
73
74
74
# ## Mistral Config ###
75
+ # URL encode the password, in case it contains special characters that
76
+ # can mess up the URL in the config.
77
+ $_db_password = st2::urlencode($db_password )
75
78
ini_setting { 'database_connection' :
76
79
ensure => present ,
77
80
path => $mistral_config ,
78
81
section => ' database' ,
79
82
setting => ' connection' ,
80
- value => " postgresql://${db_username} :${db_password } @${db_host} /${db_name} " ,
83
+ value => " postgresql://${db_username} :${_db_password }@${db_host} /${db_name} " ,
81
84
tag => ' mistral' ,
82
85
}
83
86
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " stackstorm-st2" ,
3
- "version" : " 1.4 .0" ,
3
+ "version" : " 1.5 .0" ,
4
4
"author" : " stackstorm" ,
5
5
"summary" : " Puppet module to manage/configure StackStorm" ,
6
6
"license" : " Apache-2.0" ,
You can’t perform that action at this time.
0 commit comments