2012-12-18
Another thing I puppetized: setting stat ... 8 years ago
Another thing I puppetized: setting static routes on redhat-like servers. We have two rfc1918 ranges for management network so systems with a public IPv4 address and a management IPv4 address need a static route to the other half of the management network. Time for puppet which distributes the /etc/sysconfig/network-scripts/route-* files and does an ifdown and ifup of the affected interface. Using the variables from facter I can find whether a host is on one of the management IPv4 ranges and on which interface, and create routes accordingly.