Skip to content

Commit

Permalink
(MODULES-1221) Add file_line autorequire documentation
Browse files Browse the repository at this point in the history
This commit adds additional documentation to the file_line resource
explaining how it will autorequire file resources when present.
  • Loading branch information
trlinkin committed Jul 16, 2014
1 parent a4b3084 commit 9fd13be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/puppet/type/file_line.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fd13be

Please sign in to comment.