Saltstack Official OpenSSH Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

19 líneas
453B

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