Displaying 1 result from an estimated 1 matches for "add_guest_server_to_etc_hosts".
2009 May 15
1
[PATCH server] add server-side groundwork for remote freeipa server
...00644
--- a/installer/modules/ovirt/manifests/dns.pp
+++ b/installer/modules/ovirt/manifests/dns.pp
@@ -24,52 +24,27 @@ import "augeas"
define dns::common($guest_ipaddr="", $admin_ipaddr="",$guest_dev="",$admin_dev="") {
+ single_exec {"add_guest_server_to_etc_hosts":
+ command => "/bin/echo $admin_ipaddr $ovirt_host >> /etc/hosts",
+ notify => Service[dnsmasq]
+ }
+
package {"dnsmasq":
- ensure => installed,
- require => [Single_exec["add_dns_server_to_resolv.conf"]]
+...