Skip to content

Commit

Permalink
Merge pull request #355 from rhegde0722/RE-16102
Browse files Browse the repository at this point in the history
Add beaker-hostgenerator support for redhatfips-9-x86_64
  • Loading branch information
joshcooper authored Feb 13, 2024
2 parents a20ac7f + be3c798 commit 6ecd07e
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/beaker-hostgenerator/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,15 @@ def osinfo
'platform' => 'el-9-x86_64',
},
},
'redhatfips9-64' => {
general: {
'platform' => 'el-9-x86_64',
'packaging_platform' => 'redhatfips-9-x86_64',
},
vmpooler: {
'template' => 'redhat-fips-9-x86_64',
},
},
'redhat9-AARCH64' => {
general: {
'platform' => 'el-9-aarch64',
Expand Down
15 changes: 15 additions & 0 deletions test/fixtures/generated/default/redhatfips9-64a
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
arguments_string: redhatfips9-64a
environment_variables: {}
expected_hash:
HOSTS:
redhatfips9-64-1:
platform: el-9-x86_64
packaging_platform: redhatfips-9-x86_64
template: redhat-fips-9-x86_64
hypervisor: vmpooler
roles:
- agent
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,27 @@
---
arguments_string: aix71-POWERl-redhatfips9-64-aix71-POWERf
environment_variables: {}
expected_hash:
HOSTS:
aix71-POWER-1:
platform: aix-7.1-power
hypervisor: vmpooler
roles:
- agent
- classifier
redhatfips9-64-1:
platform: el-9-x86_64
packaging_platform: redhatfips-9-x86_64
template: redhat-fips-9-x86_64
hypervisor: vmpooler
roles:
- agent
aix71-POWER-2:
platform: aix-7.1-power
hypervisor: vmpooler
roles:
- agent
- frictionless
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,33 @@
---
arguments_string: redhatfips9-64a-aix71-POWER-redhatfips9-64aulcdfm
environment_variables: {}
expected_hash:
HOSTS:
redhatfips9-64-1:
platform: el-9-x86_64
packaging_platform: redhatfips-9-x86_64
template: redhat-fips-9-x86_64
hypervisor: vmpooler
roles:
- agent
aix71-POWER-1:
platform: aix-7.1-power
hypervisor: vmpooler
roles:
- agent
redhatfips9-64-2:
platform: el-9-x86_64
packaging_platform: redhatfips-9-x86_64
template: redhat-fips-9-x86_64
hypervisor: vmpooler
roles:
- agent
- ca
- classifier
- dashboard
- database
- frictionless
- master
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
15 changes: 15 additions & 0 deletions test/fixtures/generated/osinfo-version-0/redhatfips9-64a
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
arguments_string: "--osinfo-version 0 redhatfips9-64a"
environment_variables: {}
expected_hash:
HOSTS:
redhatfips9-64-1:
platform: el-9-x86_64
packaging_platform: redhatfips-9-x86_64
template: redhat-fips-9-x86_64
hypervisor: vmpooler
roles:
- agent
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
15 changes: 15 additions & 0 deletions test/fixtures/generated/osinfo-version-1/redhatfips9-64a
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
arguments_string: "--osinfo-version 1 redhatfips9-64a"
environment_variables: {}
expected_hash:
HOSTS:
redhatfips9-64-1:
platform: el-9-x86_64
packaging_platform: redhatfips-9-x86_64
template: redhat-fips-9-x86_64
hypervisor: vmpooler
roles:
- agent
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:

0 comments on commit 6ecd07e

Please sign in to comment.