diff --git a/lib/beaker-hostgenerator/data.rb b/lib/beaker-hostgenerator/data.rb index 000b3fde..a0811621 100644 --- a/lib/beaker-hostgenerator/data.rb +++ b/lib/beaker-hostgenerator/data.rb @@ -1139,6 +1139,7 @@ def generate_osinfo %w[almalinux rocky].each do |os| (8..9).each do |release| yield ["#{os}#{release}-64", "el-#{release}-x86_64"] + yield ["#{os}#{release}-AARCH64", "el-#{release}-aarch64"] end end diff --git a/test/fixtures/generated/default/almalinux9-AARCH64d b/test/fixtures/generated/default/almalinux9-AARCH64d new file mode 100644 index 00000000..8d8cea80 --- /dev/null +++ b/test/fixtures/generated/default/almalinux9-AARCH64d @@ -0,0 +1,15 @@ +--- +arguments_string: almalinux9-AARCH64d +environment_variables: {} +expected_hash: + HOSTS: + almalinux9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: almalinux-9-aarch64 + roles: + - agent + - database + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/default/rocky9-AARCH64a b/test/fixtures/generated/default/rocky9-AARCH64a new file mode 100644 index 00000000..51a8e436 --- /dev/null +++ b/test/fixtures/generated/default/rocky9-AARCH64a @@ -0,0 +1,14 @@ +--- +arguments_string: rocky9-AARCH64a +environment_variables: {} +expected_hash: + HOSTS: + rocky9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: rocky-9-aarch64 + roles: + - agent + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/multiplatform/almalinux9-AARCH64d-sles12-S390X-almalinux9-AARCH64c b/test/fixtures/generated/multiplatform/almalinux9-AARCH64d-sles12-S390X-almalinux9-AARCH64c new file mode 100644 index 00000000..7e4fcdd8 --- /dev/null +++ b/test/fixtures/generated/multiplatform/almalinux9-AARCH64d-sles12-S390X-almalinux9-AARCH64c @@ -0,0 +1,27 @@ +--- +arguments_string: almalinux9-AARCH64d-sles12-S390X-almalinux9-AARCH64c +environment_variables: {} +expected_hash: + HOSTS: + almalinux9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: almalinux-9-aarch64 + roles: + - agent + - database + sles12-S390X-1: + platform: sles-12-s390x + hypervisor: vmpooler + roles: + - agent + almalinux9-AARCH64-2: + platform: el-9-aarch64 + hypervisor: vmpooler + template: almalinux-9-aarch64 + roles: + - agent + - dashboard + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/multiplatform/rocky9-AARCH64a-sles11-32-rocky9-AARCH64aulcdfm b/test/fixtures/generated/multiplatform/rocky9-AARCH64a-sles11-32-rocky9-AARCH64aulcdfm new file mode 100644 index 00000000..3071fdf2 --- /dev/null +++ b/test/fixtures/generated/multiplatform/rocky9-AARCH64a-sles11-32-rocky9-AARCH64aulcdfm @@ -0,0 +1,32 @@ +--- +arguments_string: rocky9-AARCH64a-sles11-32-rocky9-AARCH64aulcdfm +environment_variables: {} +expected_hash: + HOSTS: + rocky9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: rocky-9-aarch64 + roles: + - agent + sles11-32-1: + platform: sles-11-i386 + template: sles-11-i386 + hypervisor: vmpooler + roles: + - agent + rocky9-AARCH64-2: + platform: el-9-aarch64 + hypervisor: vmpooler + template: rocky-9-aarch64 + 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/multiplatform/sles11-32d-rocky9-AARCH64-sles11-32c b/test/fixtures/generated/multiplatform/sles11-32d-rocky9-AARCH64-sles11-32c new file mode 100644 index 00000000..ec8bded1 --- /dev/null +++ b/test/fixtures/generated/multiplatform/sles11-32d-rocky9-AARCH64-sles11-32c @@ -0,0 +1,28 @@ +--- +arguments_string: sles11-32d-rocky9-AARCH64-sles11-32c +environment_variables: {} +expected_hash: + HOSTS: + sles11-32-1: + platform: sles-11-i386 + template: sles-11-i386 + hypervisor: vmpooler + roles: + - agent + - database + rocky9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: rocky-9-aarch64 + roles: + - agent + sles11-32-2: + platform: sles-11-i386 + template: sles-11-i386 + hypervisor: vmpooler + roles: + - agent + - dashboard + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/multiplatform/sles12-S390Xa-almalinux9-AARCH64-sles12-S390Xaulcdfm b/test/fixtures/generated/multiplatform/sles12-S390Xa-almalinux9-AARCH64-sles12-S390Xaulcdfm new file mode 100644 index 00000000..12bebca7 --- /dev/null +++ b/test/fixtures/generated/multiplatform/sles12-S390Xa-almalinux9-AARCH64-sles12-S390Xaulcdfm @@ -0,0 +1,30 @@ +--- +arguments_string: sles12-S390Xa-almalinux9-AARCH64-sles12-S390Xaulcdfm +environment_variables: {} +expected_hash: + HOSTS: + sles12-S390X-1: + platform: sles-12-s390x + hypervisor: vmpooler + roles: + - agent + almalinux9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: almalinux-9-aarch64 + roles: + - agent + sles12-S390X-2: + platform: sles-12-s390x + 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/almalinux9-AARCH64d b/test/fixtures/generated/osinfo-version-0/almalinux9-AARCH64d new file mode 100644 index 00000000..1f712d86 --- /dev/null +++ b/test/fixtures/generated/osinfo-version-0/almalinux9-AARCH64d @@ -0,0 +1,15 @@ +--- +arguments_string: "--osinfo-version 0 almalinux9-AARCH64d" +environment_variables: {} +expected_hash: + HOSTS: + almalinux9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: almalinux-9-aarch64 + roles: + - agent + - database + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/osinfo-version-0/rocky9-AARCH64a b/test/fixtures/generated/osinfo-version-0/rocky9-AARCH64a new file mode 100644 index 00000000..c5d7257a --- /dev/null +++ b/test/fixtures/generated/osinfo-version-0/rocky9-AARCH64a @@ -0,0 +1,14 @@ +--- +arguments_string: "--osinfo-version 0 rocky9-AARCH64a" +environment_variables: {} +expected_hash: + HOSTS: + rocky9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: rocky-9-aarch64 + roles: + - agent + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/osinfo-version-1/almalinux9-AARCH64d b/test/fixtures/generated/osinfo-version-1/almalinux9-AARCH64d new file mode 100644 index 00000000..c27f07f1 --- /dev/null +++ b/test/fixtures/generated/osinfo-version-1/almalinux9-AARCH64d @@ -0,0 +1,15 @@ +--- +arguments_string: "--osinfo-version 1 almalinux9-AARCH64d" +environment_variables: {} +expected_hash: + HOSTS: + almalinux9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: almalinux-9-aarch64 + roles: + - agent + - database + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/osinfo-version-1/rocky9-AARCH64a b/test/fixtures/generated/osinfo-version-1/rocky9-AARCH64a new file mode 100644 index 00000000..9138e202 --- /dev/null +++ b/test/fixtures/generated/osinfo-version-1/rocky9-AARCH64a @@ -0,0 +1,14 @@ +--- +arguments_string: "--osinfo-version 1 rocky9-AARCH64a" +environment_variables: {} +expected_hash: + HOSTS: + rocky9-AARCH64-1: + platform: el-9-aarch64 + hypervisor: vmpooler + template: rocky-9-aarch64 + roles: + - agent + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: