Vladimir Eremin | ccf2884 | 2017-04-10 23:52:10 +0300 | [diff] [blame] | 1 | |
2 | ## NETCONSOLE | ||||
3 | # | ||||
4 | describe 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"/} | ||||
9 | end | ||||
10 | |||||
11 | describe file('/etc/dhcp/dhclient-exit-hooks.d/netconsole') do | ||||
12 | it('should exist') | ||||
13 | its('content') { should match /netconsole_setup/} | ||||
14 | end |