Fixes bug where puppet fails to run due to domain name 89/1889/1
authorTim Rozet <trozet@redhat.com>
Tue, 22 Sep 2015 17:18:04 +0000 (13:18 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 22 Sep 2015 17:18:04 +0000 (13:18 -0400)
commitd4ccd3bdf95f4250747f72d0ca98a19f3656d128
treeb472fdc055aa8065f5c2b43e977d5755bf365bf8
parent53cd9a92f87cf8fbb46f27363f5a61e0457bafc2
Fixes bug where puppet fails to run due to domain name

Puppet relies on facter to gather host facts, including domain name.
Unfortunately facter gathers domain name by looking at the first domain
listed in /etc/resolv.conf, rather than the domain name set on the host.
This fix corrects the domain in that file.

JIRA: APEX-36

Change-Id: If4e4a0b9f82e562463d97ceeee6b7dfd445e3bdc
Signed-off-by: Tim Rozet <trozet@redhat.com>
foreman/ci/vm_nodes_provision.sh