Saltstack Official Linux 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.

15 line
433B

  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