Issue #1839 has been reported by cmoates.

----------------------------------------
Bug #1839: Can't address tagged vlan interfaces in puppet
http://projects.reductivelabs.com/issues/show/1839

Author: cmoates
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.6
Keywords: 


Tagged vlan ethernet interfaces in linux are of the form ethX.nnnn where nnnn 
is the vlan tag ID and X is the ethernet card ID. I'm trying to reference one 
of these as generated by facter, but am having problems. Here's some more data:

<pre>
[r...@gims1-temp ~]# facter | grep ipadd
ipaddress => 10.0.36.141
ipaddress_eth0.3002 => 10.0.36.141
[r...@gims1-temp ~]# facter ipaddress
10.0.36.141
[r...@gims1-temp ~]# facter ipaddress_eth0.3002
[r...@gims1-temp ~]#
</pre>

As you can see, facter doesn't properly report this out, when asked, but 
someone suggested that's a separate facter bug.

Here's where I try to use the variable in my site.pp:

<pre>
node gims1-temp {
  $tomcat_listen_ip = $ipaddress_eth0.3002;
  include solr
}
</pre>

When I try to run puppet against that, I receive:

<pre>
err: Could not retrieve catalog: Could not parse for environment production: 
Syntax error at '.'; expected '}' at /etc/puppet/manifests/site.pp:217
</pre>


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