summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-07-16 14:07:39 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-07-16 14:07:39 -0700
commitc5f6c26d67a4f3777cec4af1a3850a6a5a2ccbc1 (patch)
tree9aab1eea1c4fb67773a97e12df93df190ddb6242 /lib
parenta4b30843d810315ac222fcc9a77dd74c538d7aca (diff)
parent9fd13be825aa0133156016c078b99e0e471fc737 (diff)
Merge pull request #300 from trlinkin/file_line_docs
(MODULES-1221) Add file_line autorequire documentation
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type/file_line.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/type/file_line.rb b/lib/puppet/type/file_line.rb
index 323fc4c..9dbe43c 100644
--- a/lib/puppet/type/file_line.rb
+++ b/lib/puppet/type/file_line.rb
@@ -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