File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 191191 }
192192 }
193193
194- if $foreman::ipa_manage_sssd {
195- service { 'sssd' :
196- ensure => running ,
197- enable => true ,
198- require => Package[' sssd-dbus' ],
199- }
200- }
201-
202194 file { "/etc/pam.d/${foreman::pam_service}" :
203195 ensure => file ,
204196 owner => root,
246238 changes => $sssd_changes ,
247239 notify => Service[' sssd' ],
248240 }
241+
242+ service { 'sssd' :
243+ ensure => running ,
244+ enable => true ,
245+ require => Package[' sssd-dbus' ],
246+ }
249247 }
250248
251249 foreman::settings_fragment { 'authorize_login_delegation.yaml' :
Original file line number Diff line number Diff line change 33 Stdlib::Absolutepath $keytab,
44 Boolean $gssapi_local_name,
55 Boolean $ipa_authentication_api,
6- -%>
6+ | -%>
77
88<Location /users/login>
99 InterceptFormPAMService <%= $pam_service %>
4242
4343<LocationMatch ^/api(/v2)?/users/extlogin/?$>
4444 SSLRequireSSL
45- <% if $ipa_authentication_api -%>
45+ <% if $ipa_authentication_api { -%>
4646 <If "%{HTTP:Authorization} =~ /^Basic/">
4747 AuthType Basic
4848 AuthName "PAM Authentication"
5656 GssapiSSLonly On
5757 GssapiLocalName <%= apache::bool2httpd($gssapi_local_name) %>
5858 </Else>
59- <% else -%>
59+ <% } else { -%>
6060 AuthType Basic
6161 AuthName "PAM Authentication"
6262 AuthBasicProvider PAM
6363 AuthPAMService <%= $pam_service %>
64- <% end -%>
64+ <% } -%>
6565 require pam-account <%= $pam_service %>
6666 ErrorDocument 401 '{ "error": "External authentication did not pass." }'
6767 # The following is needed as a workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1020087
You can’t perform that action at this time.
0 commit comments