summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-11-25 01:59:05 +0100
committermh <mh@immerda.ch>2010-11-25 01:59:05 +0100
commit84e51a8ce6522a934f3fe50f52b325710299465a (patch)
tree09e0daf4710040ac4e62355a0966a49fc9d79aa7
parent27ae9992b6f0326660e1befad8e187fb8b151c2c (diff)
don't set ipaddress automatically as this is rather unstable
-rw-r--r--manifests/allowed_host.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/allowed_host.pp b/manifests/allowed_host.pp
index dad3435..45c1300 100644
--- a/manifests/allowed_host.pp
+++ b/manifests/allowed_host.pp
@@ -1,7 +1,8 @@
define denyhosts::allowed_host(
- $ip = $ipaddress,
+ $ip,
$ensure = 'present'
){
+ include ::denyhosts
line{"denyhosts_allowed_host_${name}":
file => '/var/lib/denyhosts/allowed-hosts',
line => $ip,