Joey Boggs
2009-Jul-28 20:27 UTC
[Ovirt-devel] [PATCH] update dhclient.conf location for fedora 11
--- installer/modules/ovirt/manifests/dns.pp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/modules/ovirt/manifests/dns.pp b/installer/modules/ovirt/manifests/dns.pp index 7709cbf..7c867cc 100644 --- a/installer/modules/ovirt/manifests/dns.pp +++ b/installer/modules/ovirt/manifests/dns.pp @@ -55,14 +55,14 @@ define dns::common($guest_ipaddr="", $admin_ipaddr="",$guest_dev="",$admin_dev=" notify => Service[dnsmasq] } - file {"/etc/dhclient.conf": + file {"/etc/dhcp/dhclient.conf": ensure => present } file_append {"dhclient_config": - file => "/etc/dhclient.conf", + file => "/etc/dhcp/dhclient.conf", line => "prepend domain-name-servers $admin_ipaddr;", - require => [Single_exec["set_hostname"], Package["dnsmasq"], File["/etc/dhclient.conf"]] , + require => [Single_exec["set_hostname"], Package["dnsmasq"], File["/etc/dhcp/dhclient.conf"]] , notify => Service[dnsmasq], } -- 1.6.2.5
Jason Guiditta
2009-Jul-29 19:04 UTC
[Ovirt-devel] [PATCH] update dhclient.conf location for fedora 11
On Tue, 2009-07-28 at 16:27 -0400, Joey Boggs wrote:> --- > installer/modules/ovirt/manifests/dns.pp | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/installer/modules/ovirt/manifests/dns.pp b/installer/modules/ovirt/manifests/dns.pp > index 7709cbf..7c867cc 100644 > --- a/installer/modules/ovirt/manifests/dns.pp > +++ b/installer/modules/ovirt/manifests/dns.pp > @@ -55,14 +55,14 @@ define dns::common($guest_ipaddr="", $admin_ipaddr="",$guest_dev="",$admin_dev=" > notify => Service[dnsmasq] > } > > - file {"/etc/dhclient.conf": > + file {"/etc/dhcp/dhclient.conf": > ensure => present > } > > file_append {"dhclient_config": > - file => "/etc/dhclient.conf", > + file => "/etc/dhcp/dhclient.conf", > line => "prepend domain-name-servers $admin_ipaddr;", > - require => [Single_exec["set_hostname"], Package["dnsmasq"], File["/etc/dhclient.conf"]] , > + require => [Single_exec["set_hostname"], Package["dnsmasq"], File["/etc/dhcp/dhclient.conf"]] , > notify => Service[dnsmasq], > } >ACK, moving this file fixed the issue I was seeing where resolv.conf on the wui server was not including the admin network.