parent 5db040e8
...@@ -37,13 +37,8 @@ class Recipe(BaseSlapRecipe): ...@@ -37,13 +37,8 @@ class Recipe(BaseSlapRecipe):
def _install(self): def _install(self):
self.path_list = [] self.path_list = []
#self.requirements, self.ws = self.egg.working_set([__name__])
# XXX-CEDRIC ARRRRRR IT TOOK ME 3 HOURS TO FIND THAT self.requirements, self.ws = self.egg.working_set()
# self.egg.working_set([__name__])
# DOES NOT WORK : __name__ IS "slapos.recipe.mysql" BUT THIS EGG
# DOES NOT EXIST SO BUILDOUT FAILS MISERABLY WHILE FINDING A DISTRIBUTION
# "slapos.recipe.mysql". SLAPOS.COOKBOOK EXISTS. UGLY WORKAROUND.
self.requirements, self.ws = self.egg.working_set(['slapos.cookbook'])
# self.cron_d is a directory, where cron jobs can be registered # self.cron_d is a directory, where cron jobs can be registered
self.cron_d = self.installCrond() self.cron_d = self.installCrond()
self.logrotate_d, self.logrotate_backup = self.installLogrotate() self.logrotate_d, self.logrotate_backup = self.installLogrotate()
......
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