Commit Graph

12 Commits

Author SHA1 Message Date
Clark Boylan 9b70e944fb Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: Ic26165938834b6ba865d6cc12d2f34ed737bbae2
2022-02-17 13:01:45 -08:00
Dirk Mueller cfffca78b2 Add Suse support for unbound
Change-Id: I4fa179adb9144b13a38f22829a2f0728ddb9aadf
2017-02-28 10:41:44 +01:00
Paul Belanger dffe3580c1
Update dhclient.conf to be in sync across all OSes
After finding some puppet jobs were failing on CentOS it was found the
DHCP server for osic and ovh were passing extra settings.

As a results, we also noticed our dhclient.conf was not in sync around
all of our images.  So, this patch attemps to fix both issues.

Change-Id: I2415f7e42a9d5931589192b7d78423941e02b076
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-27 15:34:40 -04:00
Colleen Murphy 944afc1acd Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix arrow
alignment errors now caught by the bundle-installed puppet-lint.

Change-Id: I4a6d4a6ecfc9812145867362eb06228de0c840bc
2015-08-14 11:06:14 -07:00
Monty Taylor f78093ac1e Add flag for unbound's resolv.conf
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
2014-05-30 22:41:07 -07:00
Jeremy Stanley 02f2f302cc Stop notifying make-resolv-conf-immutable
* modules/unbound/manifests/init.pp: Stop notifying
make-resolv-conf-immutable since it no longer exists.

Change-Id: I843460e0be35412a7a954dcc0afc9574d6c633d4
2014-04-28 17:50:07 +00:00
Monty Taylor d40b2691a8 Remove chattr
Now that we create the file at boot time, it's not important that it
be immutable.

Change-Id: I06c60f61f51b791b7006983572b868c6d4459c68
2014-04-28 08:19:08 -07:00
James E. Blair 57282687e7 Always make /etc/resolv.conf immutable
Maybe, just maybe, it will stop the rax file injection.

Change-Id: I4258fa52e43b0a93f30319630291e5ae0f37a548
2014-04-25 09:56:17 -07:00
James E. Blair 8215d2eb1c Unbound: also override dhclient config on debian
The tripleo cloud uses dhcp, so make sure we override the nameserver
to point to localhost in that case.

Change-Id: If498925fc524ece91e2662a1d78008c8dce9d320
2014-03-23 17:12:06 -07:00
James E. Blair 9d453a030c Disable resolvconf on ubuntu
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
2014-03-21 11:35:04 -07:00
James E. Blair 7450c855b4 Make sure resolvconf is enabled
This should be the default, but for some reason, it isn't on some
of our servers, especially older ones.

Change-Id: I1b926bb5583121123f261eb78a95f5cc5ce67273
2014-03-21 11:03:14 -07:00
James E. Blair e5e832f5c0 Use unbound
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
2014-03-18 09:23:38 -07:00