Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add beaker-hostgenerator support for Windows 2016 FIPS #364

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lib/beaker-hostgenerator/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,16 @@ def osinfo
'locale' => 'fr',
},
},
'windowsfips2016-6432' => {
general: {
'platform' => 'windows-2016-64',
'packaging_platform' => 'windowsfips-2016-x64',
'ruby_arch' => 'x64',
},
vmpooler: {
'template' => 'win-2016-fips-x86_64',
},
},
'windows2019-64' => {
general: {
'platform' => 'windows-2019-64',
Expand Down
17 changes: 17 additions & 0 deletions test/fixtures/generated/default/windowsfips2016-6432c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: windowsfips2016-6432c
environment_variables: {}
expected_hash:
HOSTS:
windowsfips2016-6432-1:
platform: windows-2016-64
packaging_platform: windowsfips-2016-x64
ruby_arch: x64
template: win-2016-fips-x86_64
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
arguments_string: fedora28-32c-windowsfips2016-6432-fedora28-32d
environment_variables: {}
expected_hash:
HOSTS:
fedora28-32-1:
platform: fedora-28-i386
hypervisor: vmpooler
template: fedora-28-i386
roles:
- agent
- dashboard
windowsfips2016-6432-1:
platform: windows-2016-64
packaging_platform: windowsfips-2016-x64
ruby_arch: x64
template: win-2016-fips-x86_64
hypervisor: vmpooler
roles:
- agent
fedora28-32-2:
platform: fedora-28-i386
hypervisor: vmpooler
template: fedora-28-i386
roles:
- agent
- database
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
arguments_string: windowsfips2016-6432c-fedora28-32-windowsfips2016-6432d
environment_variables: {}
expected_hash:
HOSTS:
windowsfips2016-6432-1:
platform: windows-2016-64
packaging_platform: windowsfips-2016-x64
ruby_arch: x64
template: win-2016-fips-x86_64
hypervisor: vmpooler
roles:
- agent
- dashboard
fedora28-32-1:
platform: fedora-28-i386
hypervisor: vmpooler
template: fedora-28-i386
roles:
- agent
windowsfips2016-6432-2:
platform: windows-2016-64
packaging_platform: windowsfips-2016-x64
ruby_arch: x64
template: win-2016-fips-x86_64
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
17 changes: 17 additions & 0 deletions test/fixtures/generated/osinfo-version-0/windowsfips2016-6432c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: "--osinfo-version 0 windowsfips2016-6432c"
environment_variables: {}
expected_hash:
HOSTS:
windowsfips2016-6432-1:
platform: windows-2016-64
packaging_platform: windowsfips-2016-x64
ruby_arch: x64
template: win-2016-fips-x86_64
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
17 changes: 17 additions & 0 deletions test/fixtures/generated/osinfo-version-1/windowsfips2016-6432c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: "--osinfo-version 1 windowsfips2016-6432c"
environment_variables: {}
expected_hash:
HOSTS:
windowsfips2016-6432-1:
platform: windows-2016-64
packaging_platform: windowsfips-2016-x64
ruby_arch: x64
template: win-2016-fips-x86_64
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception: