File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 22
33## Development
44
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+
515- Fixed a bug in the ` st2_pack ` resource so that when authentication fails, the error
616 message about why it failed is shown to the user.
717 (Bugfix)
Original file line number Diff line number Diff line change 7272 # ## End Mistral Packages ###
7373
7474 # ## 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 )
7578 ini_setting { 'database_connection' :
7679 ensure => present ,
7780 path => $mistral_config ,
7881 section => ' database' ,
7982 setting => ' connection' ,
80- value => " postgresql://${db_username} :${db_password } @${db_host} /${db_name} " ,
83+ value => " postgresql://${db_username} :${_db_password }@${db_host} /${db_name} " ,
8184 tag => ' mistral' ,
8285 }
8386
Original file line number Diff line number Diff line change 11{
22 "name" : " stackstorm-st2" ,
3- "version" : " 1.4 .0" ,
3+ "version" : " 1.5 .0" ,
44 "author" : " stackstorm" ,
55 "summary" : " Puppet module to manage/configure StackStorm" ,
66 "license" : " Apache-2.0" ,
You can’t perform that action at this time.
0 commit comments