Hey Mo,
These patches work as expected. However, I'm thinking whether we really want to be
removing images, I think if we are going to go down the route of removing iwhd objects,
(which Im not too keen on) we should probably flush out the whole thing, rather than just
images. Especially since removing images on its own will mess up some of the relations
between objects.
Cheers
Martyn
----- Original Message -----
From: "Mo Morsi" <mmorsi(a)redhat.com>
To: aeolus-devel(a)lists.fedorahosted.org
Cc: "Mo Morsi" <mmorsi(a)redhat.com>
Sent: Tuesday, 28 June, 2011 8:36:32 PM
Subject: [PATCH configure 2/2] BZ #693514 - create iwhd directories in aeolus-configure
---
recipes/aeolus/manifests/iwhd.pp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/recipes/aeolus/manifests/iwhd.pp b/recipes/aeolus/manifests/iwhd.pp
index 157d562..6f17f92 100644
--- a/recipes/aeolus/manifests/iwhd.pp
+++ b/recipes/aeolus/manifests/iwhd.pp
@@ -13,6 +13,7 @@ class aeolus::iwhd inherits aeolus {
file { "/data": ensure => 'directory' }
file { "/data/db": ensure => 'directory' }
file { "/etc/iwhd": ensure => 'directory'}
+ file { "/var/lib/iwhd/images": ensure => 'directory' }
service { 'mongod':
ensure => 'running',
@@ -24,7 +25,8 @@ class aeolus::iwhd inherits aeolus {
enable => true,
hasstatus => true,
require => [Package['iwhd'],
- Service[mongod]]}
+ Service[mongod],
+ File['/var/lib/iwhd/images']]}
# XXX ugly hack but iwhd might take some time to come up
exec{"iwhd_startup_pause":
--
1.7.5.4
_______________________________________________
aeolus-devel mailing list
aeolus-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/aeolus-devel