]> gitweb.fluxo.info Git - puppet-git.git/commitdiff
Switch from line to file_line
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Mar 2016 14:06:10 +0000 (11:06 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Mar 2016 14:06:10 +0000 (11:06 -0300)
manifests/daemon.pp

index c69e48f01e3feae910614f3a5d9ac8f0908f10fb..e2d24f78e4387c99fbd6aad3bf9b50d2f1abd0ee 100644 (file)
@@ -76,8 +76,8 @@ class git::daemon (
     include inetd
 
     # git-daemon config in inetd
-    line { "git-daemon-inetd":
-      file   => "/etc/inetd.conf",
+    file_line { "git-daemon-inetd":
+      path   => "/etc/inetd.conf",
       line   => "git stream tcp nowait git /usr/bin/git git daemon --inetd --verbose --base-path=/var/git/repositories /var/git/repositories",
       ensure => present,
       notify => Service['inetd'],