line is deprecated better use file_line
authormh <mh@immerda.ch>
Sun, 17 Jun 2012 20:07:34 +0000 (17:07 -0300)
committermh <mh@immerda.ch>
Sun, 17 Jun 2012 20:07:34 +0000 (17:07 -0300)
manifests/allowed_host.pp

index 45c1300..126bb66 100644 (file)
@@ -3,8 +3,8 @@ define denyhosts::allowed_host(
   $ensure = 'present'
 ){
   include ::denyhosts
-  line{"denyhosts_allowed_host_${name}":
-    file => '/var/lib/denyhosts/allowed-hosts',
+  file_line{"denyhosts_allowed_host_${name}":
+    path => '/var/lib/denyhosts/allowed-hosts',
     line => $ip,
     ensure => $ensure,
     require => File['/var/lib/denyhosts/allowed-hosts'],