From 9fd13be825aa0133156016c078b99e0e471fc737 Mon Sep 17 00:00:00 2001 From: Thomas Linkin Date: Wed, 16 Jul 2014 11:39:23 -0400 Subject: [PATCH] (MODULES-1221) Add file_line autorequire documentation This commit adds additional documentation to the file_line resource explaining how it will autorequire file resources when present. --- lib/puppet/type/file_line.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/puppet/type/file_line.rb b/lib/puppet/type/file_line.rb index 323fc4c9c..9dbe43cea 100644 --- a/lib/puppet/type/file_line.rb +++ b/lib/puppet/type/file_line.rb @@ -21,6 +21,9 @@ In this example, Puppet will ensure both of the specified lines are contained in the file /etc/sudoers. + **Autorequires:** If Puppet is managing the file that will contain the line + being managed, the file_line resource will autorequire that file. + EOT ensurable do