Issue #1129 has been updated by luke.

Status changed from Accepted to Closed

Duplicate of #1114.
----------------------------------------
Bug #1129: Facts distributed via plugins in modules method are sync'd but not 
evaluated
http://reductivelabs.com/redmine/issues/show/1129

Author: micah
Status: Closed
Priority: Normal
Assigned to: community
Category: unknown
Target version: 0.25.0
Keywords: 
Complexity: Unknown
Patch: None
Affected version: 


Using the methodology described in [[PluginsInModules]], I find that puppet 
syncs the facts properly, but doesn't use those facts on that run, but requires 
you to re-run:

<pre>
[EMAIL PROTECTED]:~# puppetd --test
info: Loading fact acpi_available
info: Loading fact interfaces
info: Loading fact private_ip
info: Loading fact netmask
info: Loading fact virtual
info: Loading fact vserver
info: Loading fact public_ip
info: Retrieving plugins
notice: /File[/var/lib/puppet/lib/facter/in_colo.rb]/ensure: created
notice: Ignoring cache
err: Could not retrieve catalog: Failed to parse template 
bind9/named.conf.options: Could not find value for 'in_colo' at 
/etc/puppet/manifests/classes/bind.pp:54 on node albatross
warning: Not using cache on failed catalog
[EMAIL PROTECTED]:~# 
</pre>

As you can see, the fact was created, but then it ailed to parse the template, 
which requires that fact. If I re-run puppet, it loads that fact properly. 

Isn't the point of the [[PluginsInModules]] that the sync happens first, then 
facts are loaded, so that this doesn't happen?

I'm using 0.24.x


----------------------------------------
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://reductivelabs.com/redmine/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