mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-12-18 11:03:08 +01:00
PrintLastLog missing in FreeBSD 11.0
The fix introduced in 678cc9066c
suppresses the PrintLastLog directive for FreeBSD 10.3.
SSH on FreeBSD 11.0 also does not support PrintLastLog, so this
change suppresses it for any version >= 10.3.
This commit is contained in:
parent
c964121b54
commit
1284109335
@ -146,7 +146,7 @@
|
|||||||
{{ option_default_uncommented('X11DisplayOffset', '10') }}
|
{{ option_default_uncommented('X11DisplayOffset', '10') }}
|
||||||
{{ option_default_uncommented('PrintMotd', 'no') }}
|
{{ option_default_uncommented('PrintMotd', 'no') }}
|
||||||
{# Bug in FreeBSD 10.3 (?) See https://lists.freebsd.org/pipermail/freebsd-stable/2016-April/084501.html #}
|
{# Bug in FreeBSD 10.3 (?) See https://lists.freebsd.org/pipermail/freebsd-stable/2016-April/084501.html #}
|
||||||
{% if not (salt['grains.get']('os') == 'FreeBSD' and salt['grains.get']('osrelease') == '10.3') -%}
|
{% if not (salt['grains.get']('os') == 'FreeBSD' and salt['grains.get']('osrelease')|float >= 10.3) -%}
|
||||||
{{ option_default_uncommented('PrintLastLog', 'yes') }}
|
{{ option_default_uncommented('PrintLastLog', 'yes') }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{{ option_default_uncommented('TCPKeepAlive', 'yes') }}
|
{{ option_default_uncommented('TCPKeepAlive', 'yes') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user