Create needed directory for UsePrivilegeSeparation optionmaster
- service: {{ openssh.service }} | - service: {{ openssh.service }} | ||||
{%- endif %} | {%- endif %} | ||||
{%- endfor %} | {%- endfor %} | ||||
{%- if salt['pillar.get']('sshd_config:UsePrivilegeSeparation', '')|lower == 'yes' %} | |||||
/var/run/sshd: | |||||
file.directory: | |||||
- user: root | |||||
- mode: 755 | |||||
- watch_in: | |||||
- service: {{ openssh.service }} | |||||
{% endif %} |