From 44bef249b6286f9df8269664787003bff0f670ca Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Wed, 30 May 2012 12:02:55 +0200
Subject: [PATCH] step sfa-create needs site and pi creation as well

---
 system/macros.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/system/macros.py b/system/macros.py
index dbedc70..0900cfe 100644
--- a/system/macros.py
+++ b/system/macros.py
@@ -37,9 +37,14 @@ sequences['sfa'] = [
 
 sequences['sfa_create'] = [
     'sfa_plcclean', 
+    # nuke sometimes requires the service to be stopped b/c of db locks apparently
+    'sfa_stop',
     'sfa_dbclean',
+    'sfa_start',
     'sfa_import', 
     'sfi_configure', 
+    'sfa_add_site',
+    'sfa_add_pi',
     'sfa_add_user', 
     'sfa_add_slice',
 ]
-- 
2.47.0