Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

netconsole_spec.rb 433B

1234567891011121314
  1. ## NETCONSOLE
  2. #
  3. describe file('/etc/default/netconsole.conf') do
  4. it('should exist')
  5. its('content') { should match /^PORT="514"/}
  6. its('content') { should match /^netconsole "bond0" "192.168.0.1" "ff:ff:ff:ff:ff:ff"/}
  7. its('content') { should match /^dmesg -n "debug"/}
  8. end
  9. describe file('/etc/dhcp/dhclient-exit-hooks.d/netconsole') do
  10. it('should exist')
  11. its('content') { should match /netconsole_setup/}
  12. end