As I mentioned in another thread, I'm trying to work through the kinks in developing my own types/providers. I appear to be doing something very wrong, but I don't know what.
On my puppetmaster, I've got the following: --------------------------------------------- # modules/test/plugins/puppet/type/testtype.rb Puppet::Type.newtype(:testtype) do @doc = "A test type" ensurable newparam(:name, :namevar => true) do desc "The name" end end --------------------------------------------- # modules/test/plugins/puppet/provider/testtype.rb Puppet::Type.type(:testtype).provide do desc "Test provider" def create return true end def destroy return true end def exists? return true end end --------------------------------------------- # modules/test/manifests/init.pp testtype { "testinstance": ensure => present, } --------------------------------------------- My test machine downloads the plugins to the right location but throws this error when it makes the catalog run: err: //unix/test/Testtype[testinstance]: Failed to retrieve current state of resource: No ability to determine if testtype exists If I skip the "ensurable" and provider steps and just dump the right code into the newproperty(:ensure) do block, it works fine. What am I doing wrong here? -Shawn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---