From 810d051f71938343eba3961ace09890a7387d38c Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Mon, 5 Mar 2012 14:50:25 +0100
Subject: [PATCH] iPolicy: enable by default all storage templates
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

… otherwise we can't run tests or simulations using non-default
templates. Tests still pass.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
---
 htools/Ganeti/HTools/Types.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htools/Ganeti/HTools/Types.hs b/htools/Ganeti/HTools/Types.hs
index 90cc6539e..b2d2082d9 100644
--- a/htools/Ganeti/HTools/Types.hs
+++ b/htools/Ganeti/HTools/Types.hs
@@ -254,7 +254,7 @@ defIPolicy = IPolicy { iPolicyStdSpec = defStdISpec
                      -- hardcoding here since Constants.hs exports the
                      -- string values, not the actual type; and in
                      -- htools, we are mostly looking at DRBD
-                     , iPolicyDiskTemplates = [DTDrbd8, DTPlain]
+                     , iPolicyDiskTemplates = [minBound..maxBound]
                      , iPolicyVcpuRatio = C.ipolicyDefaultsVcpuRatio
                      , iPolicySpindleRatio = C.ipolicyDefaultsSpindleRatio
                      }
-- 
GitLab