Skip to content

Commit

Permalink
Add redhat9-power
Browse files Browse the repository at this point in the history
  • Loading branch information
yachub committed Oct 6, 2023
1 parent 93900ce commit 8218add
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/beaker-hostgenerator/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,14 @@ def osinfo
'template' => 'redhat-9-arm64',
},
},
'redhat9-POWER' => {
general: {
'platform' => 'el-9-ppc64le',
},
abs: {
'template' => 'redhat-9-power',
},
},
'sles11-32' => {
general: {
'platform' => 'sles-11-i386',
Expand Down
15 changes: 15 additions & 0 deletions test/fixtures/generated/default/redhat9-POWERf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
arguments_string: redhat9-POWERf
environment_variables: {}
expected_hash:
HOSTS:
redhat9-POWER-1:
platform: el-9-ppc64le
hypervisor: vmpooler
template: redhat-9-ppc64le
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,30 @@
---
arguments_string: amazon6-64a-redhat9-POWER-amazon6-64aulcdfm
environment_variables: {}
expected_hash:
HOSTS:
amazon6-64-1:
platform: el-6-x86_64
hypervisor: vmpooler
roles:
- agent
redhat9-POWER-1:
platform: el-9-ppc64le
hypervisor: vmpooler
template: redhat-9-ppc64le
roles:
- agent
amazon6-64-2:
platform: el-6-x86_64
hypervisor: vmpooler
roles:
- agent
- ca
- classifier
- dashboard
- database
- frictionless
- master
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: redhat9-POWERf-amazon6-64-redhat9-POWERl
environment_variables: {}
expected_hash:
HOSTS:
redhat9-POWER-1:
platform: el-9-ppc64le
hypervisor: vmpooler
template: redhat-9-ppc64le
roles:
- agent
- frictionless
amazon6-64-1:
platform: el-6-x86_64
hypervisor: vmpooler
roles:
- agent
redhat9-POWER-2:
platform: el-9-ppc64le
hypervisor: vmpooler
template: redhat-9-ppc64le
roles:
- agent
- classifier
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
15 changes: 15 additions & 0 deletions test/fixtures/generated/osinfo-version-0/redhat9-POWERf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
arguments_string: "--osinfo-version 0 redhat9-POWERf"
environment_variables: {}
expected_hash:
HOSTS:
redhat9-POWER-1:
platform: el-9-ppc64le
hypervisor: vmpooler
template: redhat-9-ppc64le
roles:
- agent
- frictionless
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
15 changes: 15 additions & 0 deletions test/fixtures/generated/osinfo-version-1/redhat9-POWERf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
arguments_string: "--osinfo-version 1 redhat9-POWERf"
environment_variables: {}
expected_hash:
HOSTS:
redhat9-POWER-1:
platform: el-9-ppc64le
hypervisor: vmpooler
template: redhat-9-ppc64le
roles:
- agent
- frictionless
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:

0 comments on commit 8218add

Please sign in to comment.