beaker-hostgenerator 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +0 -24
- data/HISTORY.md +150 -2
- data/MAINTAINERS +1 -0
- data/Rakefile +0 -17
- data/beaker-hostgenerator.gemspec +2 -3
- data/lib/beaker-hostgenerator/data.rb +18 -0
- data/lib/beaker-hostgenerator/version.rb +1 -1
- metadata +16 -472
- data/acceptance/config/nodes/vagrant-ubuntu-1404.yml +0 -8
- data/acceptance/tests/first.rb +0 -8
- data/spec/beaker-hostgenerator/abs-support_spec.rb +0 -14
- data/spec/beaker-hostgenerator/generator_spec.rb +0 -94
- data/spec/beaker-hostgenerator/parser_spec.rb +0 -146
- data/spec/helpers.rb +0 -109
- data/spec/spec_helper.rb +0 -10
- data/test/fixtures/generated/default/aix53-POWERa +0 -19
- data/test/fixtures/generated/default/aix61-POWERu +0 -20
- data/test/fixtures/generated/default/aix71-POWERl +0 -20
- data/test/fixtures/generated/default/arista4-32c +0 -21
- data/test/fixtures/generated/default/centos4-32d +0 -21
- data/test/fixtures/generated/default/centos4-64f +0 -21
- data/test/fixtures/generated/default/centos5-32m +0 -21
- data/test/fixtures/generated/default/centos5-64aulcdfm +0 -26
- data/test/fixtures/generated/default/centos6-32a +0 -20
- data/test/fixtures/generated/default/centos6-64u +0 -21
- data/test/fixtures/generated/default/centos7-64l +0 -21
- data/test/fixtures/generated/default/cisconx-64c +0 -24
- data/test/fixtures/generated/default/ciscoxr-64d +0 -21
- data/test/fixtures/generated/default/cumulus25-64f +0 -21
- data/test/fixtures/generated/default/debian6-32m +0 -21
- data/test/fixtures/generated/default/debian6-64aulcdfm +0 -26
- data/test/fixtures/generated/default/debian7-32a +0 -20
- data/test/fixtures/generated/default/debian7-64u +0 -21
- data/test/fixtures/generated/default/debian8-32l +0 -21
- data/test/fixtures/generated/default/debian8-64c +0 -21
- data/test/fixtures/generated/default/debian9-32d +0 -21
- data/test/fixtures/generated/default/debian9-64f +0 -21
- data/test/fixtures/generated/default/fedora14-32m +0 -21
- data/test/fixtures/generated/default/fedora19-32aulcdfm +0 -26
- data/test/fixtures/generated/default/fedora19-64a +0 -20
- data/test/fixtures/generated/default/fedora20-32u +0 -21
- data/test/fixtures/generated/default/fedora20-64l +0 -21
- data/test/fixtures/generated/default/fedora21-32c +0 -21
- data/test/fixtures/generated/default/fedora21-64d +0 -21
- data/test/fixtures/generated/default/fedora22-32f +0 -21
- data/test/fixtures/generated/default/fedora22-64m +0 -21
- data/test/fixtures/generated/default/fedora23-32aulcdfm +0 -26
- data/test/fixtures/generated/default/fedora23-64a +0 -20
- data/test/fixtures/generated/default/fedora24-32u +0 -21
- data/test/fixtures/generated/default/fedora24-64l +0 -21
- data/test/fixtures/generated/default/huaweios6-POWERc +0 -20
- data/test/fixtures/generated/default/opensuse11-32c +0 -21
- data/test/fixtures/generated/default/opensuse11-64d +0 -21
- data/test/fixtures/generated/default/oracle5-32f +0 -21
- data/test/fixtures/generated/default/oracle5-64m +0 -21
- data/test/fixtures/generated/default/oracle6-32aulcdfm +0 -26
- data/test/fixtures/generated/default/oracle6-64a +0 -20
- data/test/fixtures/generated/default/oracle7-64u +0 -21
- data/test/fixtures/generated/default/osx1010-64c +0 -21
- data/test/fixtures/generated/default/osx1011-64d +0 -21
- data/test/fixtures/generated/default/osx1012-64m +0 -21
- data/test/fixtures/generated/default/osx109-64l +0 -21
- data/test/fixtures/generated/default/redhat4-32f +0 -21
- data/test/fixtures/generated/default/redhat4-64m +0 -21
- data/test/fixtures/generated/default/redhat5-32aulcdfm +0 -26
- data/test/fixtures/generated/default/redhat5-64a +0 -20
- data/test/fixtures/generated/default/redhat6-32u +0 -21
- data/test/fixtures/generated/default/redhat6-64l +0 -21
- data/test/fixtures/generated/default/redhat6-S390Xc +0 -20
- data/test/fixtures/generated/default/redhat7-64d +0 -21
- data/test/fixtures/generated/default/redhat7-S390Xf +0 -20
- data/test/fixtures/generated/default/scientific5-32m +0 -21
- data/test/fixtures/generated/default/scientific5-64aulcdfm +0 -26
- data/test/fixtures/generated/default/scientific6-32a +0 -20
- data/test/fixtures/generated/default/scientific6-64u +0 -21
- data/test/fixtures/generated/default/scientific7-64l +0 -21
- data/test/fixtures/generated/default/sles10-32c +0 -21
- data/test/fixtures/generated/default/sles10-64d +0 -21
- data/test/fixtures/generated/default/sles11-32f +0 -21
- data/test/fixtures/generated/default/sles11-64m +0 -21
- data/test/fixtures/generated/default/sles11-S390Xaulcdfm +0 -25
- data/test/fixtures/generated/default/sles12-64a +0 -20
- data/test/fixtures/generated/default/sles12-S390Xu +0 -20
- data/test/fixtures/generated/default/solaris10-32l +0 -21
- data/test/fixtures/generated/default/solaris10-64c +0 -21
- data/test/fixtures/generated/default/solaris10-SPARCd +0 -20
- data/test/fixtures/generated/default/solaris11-32f +0 -21
- data/test/fixtures/generated/default/solaris11-64m +0 -21
- data/test/fixtures/generated/default/solaris11-SPARCaulcdfm +0 -25
- data/test/fixtures/generated/default/solaris112-32a +0 -20
- data/test/fixtures/generated/default/solaris112-64u +0 -21
- data/test/fixtures/generated/default/ubuntu1004-32l +0 -21
- data/test/fixtures/generated/default/ubuntu1004-64c +0 -21
- data/test/fixtures/generated/default/ubuntu1204-32d +0 -21
- data/test/fixtures/generated/default/ubuntu1204-64f +0 -21
- data/test/fixtures/generated/default/ubuntu1404-32m +0 -21
- data/test/fixtures/generated/default/ubuntu1404-64aulcdfm +0 -26
- data/test/fixtures/generated/default/ubuntu1504-32a +0 -20
- data/test/fixtures/generated/default/ubuntu1504-64u +0 -21
- data/test/fixtures/generated/default/ubuntu1510-32l +0 -21
- data/test/fixtures/generated/default/ubuntu1510-64c +0 -21
- data/test/fixtures/generated/default/ubuntu1604-32d +0 -21
- data/test/fixtures/generated/default/ubuntu1604-64f +0 -21
- data/test/fixtures/generated/default/windows10ent-32aulcdfm +0 -27
- data/test/fixtures/generated/default/windows10ent-64a +0 -21
- data/test/fixtures/generated/default/windows10pro-64u +0 -22
- data/test/fixtures/generated/default/windows2003-6432aulcdfm +0 -27
- data/test/fixtures/generated/default/windows2003-64m +0 -22
- data/test/fixtures/generated/default/windows2003r2-32a +0 -21
- data/test/fixtures/generated/default/windows2003r2-6432l +0 -22
- data/test/fixtures/generated/default/windows2003r2-64u +0 -22
- data/test/fixtures/generated/default/windows2008-6432d +0 -22
- data/test/fixtures/generated/default/windows2008-64c +0 -22
- data/test/fixtures/generated/default/windows2008r2-6432m +0 -22
- data/test/fixtures/generated/default/windows2008r2-64f +0 -22
- data/test/fixtures/generated/default/windows2012-6432a +0 -21
- data/test/fixtures/generated/default/windows2012-64aulcdfm +0 -27
- data/test/fixtures/generated/default/windows2012r2-6432l +0 -22
- data/test/fixtures/generated/default/windows2012r2-64u +0 -22
- data/test/fixtures/generated/default/windows2016-6432m +0 -22
- data/test/fixtures/generated/default/windows2016-64f +0 -22
- data/test/fixtures/generated/default/windows7-64c +0 -22
- data/test/fixtures/generated/default/windows8-64d +0 -22
- data/test/fixtures/generated/default/windows81-64f +0 -22
- data/test/fixtures/generated/default/windowsvista-64m +0 -22
- data/test/fixtures/generated/environment_variable_tests/pe_version_and_pe_family/centos6-32a +0 -24
- data/test/fixtures/generated/environment_variable_tests/pe_version_and_pe_family_no_upgrade/centos6-32a +0 -22
- data/test/fixtures/generated/environment_variable_tests/pe_version_and_pe_family_upgrade_only/centos6-32a +0 -22
- data/test/fixtures/generated/multiplatform/aix53-POWERa-windows10pro-64-aix53-POWERaulcdfm +0 -45
- data/test/fixtures/generated/multiplatform/aix61-POWERu-windows10ent-64-aix61-POWERm +0 -41
- data/test/fixtures/generated/multiplatform/aix71-POWERl-windows10ent-32-aix71-POWERf +0 -41
- data/test/fixtures/generated/multiplatform/arista4-32c-windowsvista-64-arista4-32d +0 -43
- data/test/fixtures/generated/multiplatform/centos4-32d-windows81-64-centos4-32c +0 -43
- data/test/fixtures/generated/multiplatform/centos4-64f-windows8-64-centos4-64l +0 -43
- data/test/fixtures/generated/multiplatform/centos5-32m-windows7-64-centos5-32u +0 -43
- data/test/fixtures/generated/multiplatform/centos5-64aulcdfm-windows2012r2-6432-centos5-64a +0 -47
- data/test/fixtures/generated/multiplatform/centos5-64aulcdfm-windows2016-6432-centos5-64a +0 -47
- data/test/fixtures/generated/multiplatform/centos6-32a-windows2012r2-64-centos6-32aulcdfm +0 -47
- data/test/fixtures/generated/multiplatform/centos6-32a-windows2016-64-centos6-32aulcdfm +0 -47
- data/test/fixtures/generated/multiplatform/centos6-64u-windows2012-6432-centos6-64m +0 -43
- data/test/fixtures/generated/multiplatform/centos7-64l-windows2012-64-centos7-64f +0 -43
- data/test/fixtures/generated/multiplatform/cisconx-64c-windows2008r2-6432-cisconx-64d +0 -49
- data/test/fixtures/generated/multiplatform/ciscoxr-64d-windows2008r2-64-ciscoxr-64c +0 -43
- data/test/fixtures/generated/multiplatform/cumulus25-64f-windows2008-6432-cumulus25-64l +0 -43
- data/test/fixtures/generated/multiplatform/debian6-32m-windows2008-64-debian6-32u +0 -43
- data/test/fixtures/generated/multiplatform/debian6-64aulcdfm-windows2003r2-6432-debian6-64a +0 -47
- data/test/fixtures/generated/multiplatform/debian7-32a-windows2003r2-64-debian7-32aulcdfm +0 -47
- data/test/fixtures/generated/multiplatform/debian7-64u-windows2003r2-32-debian7-64m +0 -43
- data/test/fixtures/generated/multiplatform/debian8-32l-windows2003-6432-debian8-32f +0 -43
- data/test/fixtures/generated/multiplatform/debian8-64c-windows2003-64-debian8-64d +0 -43
- data/test/fixtures/generated/multiplatform/debian9-32d-ubuntu1604-64-debian9-32c +0 -42
- data/test/fixtures/generated/multiplatform/debian9-64f-ubuntu1604-32-debian9-64l +0 -42
- data/test/fixtures/generated/multiplatform/fedora14-32m-ubuntu1510-64-fedora14-32u +0 -42
- data/test/fixtures/generated/multiplatform/fedora19-32aulcdfm-ubuntu1510-32-fedora19-32a +0 -46
- data/test/fixtures/generated/multiplatform/fedora19-64a-ubuntu1504-64-fedora19-64aulcdfm +0 -46
- data/test/fixtures/generated/multiplatform/fedora20-32u-ubuntu1504-32-fedora20-32m +0 -42
- data/test/fixtures/generated/multiplatform/fedora20-64l-ubuntu1404-64-fedora20-64f +0 -42
- data/test/fixtures/generated/multiplatform/fedora21-32c-ubuntu1404-32-fedora21-32d +0 -42
- data/test/fixtures/generated/multiplatform/fedora21-64d-ubuntu1204-64-fedora21-64c +0 -42
- data/test/fixtures/generated/multiplatform/fedora22-32f-ubuntu1204-32-fedora22-32l +0 -42
- data/test/fixtures/generated/multiplatform/fedora22-64m-ubuntu1004-64-fedora22-64u +0 -42
- data/test/fixtures/generated/multiplatform/fedora23-32aulcdfm-ubuntu1004-32-fedora23-32a +0 -46
- data/test/fixtures/generated/multiplatform/fedora23-64a-solaris112-64-fedora23-64aulcdfm +0 -46
- data/test/fixtures/generated/multiplatform/fedora24-32u-solaris112-32-fedora24-32m +0 -42
- data/test/fixtures/generated/multiplatform/fedora24-64l-solaris11-SPARC-fedora24-64f +0 -41
- data/test/fixtures/generated/multiplatform/huaweios6-POWERc-solaris11-64-huaweios6-POWERd +0 -40
- data/test/fixtures/generated/multiplatform/opensuse11-32c-solaris11-64-opensuse11-32d +0 -42
- data/test/fixtures/generated/multiplatform/opensuse11-64d-solaris11-32-opensuse11-64c +0 -42
- data/test/fixtures/generated/multiplatform/oracle5-32f-solaris10-SPARC-oracle5-32l +0 -41
- data/test/fixtures/generated/multiplatform/oracle5-64m-solaris10-64-oracle5-64u +0 -42
- data/test/fixtures/generated/multiplatform/oracle6-32aulcdfm-solaris10-32-oracle6-32a +0 -46
- data/test/fixtures/generated/multiplatform/oracle6-64a-sles12-S390X-oracle6-64aulcdfm +0 -45
- data/test/fixtures/generated/multiplatform/oracle7-64u-sles12-64-oracle7-64m +0 -42
- data/test/fixtures/generated/multiplatform/osx1010-64c-sles11-64-osx1010-64d +0 -42
- data/test/fixtures/generated/multiplatform/osx1011-64d-sles11-32-osx1011-64c +0 -42
- data/test/fixtures/generated/multiplatform/osx1012-64m-sles10-32-osx1012-64u +0 -42
- data/test/fixtures/generated/multiplatform/osx1012-64m-sles11-32-osx1012-64u +0 -42
- data/test/fixtures/generated/multiplatform/osx109-64l-sles11-S390X-osx109-64f +0 -41
- data/test/fixtures/generated/multiplatform/redhat4-32f-sles10-64-redhat4-32l +0 -42
- data/test/fixtures/generated/multiplatform/redhat4-64m-sles10-32-redhat4-64u +0 -42
- data/test/fixtures/generated/multiplatform/redhat5-32aulcdfm-scientific7-64-redhat5-32a +0 -46
- data/test/fixtures/generated/multiplatform/redhat5-64a-scientific6-64-redhat5-64aulcdfm +0 -46
- data/test/fixtures/generated/multiplatform/redhat6-32u-scientific6-32-redhat6-32m +0 -42
- data/test/fixtures/generated/multiplatform/redhat6-64l-scientific5-64-redhat6-64f +0 -42
- data/test/fixtures/generated/multiplatform/redhat6-S390Xc-scientific5-32-redhat6-S390Xd +0 -40
- data/test/fixtures/generated/multiplatform/redhat7-64d-redhat7-S390X-redhat7-64c +0 -41
- data/test/fixtures/generated/multiplatform/redhat7-S390Xf-redhat7-64-redhat7-S390Xl +0 -40
- data/test/fixtures/generated/multiplatform/scientific5-32m-redhat6-S390X-scientific5-32u +0 -41
- data/test/fixtures/generated/multiplatform/scientific5-64aulcdfm-redhat6-64-scientific5-64a +0 -46
- data/test/fixtures/generated/multiplatform/scientific6-32a-redhat6-32-scientific6-32aulcdfm +0 -46
- data/test/fixtures/generated/multiplatform/scientific6-64u-redhat5-64-scientific6-64m +0 -42
- data/test/fixtures/generated/multiplatform/scientific7-64l-redhat5-32-scientific7-64f +0 -42
- data/test/fixtures/generated/multiplatform/sles10-32c-redhat4-64-sles10-32d +0 -42
- data/test/fixtures/generated/multiplatform/sles10-32f-osx1012-64-sles10-32l +0 -42
- data/test/fixtures/generated/multiplatform/sles10-64d-redhat4-32-sles10-64c +0 -42
- data/test/fixtures/generated/multiplatform/sles11-32aulcdfm-osx1012-64-sles11-32a +0 -46
- data/test/fixtures/generated/multiplatform/sles11-32f-osx1011-64-sles11-32l +0 -42
- data/test/fixtures/generated/multiplatform/sles11-64m-osx1010-64-sles11-64u +0 -42
- data/test/fixtures/generated/multiplatform/sles11-S390Xaulcdfm-osx109-64-sles11-S390Xa +0 -44
- data/test/fixtures/generated/multiplatform/sles12-64a-oracle7-64-sles12-64aulcdfm +0 -46
- data/test/fixtures/generated/multiplatform/sles12-S390Xu-oracle6-64-sles12-S390Xm +0 -40
- data/test/fixtures/generated/multiplatform/solaris10-32l-oracle6-32-solaris10-32f +0 -42
- data/test/fixtures/generated/multiplatform/solaris10-64c-oracle5-64-solaris10-64d +0 -42
- data/test/fixtures/generated/multiplatform/solaris10-SPARCd-oracle5-32-solaris10-SPARCc +0 -40
- data/test/fixtures/generated/multiplatform/solaris11-32f-opensuse11-64-solaris11-32l +0 -42
- data/test/fixtures/generated/multiplatform/solaris11-64aulcdfm-huaweios6-POWER-solaris11-64a +0 -45
- data/test/fixtures/generated/multiplatform/solaris11-64m-opensuse11-32-solaris11-64u +0 -42
- data/test/fixtures/generated/multiplatform/solaris11-SPARCaulcdfm-fedora24-64-solaris11-SPARCa +0 -44
- data/test/fixtures/generated/multiplatform/solaris112-32a-fedora24-32-solaris112-32aulcdfm +0 -46
- data/test/fixtures/generated/multiplatform/solaris112-64u-fedora23-64-solaris112-64m +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1004-32l-fedora23-32-ubuntu1004-32f +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1004-64c-fedora22-64-ubuntu1004-64d +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1204-32d-fedora22-32-ubuntu1204-32c +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1204-64f-fedora21-64-ubuntu1204-64l +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1404-32m-fedora21-32-ubuntu1404-32u +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1404-64aulcdfm-fedora20-64-ubuntu1404-64a +0 -46
- data/test/fixtures/generated/multiplatform/ubuntu1504-32a-fedora20-32-ubuntu1504-32aulcdfm +0 -46
- data/test/fixtures/generated/multiplatform/ubuntu1504-64u-fedora19-64-ubuntu1504-64m +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1510-32l-fedora19-32-ubuntu1510-32f +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1510-64c-fedora14-32-ubuntu1510-64d +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1604-32d-debian9-64-ubuntu1604-32c +0 -42
- data/test/fixtures/generated/multiplatform/ubuntu1604-64f-debian9-32-ubuntu1604-64l +0 -42
- data/test/fixtures/generated/multiplatform/windows10ent-32aulcdfm-aix71-POWER-windows10ent-32a +0 -47
- data/test/fixtures/generated/multiplatform/windows10ent-64a-aix61-POWER-windows10ent-64aulcdfm +0 -47
- data/test/fixtures/generated/multiplatform/windows10pro-64u-aix53-POWER-windows10pro-64m +0 -43
- data/test/fixtures/generated/multiplatform/windows2003-6432aulcdfm-debian8-32-windows2003-6432a +0 -48
- data/test/fixtures/generated/multiplatform/windows2003-64m-debian8-64-windows2003-64u +0 -44
- data/test/fixtures/generated/multiplatform/windows2003r2-32a-debian7-64-windows2003r2-32aulcdfm +0 -48
- data/test/fixtures/generated/multiplatform/windows2003r2-6432l-debian6-64-windows2003r2-6432f +0 -44
- data/test/fixtures/generated/multiplatform/windows2003r2-64u-debian7-32-windows2003r2-64m +0 -44
- data/test/fixtures/generated/multiplatform/windows2008-6432d-cumulus25-64-windows2008-6432c +0 -44
- data/test/fixtures/generated/multiplatform/windows2008-64c-debian6-32-windows2008-64d +0 -44
- data/test/fixtures/generated/multiplatform/windows2008r2-6432m-cisconx-64-windows2008r2-6432u +0 -47
- data/test/fixtures/generated/multiplatform/windows2008r2-64f-ciscoxr-64-windows2008r2-64l +0 -44
- data/test/fixtures/generated/multiplatform/windows2012-6432a-centos6-64-windows2012-6432aulcdfm +0 -48
- data/test/fixtures/generated/multiplatform/windows2012-64aulcdfm-centos7-64-windows2012-64a +0 -48
- data/test/fixtures/generated/multiplatform/windows2012r2-6432l-centos5-64-windows2012r2-6432f +0 -44
- data/test/fixtures/generated/multiplatform/windows2012r2-64u-centos6-32-windows2012r2-64m +0 -44
- data/test/fixtures/generated/multiplatform/windows2016-6432m-centos5-64-windows2016-6432u +0 -44
- data/test/fixtures/generated/multiplatform/windows2016-64f-centos6-32-windows2016-64l +0 -44
- data/test/fixtures/generated/multiplatform/windows7-64c-centos5-32-windows7-64d +0 -44
- data/test/fixtures/generated/multiplatform/windows8-64d-centos4-64-windows8-64c +0 -44
- data/test/fixtures/generated/multiplatform/windows81-64f-centos4-32-windows81-64l +0 -44
- data/test/fixtures/generated/multiplatform/windowsvista-64m-arista4-32-windowsvista-64u +0 -44
- data/test/fixtures/generated/osinfo-version-0/aix53-POWERa +0 -19
- data/test/fixtures/generated/osinfo-version-0/aix61-POWERu +0 -20
- data/test/fixtures/generated/osinfo-version-0/aix71-POWERl +0 -20
- data/test/fixtures/generated/osinfo-version-0/arista4-32c +0 -21
- data/test/fixtures/generated/osinfo-version-0/centos4-32d +0 -21
- data/test/fixtures/generated/osinfo-version-0/centos4-64f +0 -21
- data/test/fixtures/generated/osinfo-version-0/centos5-32m +0 -21
- data/test/fixtures/generated/osinfo-version-0/centos5-64aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-0/centos6-32a +0 -20
- data/test/fixtures/generated/osinfo-version-0/centos6-64u +0 -21
- data/test/fixtures/generated/osinfo-version-0/centos7-64l +0 -21
- data/test/fixtures/generated/osinfo-version-0/cisconx-64c +0 -24
- data/test/fixtures/generated/osinfo-version-0/ciscoxr-64d +0 -21
- data/test/fixtures/generated/osinfo-version-0/cumulus25-64f +0 -21
- data/test/fixtures/generated/osinfo-version-0/debian6-32m +0 -21
- data/test/fixtures/generated/osinfo-version-0/debian6-64aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-0/debian7-32a +0 -20
- data/test/fixtures/generated/osinfo-version-0/debian7-64u +0 -21
- data/test/fixtures/generated/osinfo-version-0/debian8-32l +0 -21
- data/test/fixtures/generated/osinfo-version-0/debian8-64c +0 -21
- data/test/fixtures/generated/osinfo-version-0/debian9-32d +0 -21
- data/test/fixtures/generated/osinfo-version-0/debian9-64f +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora14-32m +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora19-32aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-0/fedora19-64a +0 -20
- data/test/fixtures/generated/osinfo-version-0/fedora20-32u +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora20-64l +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora21-32c +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora21-64d +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora22-32f +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora22-64m +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora23-32aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-0/fedora23-64a +0 -20
- data/test/fixtures/generated/osinfo-version-0/fedora24-32u +0 -21
- data/test/fixtures/generated/osinfo-version-0/fedora24-64l +0 -21
- data/test/fixtures/generated/osinfo-version-0/huaweios6-POWERc +0 -20
- data/test/fixtures/generated/osinfo-version-0/opensuse11-32c +0 -21
- data/test/fixtures/generated/osinfo-version-0/opensuse11-64d +0 -21
- data/test/fixtures/generated/osinfo-version-0/oracle5-32f +0 -21
- data/test/fixtures/generated/osinfo-version-0/oracle5-64m +0 -21
- data/test/fixtures/generated/osinfo-version-0/oracle6-32aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-0/oracle6-64a +0 -20
- data/test/fixtures/generated/osinfo-version-0/oracle7-64u +0 -21
- data/test/fixtures/generated/osinfo-version-0/osx1010-64c +0 -21
- data/test/fixtures/generated/osinfo-version-0/osx1011-64d +0 -21
- data/test/fixtures/generated/osinfo-version-0/osx1012-64m +0 -21
- data/test/fixtures/generated/osinfo-version-0/osx109-64l +0 -21
- data/test/fixtures/generated/osinfo-version-0/redhat4-32f +0 -21
- data/test/fixtures/generated/osinfo-version-0/redhat4-64m +0 -21
- data/test/fixtures/generated/osinfo-version-0/redhat5-32aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-0/redhat5-64a +0 -20
- data/test/fixtures/generated/osinfo-version-0/redhat6-32u +0 -21
- data/test/fixtures/generated/osinfo-version-0/redhat6-64l +0 -21
- data/test/fixtures/generated/osinfo-version-0/redhat6-S390Xc +0 -20
- data/test/fixtures/generated/osinfo-version-0/redhat7-64d +0 -21
- data/test/fixtures/generated/osinfo-version-0/redhat7-S390Xf +0 -20
- data/test/fixtures/generated/osinfo-version-0/scientific5-32m +0 -21
- data/test/fixtures/generated/osinfo-version-0/scientific5-64aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-0/scientific6-32a +0 -20
- data/test/fixtures/generated/osinfo-version-0/scientific6-64u +0 -21
- data/test/fixtures/generated/osinfo-version-0/scientific7-64l +0 -21
- data/test/fixtures/generated/osinfo-version-0/sles10-32c +0 -21
- data/test/fixtures/generated/osinfo-version-0/sles10-64d +0 -21
- data/test/fixtures/generated/osinfo-version-0/sles11-32f +0 -21
- data/test/fixtures/generated/osinfo-version-0/sles11-64m +0 -21
- data/test/fixtures/generated/osinfo-version-0/sles11-S390Xaulcdfm +0 -25
- data/test/fixtures/generated/osinfo-version-0/sles12-64a +0 -20
- data/test/fixtures/generated/osinfo-version-0/sles12-S390Xu +0 -20
- data/test/fixtures/generated/osinfo-version-0/solaris10-32l +0 -21
- data/test/fixtures/generated/osinfo-version-0/solaris10-64c +0 -21
- data/test/fixtures/generated/osinfo-version-0/solaris10-SPARCd +0 -20
- data/test/fixtures/generated/osinfo-version-0/solaris11-32f +0 -21
- data/test/fixtures/generated/osinfo-version-0/solaris11-64m +0 -21
- data/test/fixtures/generated/osinfo-version-0/solaris11-SPARCaulcdfm +0 -25
- data/test/fixtures/generated/osinfo-version-0/solaris112-32a +0 -20
- data/test/fixtures/generated/osinfo-version-0/solaris112-64u +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1004-32l +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1004-64c +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1204-32d +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1204-64f +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1404-32m +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1404-64aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-0/ubuntu1504-32a +0 -20
- data/test/fixtures/generated/osinfo-version-0/ubuntu1504-64u +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1510-32l +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1510-64c +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1604-32d +0 -21
- data/test/fixtures/generated/osinfo-version-0/ubuntu1604-64f +0 -21
- data/test/fixtures/generated/osinfo-version-0/windows10ent-32aulcdfm +0 -27
- data/test/fixtures/generated/osinfo-version-0/windows10ent-64a +0 -21
- data/test/fixtures/generated/osinfo-version-0/windows10pro-64u +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2003-6432aulcdfm +0 -27
- data/test/fixtures/generated/osinfo-version-0/windows2003-64m +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2003r2-32a +0 -21
- data/test/fixtures/generated/osinfo-version-0/windows2003r2-6432l +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2003r2-64u +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2008-6432d +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2008-64c +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2008r2-6432m +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2008r2-64f +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2012-6432a +0 -21
- data/test/fixtures/generated/osinfo-version-0/windows2012-64aulcdfm +0 -27
- data/test/fixtures/generated/osinfo-version-0/windows2012r2-6432l +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2012r2-64u +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2016-6432m +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows2016-64f +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows7-64c +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows8-64d +0 -22
- data/test/fixtures/generated/osinfo-version-0/windows81-64f +0 -22
- data/test/fixtures/generated/osinfo-version-0/windowsvista-64m +0 -22
- data/test/fixtures/generated/osinfo-version-1/aix53-POWERa +0 -19
- data/test/fixtures/generated/osinfo-version-1/aix61-POWERu +0 -20
- data/test/fixtures/generated/osinfo-version-1/aix71-POWERl +0 -20
- data/test/fixtures/generated/osinfo-version-1/arista4-32c +0 -21
- data/test/fixtures/generated/osinfo-version-1/centos4-32d +0 -21
- data/test/fixtures/generated/osinfo-version-1/centos4-64f +0 -21
- data/test/fixtures/generated/osinfo-version-1/centos5-32m +0 -21
- data/test/fixtures/generated/osinfo-version-1/centos5-64aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-1/centos6-32a +0 -20
- data/test/fixtures/generated/osinfo-version-1/centos6-64u +0 -21
- data/test/fixtures/generated/osinfo-version-1/centos7-64l +0 -21
- data/test/fixtures/generated/osinfo-version-1/cisconx-64c +0 -24
- data/test/fixtures/generated/osinfo-version-1/ciscoxr-64d +0 -21
- data/test/fixtures/generated/osinfo-version-1/cumulus25-64f +0 -21
- data/test/fixtures/generated/osinfo-version-1/debian6-32m +0 -21
- data/test/fixtures/generated/osinfo-version-1/debian6-64aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-1/debian7-32a +0 -20
- data/test/fixtures/generated/osinfo-version-1/debian7-64u +0 -21
- data/test/fixtures/generated/osinfo-version-1/debian8-32l +0 -21
- data/test/fixtures/generated/osinfo-version-1/debian8-64c +0 -21
- data/test/fixtures/generated/osinfo-version-1/debian9-32d +0 -21
- data/test/fixtures/generated/osinfo-version-1/debian9-64f +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora14-32m +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora19-32aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-1/fedora19-64a +0 -20
- data/test/fixtures/generated/osinfo-version-1/fedora20-32u +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora20-64l +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora21-32c +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora21-64d +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora22-32f +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora22-64m +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora23-32aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-1/fedora23-64a +0 -20
- data/test/fixtures/generated/osinfo-version-1/fedora24-32u +0 -21
- data/test/fixtures/generated/osinfo-version-1/fedora24-64l +0 -21
- data/test/fixtures/generated/osinfo-version-1/huaweios6-POWERc +0 -20
- data/test/fixtures/generated/osinfo-version-1/opensuse11-32c +0 -21
- data/test/fixtures/generated/osinfo-version-1/opensuse11-64d +0 -21
- data/test/fixtures/generated/osinfo-version-1/oracle5-32f +0 -21
- data/test/fixtures/generated/osinfo-version-1/oracle5-64m +0 -21
- data/test/fixtures/generated/osinfo-version-1/oracle6-32aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-1/oracle6-64a +0 -20
- data/test/fixtures/generated/osinfo-version-1/oracle7-64u +0 -21
- data/test/fixtures/generated/osinfo-version-1/osx1010-64c +0 -21
- data/test/fixtures/generated/osinfo-version-1/osx1011-64d +0 -21
- data/test/fixtures/generated/osinfo-version-1/osx1012-64m +0 -21
- data/test/fixtures/generated/osinfo-version-1/osx109-64l +0 -21
- data/test/fixtures/generated/osinfo-version-1/redhat4-32f +0 -21
- data/test/fixtures/generated/osinfo-version-1/redhat4-64m +0 -21
- data/test/fixtures/generated/osinfo-version-1/redhat5-32aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-1/redhat5-64a +0 -20
- data/test/fixtures/generated/osinfo-version-1/redhat6-32u +0 -21
- data/test/fixtures/generated/osinfo-version-1/redhat6-64l +0 -21
- data/test/fixtures/generated/osinfo-version-1/redhat6-S390Xc +0 -20
- data/test/fixtures/generated/osinfo-version-1/redhat7-64d +0 -21
- data/test/fixtures/generated/osinfo-version-1/redhat7-S390Xf +0 -20
- data/test/fixtures/generated/osinfo-version-1/scientific5-32m +0 -21
- data/test/fixtures/generated/osinfo-version-1/scientific5-64aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-1/scientific6-32a +0 -20
- data/test/fixtures/generated/osinfo-version-1/scientific6-64u +0 -21
- data/test/fixtures/generated/osinfo-version-1/scientific7-64l +0 -21
- data/test/fixtures/generated/osinfo-version-1/sles10-32c +0 -21
- data/test/fixtures/generated/osinfo-version-1/sles10-64d +0 -21
- data/test/fixtures/generated/osinfo-version-1/sles11-32f +0 -21
- data/test/fixtures/generated/osinfo-version-1/sles11-64m +0 -21
- data/test/fixtures/generated/osinfo-version-1/sles11-S390Xaulcdfm +0 -25
- data/test/fixtures/generated/osinfo-version-1/sles12-64a +0 -20
- data/test/fixtures/generated/osinfo-version-1/sles12-S390Xu +0 -20
- data/test/fixtures/generated/osinfo-version-1/solaris10-32l +0 -21
- data/test/fixtures/generated/osinfo-version-1/solaris10-64c +0 -21
- data/test/fixtures/generated/osinfo-version-1/solaris10-SPARCd +0 -20
- data/test/fixtures/generated/osinfo-version-1/solaris11-32f +0 -21
- data/test/fixtures/generated/osinfo-version-1/solaris11-64m +0 -21
- data/test/fixtures/generated/osinfo-version-1/solaris11-SPARCaulcdfm +0 -25
- data/test/fixtures/generated/osinfo-version-1/solaris112-32a +0 -20
- data/test/fixtures/generated/osinfo-version-1/solaris112-64u +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1004-32l +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1004-64c +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1204-32d +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1204-64f +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1404-32m +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1404-64aulcdfm +0 -26
- data/test/fixtures/generated/osinfo-version-1/ubuntu1504-32a +0 -20
- data/test/fixtures/generated/osinfo-version-1/ubuntu1504-64u +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1510-32l +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1510-64c +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1604-32d +0 -21
- data/test/fixtures/generated/osinfo-version-1/ubuntu1604-64f +0 -21
- data/test/fixtures/generated/osinfo-version-1/windows10ent-32aulcdfm +0 -27
- data/test/fixtures/generated/osinfo-version-1/windows10ent-64a +0 -21
- data/test/fixtures/generated/osinfo-version-1/windows10pro-64u +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2003-6432aulcdfm +0 -27
- data/test/fixtures/generated/osinfo-version-1/windows2003-64m +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2003r2-32a +0 -21
- data/test/fixtures/generated/osinfo-version-1/windows2003r2-6432l +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2003r2-64u +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2008-6432d +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2008-64c +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2008r2-6432m +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2008r2-64f +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2012-6432a +0 -21
- data/test/fixtures/generated/osinfo-version-1/windows2012-64aulcdfm +0 -27
- data/test/fixtures/generated/osinfo-version-1/windows2012r2-6432l +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2012r2-64u +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2016-6432m +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows2016-64f +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows7-64c +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows8-64d +0 -22
- data/test/fixtures/generated/osinfo-version-1/windows81-64f +0 -22
- data/test/fixtures/generated/osinfo-version-1/windowsvista-64m +0 -22
- data/test/fixtures/generated/pe_dir/centos6-64mdc +0 -23
- data/test/fixtures/generated/pe_upgrade_dir/centos6-64mdc +0 -23
- data/test/fixtures/generated/pe_upgrade_ver/centos6-64mdc +0 -23
- data/test/fixtures/generated/pe_ver/centos6-64mdc +0 -23
- data/test/fixtures/per-host-settings/arbitrary-hypervisor.yaml +0 -39
- data/test/fixtures/per-host-settings/arbitrary-settings.yaml +0 -57
- data/test/fixtures/per-host-settings/every-hypervisor.yaml +0 -41
- data/test/fixtures/per-host-settings/malformed-input.yaml +0 -5
- data/test/fixtures/per-host-settings/url-encoded.yaml +0 -44
- data/test/fixtures/per-host-settings/with-global-settings.yaml +0 -25
- data/test/test_cli.rb +0 -15
- data/test/test_generator.rb +0 -27
- data/test/test_stdout.rb +0 -21
- data/test/util/generator_helpers.rb +0 -158
@@ -1,23 +0,0 @@
|
|
1
|
-
---
|
2
|
-
arguments_string: --pe_ver 2020.7 centos6-64mdc
|
3
|
-
environment_variables: {}
|
4
|
-
expected_hash:
|
5
|
-
HOSTS:
|
6
|
-
centos6-64-1:
|
7
|
-
pe_dir:
|
8
|
-
pe_ver: '2020.7'
|
9
|
-
pe_upgrade_dir:
|
10
|
-
pe_upgrade_ver:
|
11
|
-
hypervisor: vmpooler
|
12
|
-
platform: el-6-x86_64
|
13
|
-
template: centos-6-x86_64
|
14
|
-
roles:
|
15
|
-
- agent
|
16
|
-
- master
|
17
|
-
- database
|
18
|
-
- dashboard
|
19
|
-
CONFIG:
|
20
|
-
nfs_server: none
|
21
|
-
consoleport: 443
|
22
|
-
pooling_api: http://vmpooler.delivery.puppetlabs.net/
|
23
|
-
expected_exception:
|
@@ -1,39 +0,0 @@
|
|
1
|
-
---
|
2
|
-
arguments_string: centos6-64m{hypervisor=vmpooler}-debian8-32a{hypervisor=none}-redhat7-64a{hypervisor=custom}
|
3
|
-
environment_variables: {}
|
4
|
-
expected_hash:
|
5
|
-
HOSTS:
|
6
|
-
centos6-64-1:
|
7
|
-
pe_dir:
|
8
|
-
pe_ver:
|
9
|
-
pe_upgrade_dir:
|
10
|
-
pe_upgrade_ver:
|
11
|
-
hypervisor: vmpooler
|
12
|
-
platform: el-6-x86_64
|
13
|
-
template: centos-6-x86_64
|
14
|
-
roles:
|
15
|
-
- agent
|
16
|
-
- master
|
17
|
-
debian8-32-1:
|
18
|
-
pe_dir:
|
19
|
-
pe_ver:
|
20
|
-
pe_upgrade_dir:
|
21
|
-
pe_upgrade_ver:
|
22
|
-
platform: debian-8-i386
|
23
|
-
hypervisor: none
|
24
|
-
roles:
|
25
|
-
- agent
|
26
|
-
redhat7-64-1:
|
27
|
-
pe_dir:
|
28
|
-
pe_ver:
|
29
|
-
pe_upgrade_dir:
|
30
|
-
pe_upgrade_ver:
|
31
|
-
platform: el-7-x86_64
|
32
|
-
hypervisor: custom
|
33
|
-
roles:
|
34
|
-
- agent
|
35
|
-
CONFIG:
|
36
|
-
nfs_server: none
|
37
|
-
consoleport: 443
|
38
|
-
pooling_api: http://vmpooler.delivery.puppetlabs.net/
|
39
|
-
expected_exception:
|
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
arguments_string: redhat7-64role_a,role_b.m{hypervisor=none,hostname=redhat,vmhostname=vm-redhat,ip=1.2.3.4}-sles10-32a-64a{key=value-with-dashes}-64dc
|
3
|
-
environment_variables: {}
|
4
|
-
expected_hash:
|
5
|
-
HOSTS:
|
6
|
-
redhat:
|
7
|
-
pe_dir:
|
8
|
-
pe_ver:
|
9
|
-
pe_upgrade_dir:
|
10
|
-
pe_upgrade_ver:
|
11
|
-
platform: el-7-x86_64
|
12
|
-
hypervisor: none
|
13
|
-
vmhostname: vm-redhat
|
14
|
-
ip: 1.2.3.4
|
15
|
-
roles:
|
16
|
-
- agent
|
17
|
-
- master
|
18
|
-
- role_a
|
19
|
-
- role_b
|
20
|
-
sles10-32-1:
|
21
|
-
pe_dir:
|
22
|
-
pe_ver:
|
23
|
-
pe_upgrade_dir:
|
24
|
-
pe_upgrade_ver:
|
25
|
-
hypervisor: vmpooler
|
26
|
-
platform: sles-10-i386
|
27
|
-
template: sles-10-i386
|
28
|
-
roles:
|
29
|
-
- agent
|
30
|
-
sles10-64-2:
|
31
|
-
pe_dir:
|
32
|
-
pe_ver:
|
33
|
-
pe_upgrade_dir:
|
34
|
-
pe_upgrade_ver:
|
35
|
-
hypervisor: vmpooler
|
36
|
-
platform: sles-10-x86_64
|
37
|
-
template: sles-10-x86_64
|
38
|
-
key: value-with-dashes
|
39
|
-
roles:
|
40
|
-
- agent
|
41
|
-
sles10-64-3:
|
42
|
-
pe_dir:
|
43
|
-
pe_ver:
|
44
|
-
pe_upgrade_dir:
|
45
|
-
pe_upgrade_ver:
|
46
|
-
hypervisor: vmpooler
|
47
|
-
platform: sles-10-x86_64
|
48
|
-
template: sles-10-x86_64
|
49
|
-
roles:
|
50
|
-
- agent
|
51
|
-
- database
|
52
|
-
- dashboard
|
53
|
-
CONFIG:
|
54
|
-
nfs_server: none
|
55
|
-
consoleport: 443
|
56
|
-
pooling_api: http://vmpooler.delivery.puppetlabs.net/
|
57
|
-
expected_exception:
|
@@ -1,41 +0,0 @@
|
|
1
|
-
---
|
2
|
-
arguments_string: centos6-64m{hypervisor=vmpooler}-debian8-32a{hypervisor=none}-redhat7-64f{hypervisor=abs}
|
3
|
-
environment_variables: {}
|
4
|
-
expected_hash:
|
5
|
-
HOSTS:
|
6
|
-
centos6-64-1:
|
7
|
-
pe_dir:
|
8
|
-
pe_ver:
|
9
|
-
pe_upgrade_dir:
|
10
|
-
pe_upgrade_ver:
|
11
|
-
hypervisor: vmpooler
|
12
|
-
platform: el-6-x86_64
|
13
|
-
template: centos-6-x86_64
|
14
|
-
roles:
|
15
|
-
- agent
|
16
|
-
- master
|
17
|
-
debian8-32-1:
|
18
|
-
pe_dir:
|
19
|
-
pe_ver:
|
20
|
-
pe_upgrade_dir:
|
21
|
-
pe_upgrade_ver:
|
22
|
-
platform: debian-8-i386
|
23
|
-
hypervisor: none
|
24
|
-
roles:
|
25
|
-
- agent
|
26
|
-
redhat7-64-1:
|
27
|
-
pe_dir:
|
28
|
-
pe_ver:
|
29
|
-
pe_upgrade_dir:
|
30
|
-
pe_upgrade_ver:
|
31
|
-
hypervisor: abs
|
32
|
-
platform: el-7-x86_64
|
33
|
-
template: redhat-7-x86_64
|
34
|
-
roles:
|
35
|
-
- agent
|
36
|
-
- frictionless
|
37
|
-
CONFIG:
|
38
|
-
nfs_server: none
|
39
|
-
consoleport: 443
|
40
|
-
pooling_api: http://vmpooler.delivery.puppetlabs.net/
|
41
|
-
expected_exception:
|
@@ -1,44 +0,0 @@
|
|
1
|
-
---
|
2
|
-
arguments_string: centos6-64mcd-aix53-POWERfa%7Bhypervisor=aix%2Cvmhostname=pe-aix-53-acceptance.delivery.puppetlabs.net%7D-POWERa%7Bfoo=bar%7D
|
3
|
-
environment_variables: {}
|
4
|
-
expected_hash:
|
5
|
-
HOSTS:
|
6
|
-
centos6-64-1:
|
7
|
-
pe_dir:
|
8
|
-
pe_ver:
|
9
|
-
pe_upgrade_dir:
|
10
|
-
pe_upgrade_ver:
|
11
|
-
hypervisor: vmpooler
|
12
|
-
platform: el-6-x86_64
|
13
|
-
template: centos-6-x86_64
|
14
|
-
roles:
|
15
|
-
- agent
|
16
|
-
- master
|
17
|
-
- dashboard
|
18
|
-
- database
|
19
|
-
aix53-POWER-1:
|
20
|
-
pe_dir:
|
21
|
-
pe_ver:
|
22
|
-
pe_upgrade_dir:
|
23
|
-
pe_upgrade_ver:
|
24
|
-
platform: aix-5.3-power
|
25
|
-
hypervisor: aix
|
26
|
-
vmhostname: pe-aix-53-acceptance.delivery.puppetlabs.net
|
27
|
-
roles:
|
28
|
-
- agent
|
29
|
-
- frictionless
|
30
|
-
aix53-POWER-2:
|
31
|
-
pe_dir:
|
32
|
-
pe_ver:
|
33
|
-
pe_upgrade_dir:
|
34
|
-
pe_upgrade_ver:
|
35
|
-
hypervisor: vmpooler
|
36
|
-
platform: aix-5.3-power
|
37
|
-
foo: bar
|
38
|
-
roles:
|
39
|
-
- agent
|
40
|
-
CONFIG:
|
41
|
-
nfs_server: none
|
42
|
-
consoleport: 443
|
43
|
-
pooling_api: http://vmpooler.delivery.puppetlabs.net/
|
44
|
-
expected_exception:
|
@@ -1,25 +0,0 @@
|
|
1
|
-
---
|
2
|
-
arguments_string: "--global-config {masterless=true,number=1234,key=url%20encoded%20%20white%20space} redhat7-64c{type=o-negative}"
|
3
|
-
environment_variables: {}
|
4
|
-
expected_hash:
|
5
|
-
HOSTS:
|
6
|
-
redhat7-64-1:
|
7
|
-
pe_dir:
|
8
|
-
pe_ver:
|
9
|
-
pe_upgrade_dir:
|
10
|
-
pe_upgrade_ver:
|
11
|
-
hypervisor: vmpooler
|
12
|
-
platform: el-7-x86_64
|
13
|
-
template: redhat-7-x86_64
|
14
|
-
type: o-negative
|
15
|
-
roles:
|
16
|
-
- agent
|
17
|
-
- dashboard
|
18
|
-
CONFIG:
|
19
|
-
nfs_server: none
|
20
|
-
consoleport: 443
|
21
|
-
masterless: true
|
22
|
-
number: 1234
|
23
|
-
key: url encoded white space
|
24
|
-
pooling_api: http://vmpooler.delivery.puppetlabs.net/
|
25
|
-
expected_exception:
|
data/test/test_cli.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
require 'minitest/autorun'
|
2
|
-
|
3
|
-
require 'beaker-hostgenerator/cli'
|
4
|
-
|
5
|
-
class TestUtil < Minitest::Test
|
6
|
-
|
7
|
-
def test_new_with_list_option
|
8
|
-
assert_instance_of(String, BeakerHostGenerator::CLI.new(['--list']).execute)
|
9
|
-
end
|
10
|
-
|
11
|
-
def test_version_option
|
12
|
-
assert_equal(BeakerHostGenerator::Version::STRING,
|
13
|
-
BeakerHostGenerator::CLI.new(['--version']).execute)
|
14
|
-
end
|
15
|
-
end
|
data/test/test_generator.rb
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
require "find"
|
2
|
-
require "yaml"
|
3
|
-
|
4
|
-
require "minitest/autorun"
|
5
|
-
|
6
|
-
require 'util/generator_helpers'
|
7
|
-
|
8
|
-
class TestGenerator < Minitest::Test
|
9
|
-
include GeneratorTestHelpers
|
10
|
-
|
11
|
-
def setup
|
12
|
-
@default_options = [
|
13
|
-
'centos6-64mdca',
|
14
|
-
]
|
15
|
-
end
|
16
|
-
|
17
|
-
def test_default_options
|
18
|
-
hash = run_cli_with_options(@default_options)
|
19
|
-
hosts = hash['HOSTS']
|
20
|
-
|
21
|
-
assert_includes(hosts, "centos6-64-1")
|
22
|
-
centos6 = hosts['centos6-64-1']
|
23
|
-
["master", "database", "dashboard", "agent"].each do |role|
|
24
|
-
assert_includes(centos6['roles'], role)
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
data/test/test_stdout.rb
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
require 'minitest/autorun'
|
2
|
-
require 'beaker-hostgenerator/cli'
|
3
|
-
require 'beaker-hostgenerator/data'
|
4
|
-
|
5
|
-
class TestStdout < Minitest::Test
|
6
|
-
|
7
|
-
def setup
|
8
|
-
@stderr = StringIO.new
|
9
|
-
@stdout = StringIO.new
|
10
|
-
|
11
|
-
$stderr = @stderr
|
12
|
-
$stdout = @stdout
|
13
|
-
end
|
14
|
-
|
15
|
-
def test_default_list_output
|
16
|
-
BeakerHostGenerator::CLI.new(['--list']).execute!
|
17
|
-
BeakerHostGenerator::Data.get_platforms(0).each do |spec_key|
|
18
|
-
assert_match(/.*#{spec_key}.*/, @stdout.string)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,158 +0,0 @@
|
|
1
|
-
require "yaml"
|
2
|
-
|
3
|
-
require 'beaker-hostgenerator'
|
4
|
-
require 'beaker-hostgenerator/data'
|
5
|
-
|
6
|
-
module GeneratorTestHelpers
|
7
|
-
include BeakerHostGenerator::Data
|
8
|
-
|
9
|
-
def run_cli_with_options(options=[])
|
10
|
-
STDERR.reopen("stderr.txt", "w")
|
11
|
-
cli = BeakerHostGenerator::CLI.new(options)
|
12
|
-
yaml_string = cli.execute
|
13
|
-
|
14
|
-
hash = YAML.load(yaml_string)
|
15
|
-
return hash
|
16
|
-
end
|
17
|
-
|
18
|
-
def open_file(path)
|
19
|
-
# Takes a list of path elements.
|
20
|
-
# Returns a file object where the basename of the file is the last path
|
21
|
-
# element.
|
22
|
-
dirname = File.join(path[1, path.length - 2]) # wtf
|
23
|
-
filename = File.join(path)
|
24
|
-
FileUtils.mkdir_p(dirname)
|
25
|
-
return File.open(filename, "w")
|
26
|
-
end
|
27
|
-
|
28
|
-
def generate_fixture(relative_path, options, spec, environment_variables={})
|
29
|
-
specopts = options + [spec]
|
30
|
-
arguments_string = specopts.join(" ")
|
31
|
-
|
32
|
-
environment_variables.each do |key, value|
|
33
|
-
ENV[key] = value
|
34
|
-
end
|
35
|
-
generated_hash = run_cli_with_options(specopts)
|
36
|
-
environment_variables.each_key do |key|
|
37
|
-
ENV[key] = nil
|
38
|
-
end
|
39
|
-
|
40
|
-
fixture_hash = {
|
41
|
-
"arguments_string" => arguments_string,
|
42
|
-
"environment_variables" => environment_variables,
|
43
|
-
"expected_hash" => generated_hash,
|
44
|
-
"expected_exception" => nil,
|
45
|
-
}
|
46
|
-
fixture_yaml = fixture_hash.to_yaml
|
47
|
-
|
48
|
-
fixture_file = open_file([Dir.pwd, @fixture_root] + relative_path + [spec])
|
49
|
-
fixture_file.write(fixture_yaml)
|
50
|
-
end
|
51
|
-
|
52
|
-
def generate_fixtures_using_osinfo(relative_path,
|
53
|
-
role_enumerator,
|
54
|
-
options=[],
|
55
|
-
bhg_version=0)
|
56
|
-
platforms = get_platforms(bhg_version)
|
57
|
-
platforms.each do |platform_info|
|
58
|
-
role = role_enumerator.next
|
59
|
-
spec = "#{platform_info}" + role
|
60
|
-
generate_fixture(relative_path, options, spec)
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
end
|
65
|
-
|
66
|
-
class FixtureGenerator
|
67
|
-
include GeneratorTestHelpers
|
68
|
-
|
69
|
-
def initialize
|
70
|
-
@fixture_root = 'test/fixtures/generated/'
|
71
|
-
@simple_roles = ["a", "u", "l", "c", "d", "f", "m", "aulcdfm"]
|
72
|
-
end
|
73
|
-
|
74
|
-
def generate
|
75
|
-
# Validates single-host scenarios using all short-form role aliases with no
|
76
|
-
# optional flags'
|
77
|
-
generate_fixtures_using_osinfo(['default'], @simple_roles.cycle, [])
|
78
|
-
|
79
|
-
# Validates the use of environment variables to set various pe options.
|
80
|
-
[
|
81
|
-
{'case_name' => 'pe_version_and_pe_family',
|
82
|
-
'environment_variables' => {
|
83
|
-
'pe_version' => '6.6.6',
|
84
|
-
'pe_upgrade_version' => '6.6.6',
|
85
|
-
'pe_family' => '6.6.6',
|
86
|
-
'pe_upgrade_family' => '6.6.6',
|
87
|
-
}
|
88
|
-
},
|
89
|
-
{'case_name' => 'pe_version_and_pe_family_upgrade_only',
|
90
|
-
'environment_variables' => {
|
91
|
-
'pe_upgrade_version' => '6.6.6',
|
92
|
-
'pe_upgrade_family' => '6.6.6',
|
93
|
-
}
|
94
|
-
},
|
95
|
-
{'case_name' => 'pe_version_and_pe_family_no_upgrade',
|
96
|
-
'environment_variables' => {
|
97
|
-
'pe_version' => '6.6.6',
|
98
|
-
'pe_family' => '6.6.6',
|
99
|
-
}
|
100
|
-
},
|
101
|
-
].each do |fixture_hash|
|
102
|
-
case_name = fixture_hash['case_name']
|
103
|
-
environment_variables = fixture_hash['case_name']
|
104
|
-
generate_fixture(['environment_variable_tests', fixture_hash['case_name']],
|
105
|
-
[],
|
106
|
-
'centos6-32a',
|
107
|
-
fixture_hash['environment_variables'])
|
108
|
-
end
|
109
|
-
|
110
|
-
# Validates single-host scenarios using all short-form role aliases with the
|
111
|
-
# addition of the --osinfo-version flag to indicate which BHG version to
|
112
|
-
# generate host configs for.
|
113
|
-
[0, 1].each do |bhg_version|
|
114
|
-
generate_fixtures_using_osinfo(["osinfo-version-#{bhg_version}"],
|
115
|
-
@simple_roles.cycle,
|
116
|
-
["--osinfo-version", "#{bhg_version}"],
|
117
|
-
bhg_version)
|
118
|
-
end
|
119
|
-
|
120
|
-
# Validates the use of the pe ver/dir type options.
|
121
|
-
[
|
122
|
-
{
|
123
|
-
'path' => ['pe_upgrade_ver'],
|
124
|
-
'options' => ['--pe_upgrade_ver', '2020.7.3'],
|
125
|
-
'spec' => 'centos6-64mdc'
|
126
|
-
},
|
127
|
-
{
|
128
|
-
'path' => ['pe_ver'],
|
129
|
-
'options' => ['--pe_ver', '2020.7'],
|
130
|
-
'spec' => 'centos6-64mdc'
|
131
|
-
},
|
132
|
-
{
|
133
|
-
'path' => ['pe_upgrade_dir'],
|
134
|
-
'options' => ['--pe_upgrade_dir', '/opt/whatever'],
|
135
|
-
'spec' => 'centos6-64mdc'
|
136
|
-
},
|
137
|
-
{
|
138
|
-
'path' => ['pe_dir'],
|
139
|
-
'options' => ['--pe_dir', '/opt/hello'],
|
140
|
-
'spec' => 'centos6-64mdc'
|
141
|
-
}
|
142
|
-
].each do |fixture_info|
|
143
|
-
generate_fixture(fixture_info['path'],
|
144
|
-
fixture_info['options'],
|
145
|
-
fixture_info['spec'])
|
146
|
-
end
|
147
|
-
|
148
|
-
# Validates multi-platform specs
|
149
|
-
get_platforms(0).zip(
|
150
|
-
get_platforms(1).reverse,
|
151
|
-
get_platforms(0),
|
152
|
-
@simple_roles.cycle,
|
153
|
-
@simple_roles.reverse.cycle
|
154
|
-
) do |p1, p2, p3, r1, r2|
|
155
|
-
generate_fixture(["multiplatform"], [], "#{p1}#{r1}-#{p2}-#{p3}#{r2}")
|
156
|
-
end
|
157
|
-
end
|
158
|
-
end
|