Bladeren bron

fix(inspec): use the name `_mapdata` everywhere for coherency

tags/v1.3.1
Daniel Dehennin 4 jaren geleden
bovenliggende
commit
14e843ec2b
15 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      test/integration/default/controls/_mapdata_spec.rb
  2. +0
    -0
      test/integration/default/files/_mapdata/amazonlinux-1.yaml
  3. +0
    -0
      test/integration/default/files/_mapdata/amazonlinux-2.yaml
  4. +0
    -0
      test/integration/default/files/_mapdata/arch-base-latest.yaml
  5. +0
    -0
      test/integration/default/files/_mapdata/centos-6.yaml
  6. +0
    -0
      test/integration/default/files/_mapdata/centos-7.yaml
  7. +0
    -0
      test/integration/default/files/_mapdata/centos-8.yaml
  8. +0
    -0
      test/integration/default/files/_mapdata/debian-10.yaml
  9. +0
    -0
      test/integration/default/files/_mapdata/debian-9.yaml
  10. +0
    -0
      test/integration/default/files/_mapdata/fedora-31.yaml
  11. +0
    -0
      test/integration/default/files/_mapdata/fedora-32.yaml
  12. +0
    -0
      test/integration/default/files/_mapdata/opensuse-15.yaml
  13. +0
    -0
      test/integration/default/files/_mapdata/ubuntu-16.yaml
  14. +0
    -0
      test/integration/default/files/_mapdata/ubuntu-18.yaml
  15. +0
    -0
      test/integration/default/files/_mapdata/ubuntu-20.yaml

+ 1
- 1
test/integration/default/controls/_mapdata_spec.rb Bestand weergeven

@@ -5,7 +5,7 @@ replacement = {
hostname: system.hostname
}

mapdata_file = "mapdata/#{system.platform[:finger].split('.').first}.yaml"
mapdata_file = "_mapdata/#{system.platform[:finger].split('.').first}.yaml"
mapdata_dump = inspec.profile.file(mapdata_file) % replacement

control '`map.jinja` YAML dump' do

test/integration/default/files/mapdata/amazonlinux-1.yaml → test/integration/default/files/_mapdata/amazonlinux-1.yaml Bestand weergeven


test/integration/default/files/mapdata/amazonlinux-2.yaml → test/integration/default/files/_mapdata/amazonlinux-2.yaml Bestand weergeven


test/integration/default/files/mapdata/arch-base-latest.yaml → test/integration/default/files/_mapdata/arch-base-latest.yaml Bestand weergeven


test/integration/default/files/mapdata/centos-6.yaml → test/integration/default/files/_mapdata/centos-6.yaml Bestand weergeven


test/integration/default/files/mapdata/centos-7.yaml → test/integration/default/files/_mapdata/centos-7.yaml Bestand weergeven


test/integration/default/files/mapdata/centos-8.yaml → test/integration/default/files/_mapdata/centos-8.yaml Bestand weergeven


test/integration/default/files/mapdata/debian-10.yaml → test/integration/default/files/_mapdata/debian-10.yaml Bestand weergeven


test/integration/default/files/mapdata/debian-9.yaml → test/integration/default/files/_mapdata/debian-9.yaml Bestand weergeven


test/integration/default/files/mapdata/fedora-31.yaml → test/integration/default/files/_mapdata/fedora-31.yaml Bestand weergeven


test/integration/default/files/mapdata/fedora-32.yaml → test/integration/default/files/_mapdata/fedora-32.yaml Bestand weergeven


test/integration/default/files/mapdata/opensuse-15.yaml → test/integration/default/files/_mapdata/opensuse-15.yaml Bestand weergeven


test/integration/default/files/mapdata/ubuntu-16.yaml → test/integration/default/files/_mapdata/ubuntu-16.yaml Bestand weergeven


test/integration/default/files/mapdata/ubuntu-18.yaml → test/integration/default/files/_mapdata/ubuntu-18.yaml Bestand weergeven


test/integration/default/files/mapdata/ubuntu-20.yaml → test/integration/default/files/_mapdata/ubuntu-20.yaml Bestand weergeven


Laden…
Annuleren
Opslaan