Issue #4409 has been updated by Dan Bode. Subject changed from plugins in modules Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type to puppetmasterd does not find custom types for environment Priority changed from Normal to High
I have verified this. The problem is that the puppetmaster seems to only look for plugins (esp custom types) in its own modulepath and libdir. recreate: - set up an environment on the puppetmasters puppet.conf <pre> [env1] modulepath=/etc/puppet/env1/ </pre> then add the vcsrepo module to that environment's modulepath (and not to the puppetmasters libdir or moduleapath) /etc/puppet/env1/vcsrepo/... now on the client, set <pre> [agent] pluginsync=true </pre> and run <pre> puppet agent -t --environment env1 info: Retrieving plugin info: /File[/var/lib/puppet/lib]: Storing newly-audited value for content info: Loading facts in certname info: Loading facts in certname dnsdomainname: Unknown host err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type vcsrepo at /etc/puppet/manifests/site.pp:6 on node puppetclient warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run </pre> the puppetmaster cannot find the custom resource type b/c it does not appear to be looking in the modulepath of the agents environment. I am escalating this to high since I thought plugins would work with environments on 2.6.x. ---------------------------------------- Bug #4409: puppetmasterd does not find custom types for environment http://projects.puppetlabs.com/issues/4409 Author: Rudy Gevaert Status: Investigating Priority: High Assigned to: Dan Bode Category: Target version: Affected version: 2.6.0 Keywords: Branch: Hello, I can't get plugins in modules to work. I tried IRC and puppet-users (http://groups.google.com/group/puppet-users/browse_frm/thread/1fa5616448b1ffad) , all led to no help/solution :(. This is blocking me to deploy puppet in our infrastructure. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type vcsrepo at /etc/puppet/development/manifests/nodes.pp:37 on node puptest.ugent.be I have attached several attachments that show my config. thank you in advance -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
