Saltstack Official OpenSSH Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
358B

  1. # frozen_string_literal: true
  2. mapdata_file = "_mapdata/#{system.platform[:finger].split('.').first}.yaml"
  3. mapdata_dump = inspec.profile.file(mapdata_file)
  4. control '`map.jinja` YAML dump' do
  5. title 'should contain the lines'
  6. describe file('/tmp/salt_mapdata_dump.yaml') do
  7. it { should exist }
  8. its('content') { should eq mapdata_dump }
  9. end
  10. end