Commit 3af3980e authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

deploy: just move fabfile into python module

This prepares the refactor that will take place in the following ones.
Signed-off-by: default avatarDimitris Aragiorgis <>
parent 7258df21
...@@ -261,11 +261,11 @@ def fabcommand(args, env, actions, nodes=[]): ...@@ -261,11 +261,11 @@ def fabcommand(args, env, actions, nodes=[]):
else: else:
fabcmd = "fab " fabcmd = "fab "
fabcmd += " --fabfile {4}/ \ fabcmd += " --fabfile /usr/share/pyshared/snfdeploy/ \
setup_env:confdir={0},packages={1},templates={2},cluster_name={3},\ setup_env:confdir={0},packages={1},templates={2},cluster_name={3},\
autoconf={5},disable_colors={6},key_inject={7} \ autoconf={4},disable_colors={5},key_inject={6} \
".format(args.confdir, env.packages, env.templates, args.cluster_name, ".format(args.confdir, env.packages, env.templates, args.cluster_name,
env.lib, args.autoconf, args.disable_colors, args.key_inject) args.autoconf, args.disable_colors, args.key_inject)
if nodes: if nodes:
hosts = [env.nodes_info[n].hostname for n in nodes] hosts = [env.nodes_info[n].hostname for n in nodes]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment