]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
(MODULES-1221) Add file_line autorequire documentation
authorThomas Linkin <trlinkin@gmail.com>
Wed, 16 Jul 2014 15:39:23 +0000 (11:39 -0400)
committerThomas Linkin <trlinkin@gmail.com>
Wed, 16 Jul 2014 15:45:36 +0000 (11:45 -0400)
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

index 323fc4c9c7f7054e2bac68d10333b9c6290b8dae..9dbe43cea4e93ae4e4a452dd0805564533f5205d 100644 (file)
@@ -21,6 +21,9 @@ Puppet::Type.newtype(:file_line) do
     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