Skip to content

Commit 5e9033f

Browse files
committed
test(inspec): _mapdata files should have tofs configuration
1 parent 9576b72 commit 5e9033f

File tree

14 files changed

+140
-0
lines changed

14 files changed

+140
-0
lines changed

test/integration/default/files/_mapdata/amazonlinux-1.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/amazonlinux-2.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/arch-base-latest.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/centos-6.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/centos-7.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/centos-8.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/debian-10.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/debian-9.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/fedora-31.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

test/integration/default/files/_mapdata/fedora-32.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ openssh:
151151
sshd_config_src: sshd_config
152152
sshd_config_user: root
153153
sshd_enable: true
154+
tofs:
155+
source_files:
156+
manage ssh_known_hosts file:
157+
- alt_ssh_known_hosts
158+
ssh_config:
159+
- alt_ssh_config
160+
sshd_banner:
161+
- fire_banner
162+
sshd_config:
163+
- alt_sshd_config
154164
ssh_config:
155165
Hosts:
156166
'*':

0 commit comments

Comments
 (0)