Issue #14298 has been updated by James Turnbull.

This def. works in the 2.7.x branch BTW. I use this all the time for testing.
----------------------------------------
Bug #14298: pluginsync does not work if the module is a symlink
https://projects.puppetlabs.com/issues/14298#change-61931

Author: Thomas Vander Stichele
Status: Investigating
Priority: Normal
Assignee: Patrick Carlisle
Category: plug-ins
Target version: 
Affected Puppet version: 2.6.16
Keywords: 
Branch: 


I had the firewall module as a symlink to a directory checkout in a user 
directory.

When trying to run puppet agent, I got:

[root@ana puppet]# puppet agent --server ana.amantes --test --pluginsync
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve 
information from environment production source(s) puppet://ana.amantes/plugins
info: Loading facts in iptables
info: Loading facts in iptables
err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource 
type firewall at /etc/puppet/manifests/site.pp:6 on node ana.amantes
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run


Removing the symlink and replacing it with a copy of the actual module 
directory for firewall, it did work.  So I conclude that symlinks aren't 
treated properly but ignored.


-- 
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.

Reply via email to