Commit 9828d2b8 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

deploy: Fix snf-ganeti-eventd setup

Enable eventd during prepare() so that after restarting it, init
script will not fail.
Signed-off-by: default avatarDimitris Aragiorgis <>
parent 5506d2d6
......@@ -457,6 +457,11 @@ class GTools(SynnefoComponent):
def check(self):
return ["ping -c1 %s" %]
def prepare(self):
return [
"sed -i 's/false/true/' /etc/default/snf-ganeti-eventd",
def configure(self):
tmpl = "/etc/synnefo/gtools.conf"
replace = {
......@@ -466,12 +471,6 @@ class GTools(SynnefoComponent):
return [(tmpl, replace, {})]
def initialize(self):
return [
"sed -i 's/false/true/' /etc/default/snf-ganeti-eventd",
"/etc/init.d/snf-ganeti-eventd start",
def restart(self):
return ["/etc/init.d/snf-ganeti-eventd restart"]
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