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 11# stackstorm cookbook CHANGELOG
22
33## In Development
4+ ## 0.7.1
5+ * Updated recipes and tests to handle new st2auth settings.
46
57## 0.7.0
68
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.7.0 '
7+ version '0.7.1 '
88
99supports 'ubuntu' , '= 14.04'
1010supports 'redhat' , '~> 7.5'
Original file line number Diff line number Diff line change 1111include_recipe 'stackstorm::_services'
1212
1313# Generate username & password for htpasswd flat-file authentication
14- htpasswd ':add credentials to htpasswd file' do
15- file node [ 'stackstorm' ] [ 'config' ] [ 'auth_standalone_file' ]
16- user node [ 'stackstorm' ] [ 'username' ]
17- password node [ 'stackstorm' ] [ 'password' ]
18- action :add
14+ if node [ 'stackstorm' ] [ 'config' ] [ 'auth_backend' ] == 'flat_file'
15+ htpasswd ':add credentials to htpasswd file' do
16+ file node [ 'stackstorm' ] [ 'config' ] [ 'auth_backend_kwargs' ] [ 'file_path' ]
17+ user node [ 'stackstorm' ] [ 'username' ]
18+ password node [ 'stackstorm' ] [ 'password' ]
19+ action :add
20+ end
1921end
Original file line number Diff line number Diff line change 168168 'auth_use_ssl' => false ,
169169 'auth_debug' => false ,
170170 'auth_enable' => true ,
171- 'auth_standalone_file' => '/etc/st2/htpasswd' ,
171+ 'auth_mode' => 'standalone' ,
172+ 'auth_backend' => 'flat_file' ,
173+ 'auth_backend_kwargs' => { file_path : '/etc/st2/htpasswd' } ,
172174
173175 'syslog_enabled' => false ,
174176 'syslog_host' => '127.0.0.1' ,
You can’t perform that action at this time.
0 commit comments