summaryrefslogtreecommitdiff
path: root/lib/puppet/provider/README.markdown
blob: 27aa1a9c6cf90abd64cc2bb0974c13ca9f08cb0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.