This repository was archived by the owner on Jul 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## In Development
44
5+ ## 0.7.0
6+
7+ * Changed st2.conf template to handle different st2auth settings
58
69## 0.6.0
710
Original file line number Diff line number Diff line change 1515 auth_use_ssl : false ,
1616 auth_debug : false ,
1717 auth_enable : true ,
18- auth_standalone_file : '/etc/st2/htpasswd' ,
18+ auth_mode : 'standalone' ,
19+ auth_backend : 'flat_file' ,
20+ auth_backend_kwargs : { file_path : '/etc/st2/htpasswd' } ,
1921
2022 syslog_enabled : false ,
2123 syslog_host : '127.0.0.1' ,
Original file line number Diff line number Diff line change 44license 'Apache-2.0'
55description 'Installs/Configures stackstorm'
66long_description 'Installs/Configures stackstorm'
7- version '0.6 .0'
7+ version '0.7 .0'
88
99supports 'ubuntu' , '= 14.04'
1010supports 'redhat' , '~> 7.5'
Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ debug = <%= @auth_debug %>
5050enable = <%= @auth_enable %>
5151logging = /etc/st2/logging.auth.conf
5252
53- mode = standalone
53+ mode = <%= @auth_mode %>
5454# Note: Settings bellow are only used in "standalone" mode
55- backend = flat_file
56- backend_kwargs = {"file_path": " <%= @auth_standalone_file %> "}
55+ backend = <%= @auth_backend %>
56+ backend_kwargs = <%= Chef::JSONCompat.to_json(@auth_backend_kwargs) %>
5757
5858# Base URL to the API endpoint excluding the version (e.g. http://myhost.net:9101/)
5959api_url = <%= @api_url %>
You can’t perform that action at this time.
0 commit comments