Skip to content

Commit f94f80f

Browse files
authored
fix: add interface argument to observer service (#422)
1 parent 8ad2119 commit f94f80f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/observer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def generate(host):
1414

1515
info['icmp_target'] = 'ping.sunet.se'
1616
info['dns_target'] = 'slashdot.org.'
17+
info['interface'] = 'eth0'
1718

1819
return {'observer': info}
1920

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# AUTOGENERATED BY PUPPET
22
# All manual changes will be overwritten
33

4-
ARGS="-dns <%= @nameservers.join(',') -%> -icmp-targets <%= @icmp_target %> -qname <%= @dns_target %>"
4+
ARGS="-dns <%= @nameservers.join(',') -%> -icmp-targets <%= @icmp_target %> -qname <%= @dns_target %> -interface <%= @interface %>"

0 commit comments

Comments
 (0)