Code: Select all
# HEADER: This file is being managed by puppet. Changes to
# HEADER: routes that are not being managed by puppet will persist;
# HEADER: however changes to routes that are being managed by puppet will
# HEADER: be overwritten. In addition, file order is NOT guaranteed.
# HEADER: Last generated at:
172.xx.xx.xxx/255.255.255.255 via 10.x.x.x dev xxx
I've been tinkering around with the 'options' parameter below, i.e. trying the various table IDs and names that are populated in /etc/iproute2/rt_tables, but haven't had any joy (probably because I'm barking up the wrong tree).
Code: Select all
network_route { '172.xx.xx.xxx/32':
ensure => 'present',
gateway => '10.x.x.x',
interface => $interface,
netmask => '255.255.255.255',
network => '172.xx.xx.xxx',
options => 'table local',
}
Does anyone have any idea of what I can do here?