blob: f5175082e8bdbe850778bf18508a7ba5758b8138 [file] [log] [blame]
Vladimir Ereminccf28842017-04-10 23:52:10 +03001
2## NETCONSOLE
3#
4describe file('/etc/default/netconsole.conf') do
5 it('should exist')
6 its('content') { should match /^PORT="514"/}
7 its('content') { should match /^netconsole "bond0" "192.168.0.1" "ff:ff:ff:ff:ff:ff"/}
8 its('content') { should match /^dmesg -n "debug"/}
9end
10
11describe file('/etc/dhcp/dhclient-exit-hooks.d/netconsole') do
12 it('should exist')
13 its('content') { should match /netconsole_setup/}
14end