summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-09-09 22:52:17 -0700
committerTim Smith <tsmith84@gmail.com>2019-09-16 11:38:21 -0700
commit154ac852eb81a51c1775576b596f195cbb810463 (patch)
treee3e30feb4d9358fdb316945e167d644bebbfcc7a /tasks
parent10a38cb514c2f6e2082051c83e6cd3fdf9c5f137 (diff)
downloadchef-154ac852eb81a51c1775576b596f195cbb810463.tar.gz
Add more resource examples to the codebase
I'm also adding these same examples to the docs. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index db89354517..8fa56e9e09 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -327,7 +327,10 @@ The <%= @name %> resource has the following properties:
<% if @properties.empty? %>This resource does not have any properties.\n<% end -%>
<%= boilerplate_content %>
Examples
-==========================================
+=====================================================
+
+The following examples demonstrate various approaches for using resources in recipes:
+
<%= @examples -%>
}