summaryrefslogtreecommitdiff
path: root/lib/puppet/provider/README.markdown
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2011-02-23 14:05:56 -0500
committerJeff McCune <jeff@puppetlabs.com>2011-02-23 14:05:56 -0500
commit384ffd957153f65eb4f47b3142d98853c31b4124 (patch)
treea46170c873e3e93a3261a1a93eb72a8466e8abba /lib/puppet/provider/README.markdown
Initial commit
Diffstat (limited to 'lib/puppet/provider/README.markdown')
-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.