O'Reilly logo

Configuration Management with Bcfg2 by Cory Lueninghoener, Narayan Desai

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.4. Complex Templates

DHCP is the standard protocol used to dynamically configure a machine's network addresses, and it works well from both a usage standpoint and a configuration management standpoint: no local state means that all clients can have the same static network configuration files. However, some machines are too important to rely on the DHCP service to always work (who hands out a DHCP address to the DHCP server? What if the DHCP server can't be rebooted because the secure admin gateway couldn't get an address last time it booted?), and their static configurations can become cumbersome to maintain. The obvious answer to this problem, of course, is to generate their static network configurations on the server using templates.

Some ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required