Issue #1663 has been updated by luke.

Status changed from Unreviewed to Accepted
Assigned to set to jamtur01

Yay, this is a result of the fix for #1427.  Obviously, that code needs to do 
some check to make sure each set variable is valid.

I'm assigning this to James, as it looks like this problem was discovered 
before and I can't tell if he claimed it was fixed or what.
----------------------------------------
Bug #1663: Regression relating to facter fact naming from 0.24.5
http://projects.reductivelabs.com/issues/show/1663

Author: seanmil
Status: Accepted
Priority: High
Assigned to: jamtur01
Category: plumbing
Target version: 0.24.6
Complexity: Unknown
Affected version: 0.25.0
Keywords: 


On my Xen hosts I have a lot of network interfaces which automatically are 
created to handle the bridged host-to-guest network traffic.  They are of the 
form vif0.0, vif0.1, vif0.2, etc.

When I run facter I get the dynamically generated facts for the interfaces:
macaddress_vif0.0 => FE:FF:FF:FF:FF:FF
macaddress_vif0.1 => FE:FF:FF:FF:FF:FF
macaddress_vif0.2 => FE:FF:FF:FF:FF:FF
macaddress_vif0.3 => FE:FF:FF:FF:FF:FF
macaddress_vif6.0 => FE:FF:FF:FF:FF:FF

I do not reference these facts in any template or manifest.

In 0.24.5 my manifests all compile, Puppet runs, no errors.  When I upgrade the 
Puppetmaster to 0.24.6rc2 I get the following:

# puppetd --test
info: Loading fact system_environment
info: Loading fact selinux
info: Retrieving plugins
info: Retrieving facts
info: Loading fact system_environment
info: Loading fact selinux
err: Could not retrieve catalog: Failed to parse template rclocal/local.erb: 
[EMAIL PROTECTED]' is not allowed as an instance variable name at 
/var/lib/puppet/files/recipies/development/modules/rclocal/manifests/init.pp:18 
on node myhost.mydomain
warning: Not using cache on failed catalog

I believe that local.erb is just the first ERB template it tries to parse.  It 
is a very simple template which only references the operatingsystem fact.  I 
suspect the "." in the fact name is causing the problem.



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