diff --git a/lib/beaker-hostgenerator/data.rb b/lib/beaker-hostgenerator/data.rb index b0dc3c85..61d1d607 100644 --- a/lib/beaker-hostgenerator/data.rb +++ b/lib/beaker-hostgenerator/data.rb @@ -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', diff --git a/test/fixtures/generated/default/redhatfips9-64a b/test/fixtures/generated/default/redhatfips9-64a new file mode 100644 index 00000000..74db98d0 --- /dev/null +++ b/test/fixtures/generated/default/redhatfips9-64a @@ -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: diff --git a/test/fixtures/generated/multiplatform/aix71-POWERl-redhatfips9-64-aix71-POWERf b/test/fixtures/generated/multiplatform/aix71-POWERl-redhatfips9-64-aix71-POWERf new file mode 100644 index 00000000..8865ba93 --- /dev/null +++ b/test/fixtures/generated/multiplatform/aix71-POWERl-redhatfips9-64-aix71-POWERf @@ -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: diff --git a/test/fixtures/generated/multiplatform/redhatfips9-64a-aix71-POWER-redhatfips9-64aulcdfm b/test/fixtures/generated/multiplatform/redhatfips9-64a-aix71-POWER-redhatfips9-64aulcdfm new file mode 100644 index 00000000..01bbc890 --- /dev/null +++ b/test/fixtures/generated/multiplatform/redhatfips9-64a-aix71-POWER-redhatfips9-64aulcdfm @@ -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: diff --git a/test/fixtures/generated/osinfo-version-0/redhatfips9-64a b/test/fixtures/generated/osinfo-version-0/redhatfips9-64a new file mode 100644 index 00000000..8893fc1c --- /dev/null +++ b/test/fixtures/generated/osinfo-version-0/redhatfips9-64a @@ -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: diff --git a/test/fixtures/generated/osinfo-version-1/redhatfips9-64a b/test/fixtures/generated/osinfo-version-1/redhatfips9-64a new file mode 100644 index 00000000..d59ee755 --- /dev/null +++ b/test/fixtures/generated/osinfo-version-1/redhatfips9-64a @@ -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: