Commit b932e044 authored by Antoine Catton's avatar Antoine Catton

Return a webdavs:// url instead of https:// using

setConnectionUrl method.
parent ffe66f77
...@@ -41,13 +41,12 @@ class Recipe(BaseSlapRecipe): ...@@ -41,13 +41,12 @@ class Recipe(BaseSlapRecipe):
self.path_list = [] self.path_list = []
self.requirements, self.ws = self.egg.working_set() self.requirements, self.ws = self.egg.working_set()
document_root = self.createDataDirectory('www') document_root = self.createDataDirectory('www')
self.apache_config = self.installApache(document_root) apache_config = self.installApache(document_root)
self.setConnectionDict( self.setConnectionUrl(scheme='webdavs',
dict(url='https://[%s]:%s/' % (self.apache_config['ip'], host=apache_config['ip'],
self.apache_config['port']), port=apache_config['port'],
user=self.apache_config['user'], auth=(apache_config['user'],
password=self.apache_config['password']), apache_config['password']))
)
return self.path_list return self.path_list
def installApache(self, document_root, ip=None, port=None): def installApache(self, document_root, ip=None, port=None):
......
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