don't set ipaddress automatically as this is rather unstable
authormh <mh@immerda.ch>
Thu, 25 Nov 2010 00:59:05 +0000 (01:59 +0100)
committermh <mh@immerda.ch>
Thu, 25 Nov 2010 00:59:05 +0000 (01:59 +0100)
manifests/allowed_host.pp

index dad3435..45c1300 100644 (file)
@@ -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,