File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1513
1513
# directories => [
1514
1514
# { path => '/path/to/different/dir',
1515
1515
# gssapi => {
1516
+ # basicauth => 'On',
1516
1517
# credstore => 'keytab:/foo/bar.keytab',
1517
1518
# localname => 'Off',
1518
1519
# sslonly => 'On',
Original file line number Diff line number Diff line change 253
253
'passenger_app_log_file' => '/tmp/app.log' ,
254
254
'passenger_debugger' => false ,
255
255
'gssapi' => {
256
+ 'basicauth' => 'On' ,
256
257
'credstore' => 'keytab:/foo/bar.keytab' ,
257
258
'localname' => 'On' ,
258
259
'sslonly' => 'Off' ,
950
951
content : %r{^\s +PassengerDebugger\s Off$} ,
951
952
)
952
953
}
954
+ it {
955
+ is_expected . to contain_concat__fragment ( 'rspec.example.com-directories' ) . with (
956
+ content : %r{^\s +GssapiBasicAuth\s On$} ,
957
+ )
958
+ }
953
959
it {
954
960
is_expected . to contain_concat__fragment ( 'rspec.example.com-directories' ) . with (
955
961
content : %r{^\s +GssapiCredStore\s keytab:/foo/bar.keytab$} ,
Original file line number Diff line number Diff line change 1
1
<%|
2
2
# https://github.com/gssapi/mod_auth_gssapi
3
+ Optional[Enum['On','Off']] $basicauth = undef,
3
4
Optional[String[1]] $credstore = undef,
4
5
Optional[Enum['On','Off']] $sslonly = undef,
5
6
Optional[Enum['On','Off']] $localname = undef,
6
7
|%>
7
- # mod_auth_gssapi configuration
8
+ # mod_auth_gssapi configuration
9
+ <% if $basicauth { -%>
10
+ GssapiBasicAuth <%= $basicauth %>
11
+ <% } -%>
8
12
<% if $sslonly { -%>
9
13
GssapiSSLonly <%= $sslonly %>
10
14
<% } -%>
You can’t perform that action at this time.
0 commit comments