Fixes bug where puppet fails to run due to domain name 99/1899/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 20:10:56 +0000 (20:10 +0000)
commit41c83f471dc4ffcc8df8f31898eece27aceac843
tree10b936c948c93071b72b0431575a310f78607815
parente509fa622859aa5bd56a74ab182489e03588c546
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>
(cherry picked from commit d4ccd3bdf95f4250747f72d0ca98a19f3656d128)
foreman/ci/vm_nodes_provision.sh