diff --git a/spec/classes/snmp_init_spec.rb b/spec/classes/snmp_init_spec.rb index 7dbc02ae..93012975 100644 --- a/spec/classes/snmp_init_spec.rb +++ b/spec/classes/snmp_init_spec.rb @@ -676,10 +676,10 @@ end when '18.04' describe 'Debian-snmp as snmp user' do - it 'contains File[snmpd.sysconfig] with contents "SNMPDOPTS="-Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux -p /var/run/snmpd.pid""' do + it 'contains File[snmpd.sysconfig] with contents "SNMPDOPTS="-LS6d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux -p /var/run/snmpd.pid""' do verify_contents(catalogue, 'snmpd.sysconfig', [ 'SNMPDRUN=yes', - 'SNMPDOPTS=\'-Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux -p /var/run/snmpd.pid\'' + 'SNMPDOPTS=\'-LS6d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux -p /var/run/snmpd.pid\'' ]) end it {