diskimage-builder does not run services that it installs, but this
is a problem when we lay down the resolv.conf file in puppet with
the service not running. So, put in a flag which defaults to true
(which is current behavior) that a dib invocation of the puppet
can turn off and then dib can plop the file down at the end of the
process.
Change-Id: I05d89ffacfdaf3563b8cb1460af12f114e1a0340
* modules/unbound/manifests/init.pp: Stop notifying
make-resolv-conf-immutable since it no longer exists.
Change-Id: I843460e0be35412a7a954dcc0afc9574d6c633d4
The tripleo cloud uses dhcp, so make sure we override the nameserver
to point to localhost in that case.
Change-Id: If498925fc524ece91e2662a1d78008c8dce9d320
And just use a static resolv.conf file instead. There are too many
conditions in which resolvconf might find itself, and this is much
simpler anyway.
Change-Id: I71b80e533afa93a659c634db5e6b9abf6134ab58
This should be the default, but for some reason, it isn't on some
of our servers, especially older ones.
Change-Id: I1b926bb5583121123f261eb78a95f5cc5ce67273
On all machines, set up unbound as a caching recursive resolver.
On single-use slaves, set it up to forward cache misses to the
DNS servers obtained by the template host on boot.
Change-Id: I8505f5a277f20b1328900a9a515cd84db77b2b3b