Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
b932e044
Commit
b932e044
authored
Sep 27, 2011
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return a webdavs:// url instead of https:// using
setConnectionUrl method.
parent
ffe66f77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
slapos/recipe/davstorage/__init__.py
slapos/recipe/davstorage/__init__.py
+6
-7
No files found.
slapos/recipe/davstorage/__init__.py
View file @
b932e044
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment