fix(pillar): `tofs` must not be under `mine_functions`tags/v2.0.4
# salt://files/ssh/moduli.hash | # salt://files/ssh/moduli.hash | ||||
# These will be automatically referenced to by the ssh_moduli state. | # These will be automatically referenced to by the ssh_moduli state. | ||||
# Required for openssh.known_hosts | |||||
mine_functions: | |||||
public_ssh_host_keys: | |||||
mine_function: cmd.run | |||||
cmd: cat /etc/ssh/ssh_host_*_key.pub | |||||
python_shell: true | |||||
public_ssh_hostname: | |||||
mine_function: grains.get | |||||
key: id | |||||
tofs: | tofs: | ||||
# The files_switch key serves as a selector for alternative | # The files_switch key serves as a selector for alternative | ||||
# directories under the formula files directory. See TOFS pattern | # directories under the formula files directory. See TOFS pattern | ||||
- alt_ssh_config | - alt_ssh_config | ||||
sshd_banner: | sshd_banner: | ||||
- fire_banner | - fire_banner | ||||
# Required for openssh.known_hosts | |||||
mine_functions: | |||||
public_ssh_host_keys: | |||||
mine_function: cmd.run | |||||
cmd: cat /etc/ssh/ssh_host_*_key.pub | |||||
python_shell: true | |||||
public_ssh_hostname: | |||||
mine_function: grains.get | |||||
key: id |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
sshd_config_src: sshd_config | sshd_config_src: sshd_config | ||||
sshd_config_user: root | sshd_config_user: root | ||||
sshd_enable: true | sshd_enable: true | ||||
tofs: | |||||
source_files: | |||||
manage ssh_known_hosts file: | |||||
- alt_ssh_known_hosts | |||||
ssh_config: | |||||
- alt_ssh_config | |||||
sshd_banner: | |||||
- fire_banner | |||||
sshd_config: | |||||
- alt_sshd_config | |||||
ssh_config: | ssh_config: | ||||
Hosts: | Hosts: | ||||
'*': | '*': |
# salt://files/ssh/moduli.hash | # salt://files/ssh/moduli.hash | ||||
# These will be automatically referenced to by the ssh_moduli state. | # These will be automatically referenced to by the ssh_moduli state. | ||||
# Required for openssh.known_hosts | |||||
mine_functions: | |||||
public_ssh_host_keys: | |||||
mine_function: cmd.run | |||||
cmd: cat /etc/ssh/ssh_host_*_key.pub | |||||
python_shell: true | |||||
public_ssh_hostname: | |||||
mine_function: grains.get | |||||
key: id | |||||
tofs: | tofs: | ||||
# The files_switch key serves as a selector for alternative | # The files_switch key serves as a selector for alternative | ||||
# directories under the formula files directory. See TOFS pattern | # directories under the formula files directory. See TOFS pattern | ||||
- alt_ssh_config | - alt_ssh_config | ||||
sshd_banner: | sshd_banner: | ||||
- fire_banner | - fire_banner | ||||
# Required for openssh.known_hosts | |||||
mine_functions: | |||||
public_ssh_host_keys: | |||||
mine_function: cmd.run | |||||
cmd: cat /etc/ssh/ssh_host_*_key.pub | |||||
python_shell: true | |||||
public_ssh_hostname: | |||||
mine_function: grains.get | |||||
key: id |