Issue #1774 has been reported by Marten.

----------------------------------------
Bug #1774: aliases not working
http://projects.reductivelabs.com/issues/show/1774

Author: Marten
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Keywords: ipaddress_eth0:0
alias


facter return a wrong value on evaluating an alias (eth0:0)

example:

$ipaddress_eth0:0 returns  10.11.11.29:0

which should be 13.1.1.1

On the system (gentoo)

#ifconfig eth0 | grep inet
inet addr:10.11.11.29  Bcast:10.11.11.255  Mask:255.255.255.0

#ifconfig eth0:0 | grep inet 
inet addr:13.1.1.1  Bcast:13.255.255.255  Mask:255.0.0.0

os gentoo
puppetversion => 0.24.6
facterversion => 1.5.2


reproduction

On the client:
ifconfig eth0 10.11.11.29/24
ifconfig eth0:0 13.1.1.1


On the master
somewhere in the class for this host
notify { "my ip 
        1 $ipaddress 
        4 $ipaddress_eth0:0
        5 $ipaddress_eth0
        ": }

on the client: 
puppetd --verbose --no-daemonize --ignorecache


thanks for you work so far!
kind regards
Marten





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