Package: cfengine2
Version: 2.1.20-1
Severity: important

I have servers with multiple addresses on the same interface eth1:

2: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:1c:c4:a9:73:74 brd ff:ff:ff:ff:ff:ff
    inet 172.17.2.6/20 brd 172.17.15.255 scope global eth1
    inet 192.168.0.24/24 brd 192.168.0.255 scope global eth1:0
    inet 172.17.2.18/20 brd 172.17.15.255 scope global secondary eth1
    inet 172.17.2.15/20 brd 172.17.15.255 scope global secondary eth1
    inet6 fe80::21c:c4ff:fea9:7374/64 scope link
       valid_lft forever preferred_lft forever

cfengine's ${global.ipv4[eth1]} returns 172.17.2.15, which is the last
address on eth1 (not included eth1:0). I need it return the first
address of eth1 (172.17.2.6), because other addresses are dynamic and
under control of the Linux-HA/Heartbeat.

I think cfengine cannot handle this correctly now, could DD fix this or
forward it to the author?

Thanks.

Chun TIAN (binghe)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to