Permalink
Browse files

Format vm data before return

  • Loading branch information...
1 parent eff8c39 commit 5e124eb30a7243d35f5ebd6f272617a6feb092ec @thatch45 thatch45 committed May 1, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 saltcloud/config.py
View
@@ -47,4 +47,10 @@ def vm_config(path):
if 'include' in opts:
opts = include_config(opts, path)
- return opts
+ vms = []
+
+ for key, val in opts.items():
+ val['name'] = key
+ vms.append(val)
+
+ return vms

0 comments on commit 5e124eb

Please sign in to comment.