[Ovirt-devel] [PATCH server] added ovirt-node-image for cobbler configuration, causes installer to fail

Joey Boggs jboggs at redhat.com
Mon Feb 9 21:05:00 UTC 2009


The installer will fail when it tries to run cobbler-import due to the ovirt-node-image package missing
---
 installer/modules/ovirt/manifests/cobbler.pp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/installer/modules/ovirt/manifests/cobbler.pp b/installer/modules/ovirt/manifests/cobbler.pp
index 6b68c93..c2f66ca 100644
--- a/installer/modules/ovirt/manifests/cobbler.pp
+++ b/installer/modules/ovirt/manifests/cobbler.pp
@@ -61,6 +61,10 @@ class cobbler::bundled {
 		ensure => installed
 	}
 
+        package {"ovirt-node-image":
+                ensure => installed
+        }
+
 	apache_htdigest{"cobbler_add_user":
 	        digest_file => "/etc/cobbler/users.digest",
 	        digest_username => "$cobbler_user_name",
@@ -116,7 +120,7 @@ class cobbler::bundled {
     single_exec {"cobbler-import":
         command => "/usr/sbin/cobbler-import >> /var/log/cobbler-import.log 2>&1",
         require => [File["/usr/sbin/cobbler-import"],
-                   Service["cobblerd"]]
+                   Service["cobblerd"],Package[ovirt-node-image]]
     }
 
 
-- 
1.6.0.6




More information about the ovirt-devel mailing list