On Wednesday, June 20, 2012, wrote:
> Issue #7316 has been updated by Chris Price.
>
>
> I just attempted to reproduce this, and everything worked fine for me. I
> am *not* mirroring Jeff’s setup with respect to trying to set a separate
> vardir for master and agent (yet); there is a decent chance that that is
> the problem.
>
> Jeff, how did you install the modules? from the forge or are they just git
> clones? I don’t see why that should make a difference but just trying to
> make sure I have all the data points that I need in order to try to repro.
>
I've "installed" the cloud_provisioner module by using a git clone but it
shouldn't matter. The problem in my setup seems to be that puppet agent is
loading the face from the module directory rather than the plugin
directory. Note in the trace the file
/Users/jeff/vms/puppet/modules/cloud_provisioner/lib/puppet/face/node/classify.rb:1
rather
than the plugin sync directory.
Also note that we double load facts, but this is also a separate (but
related) issue:
$ puppet agent --confdir /vagrant/etc/puppet.30 --test
<<<<
Info: Retrieving plugin
Info: Loading facts in
/vagrant/etc/puppet.30/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in
/vagrant/etc/puppet.30/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in
/vagrant/etc/puppet.30/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in
/vagrant/etc/puppet.30/var.agent/lib/facter/facter_dot_d.rb
Info: Loading facts in
/vagrant/etc/puppet.30/var.agent/lib/facter/puppet_vardir.rb
Info: Loading facts in
/vagrant/etc/puppet.30/var.agent/lib/facter/root_home.rb
Info: Caching catalog for maynard.agent
Info: Applying configuration version '1340207209'
Hello World
/Stage[main]//Node[default]/Notify[Hello World]/message: defined 'message'
as 'Hello World'
Finished catalog run in 0.04 seconds
-Jeff
>
--
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.