summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,