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:
Martin Babinsky
2017-06-22 15:03:45 +02:00
committed by Martin Basti
parent 9808395c17
commit 85a79b5ccd

View File

@@ -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}")
] ]
) )