Skip to content

Commit

Permalink
Merge pull request #104 from sgnl05/master
Browse files Browse the repository at this point in the history
Add "eno*" to interface name matching
  • Loading branch information
Werner Dijkerman committed Jul 9, 2015
2 parents db029f7 + 68b3138 commit dbc71a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/agent.pp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
# can find the ipaddress of this specific interface if listenip
# is set to for example "eth1" or "bond0.73".
if ($listenip != undef) {
if ($listenip =~ /^(eth|bond|lxc).*/) {
if ($listenip =~ /^(eth|bond|lxc|eno).*/) {
$int_name = "ipaddress_${listenip}"
$listen_ip = inline_template('<%= scope.lookupvar(int_name) %>')
} elsif is_ip_address($listenip) {
Expand Down

0 comments on commit dbc71a5

Please sign in to comment.