Problem using subversion module

33 views
Skip to first unread message

elliott

unread,
Jun 20, 2012, 4:31:32 PM6/20/12
to puppet...@googlegroups.com
Hi guys,

I'm trying to use the Subversion module here:


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!

Felix Frank

unread,
Jun 21, 2012, 7:09:57 AM6/21/12
to puppet...@googlegroups.com
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?

elliott

unread,
Jun 21, 2012, 10:30:22 AM6/21/12
to puppet...@googlegroups.com
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?
Reply all
Reply to author
Forward
0 new messages