Skip to content

Commit

Permalink
Merge pull request #364 from smahima27/RE-16194
Browse files Browse the repository at this point in the history
Add beaker-hostgenerator support for Windows 2016 FIPS
  • Loading branch information
bastelfreak authored May 15, 2024
2 parents 513b09a + 638922f commit d48df6b
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 0 deletions.
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:

0 comments on commit d48df6b

Please sign in to comment.