mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix indentation of statements in Smart card advises
https://pagure.io/freeipa/issue/7036 Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
9808395c17
commit
85a79b5ccd
@@ -165,13 +165,13 @@ class config_server_for_smart_card_auth(common_smart_card_auth_config):
|
|||||||
predicate,
|
predicate,
|
||||||
[
|
[
|
||||||
self._interpolate_ocsp_directive_file_into_command(
|
self._interpolate_ocsp_directive_file_into_command(
|
||||||
" sed -i.ipabkp -r "
|
"sed -i.ipabkp -r "
|
||||||
"'s/^#*[[:space:]]*{directive}[[:space:]]+(on|off)$"
|
"'s/^#*[[:space:]]*{directive}[[:space:]]+(on|off)$"
|
||||||
"/{directive} on/' {filename}")
|
"/{directive} on/' {filename}")
|
||||||
],
|
],
|
||||||
commands_to_run_when_false=[
|
commands_to_run_when_false=[
|
||||||
self._interpolate_ocsp_directive_file_into_command(
|
self._interpolate_ocsp_directive_file_into_command(
|
||||||
" sed -i.ipabkp '/<\/VirtualHost>/i {directive} on' "
|
"sed -i.ipabkp '/<\/VirtualHost>/i {directive} on' "
|
||||||
"{filename}")
|
"{filename}")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user