Hi readers,
I have developed a custom SVN type (based on
http://is.gd/W0cIMS among others), and I guess it's fairly correct ruby code. (at least I don't get any syntax errors).
now I have deployed it in my module in
<module>/lib/puppet/type/repo_checkout.rb and
<module>/lib/puppet/provider/repo_checkout/svn.rb, and the files do get transferred to the client.
in my site.pp I do the following:
repo_checkout { "test" :
source => "svn://l1214022/puppet/trunk/bas3_bali",
method => "export",
path => "/home/rsync/puppet/checkthis",
}
... and 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 repo_checkout at /etc/puppet/manifests/site.pp:98 on node ...
If I insert print statements in the code and invoke puppet agent --debug, I see the statements being executed on the client:
(provider)
info: Loading downloaded plugin /home/rsync/.puppet/var/lib/puppet/provider/repo_checkout/svn.rb
Huhu debug: Reloading svn repo_checkout provider
Huhu debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson
(type)
info: Loading downloaded plugin /home/rsync/.puppet/var/lib/puppet/type/repo_checkout.rb
lala Huhudebug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson
Does anybody have an idea what I do wrong?
Thanks in advance & greetings,
Axel.