Issue #4409 has been updated by Yuri Arabadji.
You know what, I came across similar problem recently. This time not only I'm
using custom types & providers, but exported resources, too.
Here's how the error looks like in 2.6.7:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Resource type zenoss_host doesn't exist at
/etc/puppet/development/modules/zenoss/manifests/init.pp:47 on node xxx
And in master's log:
puppet-master[1639]: Puppet::Parser::AST::Resource failed with error
ArgumentError: Invalid resource type zenoss_host at
/etc/puppet/development/modules/zenoss/manifests/init.pp:38 on
node xxx
Master's lib is empty:
# tree /var/lib/puppet/lib/
/var/lib/puppet/lib/
0 directories, 0 files
Here's the proposed solution:
* maintain $libdir/environments/$environment directory that corresponds to
client's environment
* implement "resync on each manifest compile" feature that scans $modulepath
for providers & types and sync's the files to the dir above
* create an option in config that allows toggling of "resync on each run"
feature -- so that user can set it to "on" when developing and "off" when in
production.
Current band-aid is to invoke this on each provider/type change:
rsync -av --exclude .svn --exclude .git
/etc/puppet/development/modules/*/lib/puppet/{type,provider}
/var/lib/puppet/lib/puppet/
----------------------------------------
Bug #4409: puppetmasterd does not find custom types for environment
https://projects.puppetlabs.com/issues/4409
Author: Rudy Gevaert
Status: Accepted
Priority: Urgent
Assignee:
Category: plumbing
Target version: Statler
Affected Puppet version: 2.6.0
Keywords:
Branch: http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4409
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.