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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
ee0a4337
Commit
ee0a4337
authored
Mar 16, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup
cc10a28c
Make ssl-authentication really optional.
parent
95cd1748
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
slapos/recipe/apache_zope_backend/__init__.py
slapos/recipe/apache_zope_backend/__init__.py
+2
-1
No files found.
slapos/recipe/apache_zope_backend/__init__.py
View file @
ee0a4337
...
...
@@ -49,7 +49,8 @@ class Recipe(GenericBaseRecipe):
apache_conf
[
'ssl_session_cache'
]
=
self
.
options
[
'ssl-session-cache'
]
apache_conf
[
'ssl_snippet'
]
=
pkg_resources
.
resource_string
(
__name__
,
'template/snippet.ssl.in'
)
%
apache_conf
if
self
.
optionIsTrue
(
'ssl-authentication'
):
if
'ssl-authentication'
in
self
.
options
and
self
.
optionIsTrue
(
'ssl-authentication'
):
apache_conf
[
'ssl_snippet'
]
+=
pkg_resources
.
resource_string
(
__name__
,
'template/snippet.ssl.ca.in'
)
%
dict
(
ca_certificate
=
self
.
options
[
'ssl-authentication-certificate'
],
...
...
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