From 5724be2ba89319defb965361428e51e827e5a2c8 Mon Sep 17 00:00:00 2001
From: Jesse Keating <jesse.keating@rackspace.com>
Date: Mon, 15 Apr 2013 17:22:42 -0700
Subject: [PATCH] Only accept supported services for rax module

Even though others are possible, fail early on unsupported ones.
---
 rax | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/rax b/rax
index eabd6ffbf52..fbc174aaecb 100644
--- a/rax
+++ b/rax
@@ -105,8 +105,10 @@ except ImportError:
     print("failed=True msg='pyrax required for this module'")
     sys.exit(1)
 
-SUPPORTEDSERVICES = ['cloudservers', 'cloudfiles', 'cloud_blockstorage',
-                     'cloud_databases', 'cloud_loadbalancers']
+# These are possible services, but only cloudservers is supported at this time
+#SUPPORTEDSERVICES = ['cloudservers', 'cloudfiles', 'cloud_blockstorage',
+#                     'cloud_databases', 'cloud_loadbalancers']
+SUPPORTEDSERVICES = ['cloudservers']
 
 def cloudservers(module, state, name, flavor, image, meta, key_name, files,
                  wait, wait_timeout):