summaryrefslogtreecommitdiff
path: root/lib/puppet/provider
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/provider')
-rw-r--r--lib/puppet/provider/README.markdown14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/puppet/provider/README.markdown b/lib/puppet/provider/README.markdown
new file mode 100644
index 0000000..27aa1a9
--- /dev/null
+++ b/lib/puppet/provider/README.markdown
@@ -0,0 +1,14 @@
+Providers
+=========
+
+Define providers under this directory.
+
+File paths should match the resource type name and provider name; for
+example, a provider `myprovider` for a resource type `mytype`, defined like this:
+
+ Puppet::Type.type(:mytype).provide(:myprovider) do
+ desc "Documentation here"
+ # ...
+ end
+
+Should be found in `mytype/myprovider.rb` under this directory.