Hi guys, I''m trying to use the Subversion module here: https://github.com/duritong/puppet-subversion I have unzipped it to my modules folder but I am having problems calling the definitions from elsewhere in my manifests. I get the following error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type subversion::svnserve at /etc/puppet/modules/mw-web-suite/manifests/httpd.pp:391 on node *** I can make it work by redefining the svnserve definition as subversion::svnserve, but I wonder why that would be necessary in a properly written module. Sorry, I don''t know a whole lot about puppet inheritance so any help is awesome. Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/dBtXowT76TUJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 06/20/2012 10:31 PM, elliott wrote:> I have unzipped it to my modules folder but I am having problems calling > the definitions from elsewhere in my manifests. I get the following error: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid > resource type subversion::svnserve at > /etc/puppet/modules/mw-web-suite/manifests/httpd.pp:391 on node *** > > I can make it work by redefining the svnserve definition as > subversion::svnserve, but I wonder why that would be necessary in a > properly written module.Agreed, I''m puzzled why it''s not named thus in the upstream module. Perhaps it''s only suitable for specific puppet versions? -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
> > Agreed, I''m puzzled why it''s not named thus in the upstream module. > > Perhaps it''s only suitable for specific puppet versions? >Okay, good enough for me :) So the standard practice then would be to fully-qualify all classes, definitions and types declared within modules? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/6VVMkTwe7tIJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.