[PATCH configure] BZ 788397 - /var/lib/iwhd should not be removed to maintain consistency with mongodb

Richard Su rwsu at redhat.com
Sat Feb 11 02:06:42 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=788397

Currently there isn't a way to remove the buckets in iwhd.
Removing /var/lib/iwhd and directories representing the buckets
causes an inconsistency issue.
---
 recipes/aeolus/manifests/iwhd.pp |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/recipes/aeolus/manifests/iwhd.pp b/recipes/aeolus/manifests/iwhd.pp
index 43b219b..6ef10f0 100644
--- a/recipes/aeolus/manifests/iwhd.pp
+++ b/recipes/aeolus/manifests/iwhd.pp
@@ -83,13 +83,6 @@ class aeolus::iwhd::disabled {
       enable  =>  false,
       hasstatus =>  true}
 
-  if $aeolus_save_data == "false" {
-    file { "/var/lib/iwhd":
-      ensure  => 'absent',
-      backup => 'false',
-      force   => true,
-      require => Service['iwhd']}
-  }
 }
 
 # Create a named bucket in iwhd
-- 
1.7.7.6




More information about the aeolus-devel mailing list