Saltstack Official Apache Formula

13 lines
264B

  1. # frozen_string_literal: true
  2. control 'apache configuration' do
  3. title 'should be valid'
  4. describe command('apachectl -t') do
  5. its('stdout') { should eq '' }
  6. its('stderr') { should include 'Syntax OK' }
  7. its('exit_status') { should eq 0 }
  8. end
  9. end