On Jun 15, 9:41 pm, Ben Beuchler <[email protected]> wrote: > I had two problems. Nigel and Daniel correctly identified one of them > and Jonathan contacted me off-list to point out that I can't have my > custom type living in a subdir of "lib/puppet/type". I moved > haddock.rb from lib/puppet/type/haddock/haddock.rb to > lib/puppet/type/haddock.rb, created a symlink to the production > environment, and it works!
Hi Ben, I following this thread because I have the same problem. However I'm very new to puppet and don't really understand what the layout now should be. I see that the types and providers are synced to the client. However it says like in your case: Jun 21 11:12:50 wopr puppetmasterd[26666]: Could not find resource type vcsrepo at /etc/puppet/development/modules/collectd/manifests/ server.pp:50 on node puptest.ugent.be Could you please tell me how you actually made the symlink? What points to where? Thanks! I want to setup the vcsrepo module in my development enviroment: [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter pluginsync=true environment=production libdir = $confdir/lib modulepath=$confdir/common/modules templatedir=$confdir/common/templates [development] manifestdir=$confdir/development/manifests modulepath=$confdir/development/modules:$confdir/common/modules templatedir=$confdir/development/templates:$confdir/common/templates [production] manifestdir=$confdir/production/manifests modulepath=$confdir/production/modules:$confdir/common/modules templatedir=$confdir/production/templates:$confdir/common/templates [puppetmasterd] certname=puppet.ugent.be reports = store,log The vcsrepo: development/modules/vcsrepo/ |-- Modulefile |-- REVISION |-- lib | `-- puppet | |-- provider | | |-- vcsrepo | | | |-- bzr.rb | | | |-- cvs.rb | | | |-- git.rb | | | |-- hg.rb | | | `-- svn.rb | | `-- vcsrepo.rb | `-- type | `-- vcsrepo.rb |-- manifests | `-- init.pp `-- metadata.json -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
