Index: modules/adblockplus/manifests/host.pp |
diff --git a/modules/adblockplus/manifests/host.pp b/modules/adblockplus/manifests/host.pp |
index a2441b3095615256653f29acd20e51d49066abc0..2e5267bfd36472f1d09f3e8b12f1cf46b76609f5 100644 |
--- a/modules/adblockplus/manifests/host.pp |
+++ b/modules/adblockplus/manifests/host.pp |
@@ -58,7 +58,7 @@ define adblockplus::host ( |
$ensure = 'present', |
$fqdn = "$name.$adblockplus::authority", |
$groups = [], |
- $ips, |
+ $ips = [], |
$public_key = undef, |
$role = undef, |
) { |
@@ -84,7 +84,7 @@ define adblockplus::host ( |
@host {$title: |
ensure => $ensure, |
- ip => pick($ips), |
+ ip => pick($ips[0], '0.0.0.0'), |
name => $fqdn, |
tag => ['adblockplus::host'], |
} |