Skip to content

Commit

Permalink
Merge pull request #46 from meganuke19/master
Browse files Browse the repository at this point in the history
Fixed bug with listenip & add lxc interface
  • Loading branch information
dj-wasabi committed Feb 1, 2015
2 parents 65845c7 + 6f16b00 commit f27434c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/agent.pp
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@
# to network name. If more than 1 interfaces are available, we
# can find the ipaddress of this specific interface if listenip
# is set to for example "eth1" or "bond0.73".
if $listenip != undefined {
if ($listenip =~ /^(eth|bond).*/) {
if $listenip == undefined {
if ($listenip =~ /^(eth|bond|lxc).*/) {
$int_name = "ipaddress_${listenip}"
$listen_ip = inline_template('<%= scope.lookupvar(int_name) %>')
} elsif is_ip_address($listenip) {
Expand Down

0 comments on commit f27434c

Please sign in to comment.