From ba9c00cb8c3ba6bdfefeb219723fa821eeb21abd Mon Sep 17 00:00:00 2001 From: Rishi Hegde Date: Mon, 12 Feb 2024 14:45:32 +0530 Subject: [PATCH] support for redhat9 fips --- .../generated/default/redhatfips9-64a | 15 +++++++++ .../aix71-POWERl-redhatfips9-64-aix71-POWERf | 27 +++++++++++++++ ...ips9-64a-aix71-POWER-redhatfips9-64aulcdfm | 33 +++++++++++++++++++ .../osinfo-version-0/redhatfips9-64a | 15 +++++++++ .../osinfo-version-1/redhatfips9-64a | 15 +++++++++ 5 files changed, 105 insertions(+) create mode 100644 test/fixtures/generated/default/redhatfips9-64a create mode 100644 test/fixtures/generated/multiplatform/aix71-POWERl-redhatfips9-64-aix71-POWERf create mode 100644 test/fixtures/generated/multiplatform/redhatfips9-64a-aix71-POWER-redhatfips9-64aulcdfm create mode 100644 test/fixtures/generated/osinfo-version-0/redhatfips9-64a create mode 100644 test/fixtures/generated/osinfo-version-1/redhatfips9-64a 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: