I found myself unable to load/use a custom type I've been working on. To minimize the variables, I copy-n-pasted the "File" example from the documentation link below, just changing the name from "file" to "haddock" to avoid conflicting with the real File type.
http://projects.puppetlabs.com/projects/puppet/wiki/Development_Complete_Resource_Example I've installed the type and provider here: modules/custom/lib/puppet/type/haddock/haddock.rb modules/custom/lib/puppet/provider/haddock/haddock.rb When I run the client, I see log messages indicating the files have sync'd across, and I can see the files here: /var/lib/puppet/lib/puppet/provider/haddock/haddock.rb /var/lib/puppet/lib/puppet/type/haddock/haddock.rb Yet if I add a resource using this type to the client: haddock { "/tmp/haddock": ensure => exists } The server returns this error on the next run: Could not find resource type haddock at /etc/puppet/dev/manifests/nodes.pp:489 on node puppeteer My puppet.conf is pasted below. Note that my client is running in the "development" environment. Any ideas what I might be doing wrong? -Ben [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter pluginsync=true environments = production,development,bootstrap [puppetmasterd] templatedir=/etc/puppet/templates modulepath=/etc/puppet/modules [bootstrap] modulepath = /etc/puppet/bootstrap/modules:/etc/puppet/prod/modules:/etc/puppet/prod/services manifest = /etc/puppet/bootstrap/site.pp [development] manifest = /etc/puppet/dev/manifests/site.pp modulepath = /etc/puppet/dev/modules:/etc/puppet/dev/services [production] manifest = /etc/puppet/prod/manifests/site.pp modulepath = /etc/puppet/prod/modules:/etc/puppet/prod/services -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.