Skip to content

Commit

Permalink
Update snmp_init_spec.rb tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gittygoo authored Jun 13, 2019
1 parent d6d0fc5 commit 85024c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/classes/snmp_init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -609,10 +609,10 @@
case facts[:os]['release']['major']
when '9', '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 {
Expand Down

0 comments on commit 85024c6

Please sign in to comment.