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
Boxiang Sun
slapos
Commits
255c0a3b
Commit
255c0a3b
authored
Jul 24, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
davstorage: Switching instance to offline mode compliance
parent
7031ddc3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
14 deletions
+64
-14
software/davstorage/common.cfg
software/davstorage/common.cfg
+55
-1
software/davstorage/instance-davstorage.cfg
software/davstorage/instance-davstorage.cfg
+9
-13
No files found.
software/davstorage/common.cfg
View file @
255c0a3b
...
@@ -43,6 +43,12 @@ parts =
...
@@ -43,6 +43,12 @@ parts =
application
application
template
template
bootstrap-conf
bootstrap-conf
mailer-plugin-template
share-url-generation-template
postfix-service-template
sendmail-script-template
postfix-conf-template
postfix-master-conf-template
lxml-python
lxml-python
eggs
eggs
instance-recipe-egg
instance-recipe-egg
...
@@ -79,7 +85,7 @@ mode = 0644
...
@@ -79,7 +85,7 @@ mode = 0644
[instance-davstorage]
[instance-davstorage]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-davstorage.cfg
url = ${:_profile_base_location_}/instance-davstorage.cfg
md5sum =
0dc988d8f9ade52e83e3092fa7943dbb
md5sum =
7f3be7bf2b4de1624b990846c5712c44
output = ${buildout:directory}/template-davstorage.cfg
output = ${buildout:directory}/template-davstorage.cfg
mode = 0644
mode = 0644
...
@@ -92,5 +98,53 @@ output = ${application:location}/conf/${:filename}
...
@@ -92,5 +98,53 @@ output = ${application:location}/conf/${:filename}
mode = 0644
mode = 0644
md5sum = f8bbf14507f9c22d7b69696345e57c2e
md5sum = f8bbf14507f9c22d7b69696345e57c2e
[mailer-plugin-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/${:filename}
filename = class.phpmailer-lite.php
download-only = true
mode = 0644
md5sum = 4649b152e1f639873a03149eccc70aaf
[share-url-generation-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/${:filename}
filename = class.AJXP_Utils.php
download-only = true
mode = 0644
md5sum = f681c0a0a17f4b2a0896b952e53239ed
[postfix-service-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/${:filename}
filename = postfix.in
download-only = true
mode = 0755
md5sum = 94799688bf95fb16b86972a23df13af2
[sendmail-script-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/${:filename}
filename = sendmail.in
download-only = true
mode = 0755
md5sum = d2ea9ecfd653dcb0bd06c06bcaabc5df
[postfix-conf-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/${:filename}
filename = main.cf.in
download-only = true
mode = 0644
md5sum = a72b679c523f587422f95d295de27876
[postfix-master-conf-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/${:filename}
filename = master.cf.in
download-only = true
mode = 0644
md5sum = de33aa9ef530ef3c7661b914d2d1fbef
[lxml-python]
[lxml-python]
python = python2.7
python = python2.7
software/davstorage/instance-davstorage.cfg
View file @
255c0a3b
...
@@ -59,6 +59,7 @@ apache-binary = ${apache:location}/bin/httpd
...
@@ -59,6 +59,7 @@ apache-binary = ${apache:location}/bin/httpd
apache-modules-dir = ${apache:location}/modules/
apache-modules-dir = ${apache:location}/modules/
apache-mime-file = ${apache:location}/conf/mime.types
apache-mime-file = ${apache:location}/conf/mime.types
apache-htpasswd = ${apache:location}/bin/htpasswd
apache-htpasswd = ${apache:location}/bin/htpasswd
source = ${application:location}
[certificate-authority]
[certificate-authority]
recipe = slapos.cookbook:certificate_authority
recipe = slapos.cookbook:certificate_authority
...
@@ -213,25 +214,23 @@ command = cp -R ${application:location}/* $${directory:htdocs}
...
@@ -213,25 +214,23 @@ command = cp -R ${application:location}/* $${directory:htdocs}
[mailer-plugin]
[mailer-plugin]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/templates/$${:filename}
url = ${mailer-plugin-template:location}/${mailer-plugin-template:filename}
filename = class.phpmailer-lite.php
sendmail-script = $${sendmail-script:output}
sendmail-script = $${sendmail-script:output}
output = $${directory:htdocs}/plugins/mailer.phpmailer-lite/lib/$
${
:filename}
output = $${directory:htdocs}/plugins/mailer.phpmailer-lite/lib/$
{mailer-plugin-template
:filename}
mode = 0644
mode = 0644
md5sum = 4649b152e1f639873a03149eccc70aaf
md5sum = 4649b152e1f639873a03149eccc70aaf
[share-url-generation]
[share-url-generation]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${
:_profile_base_location_}/templates/$${
:filename}
url = ${
share-url-generation-template:location}/${share-url-generation-template
:filename}
filename = class.AJXP_Utils.php
filename = class.AJXP_Utils.php
output = $${directory:htdocs}/core/classes/$
${
:filename}
output = $${directory:htdocs}/core/classes/$
{share-url-generation-template
:filename}
mode = 0644
mode = 0644
md5sum = f681c0a0a17f4b2a0896b952e53239ed
md5sum = f681c0a0a17f4b2a0896b952e53239ed
[postfix-service]
[postfix-service]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/templates/$${:filename}
url = ${postfix-service-template:location}/${postfix-service-template:filename}
filename = postfix.in
postfix-location = ${postfix:location}/usr/sbin/postfix
postfix-location = ${postfix:location}/usr/sbin/postfix
postfix-config-dir = $${directory:postfix-conf}
postfix-config-dir = $${directory:postfix-conf}
output = $${basedirectory:services}/postfix
output = $${basedirectory:services}/postfix
...
@@ -240,8 +239,7 @@ md5sum = 94799688bf95fb16b86972a23df13af2
...
@@ -240,8 +239,7 @@ md5sum = 94799688bf95fb16b86972a23df13af2
[sendmail-script]
[sendmail-script]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/templates/$${:filename}
url = ${sendmail-script-template:location}/${sendmail-script-template:filename}
filename = sendmail.in
sendmail-location = ${postfix:location}/usr/sbin/sendmail
sendmail-location = ${postfix:location}/usr/sbin/sendmail
postfix-config-dir = $${directory:postfix-conf}
postfix-config-dir = $${directory:postfix-conf}
output = $${rootdirectory:bin}/sendmail
output = $${rootdirectory:bin}/sendmail
...
@@ -250,8 +248,7 @@ md5sum = d2ea9ecfd653dcb0bd06c06bcaabc5df
...
@@ -250,8 +248,7 @@ md5sum = d2ea9ecfd653dcb0bd06c06bcaabc5df
[postfix-conf]
[postfix-conf]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/templates/$${:filename}
url = ${postfix-conf-template:location}/${postfix-conf-template:filename}
filename = main.cf.in
queue-directory = $${directory:spool}
queue-directory = $${directory:spool}
command-directory = ${postfix:location}/usr/sbin
command-directory = ${postfix:location}/usr/sbin
bin-directory = ${postfix:location}/usr/bin
bin-directory = ${postfix:location}/usr/bin
...
@@ -271,8 +268,7 @@ command = sed 's/ slappart/ slapuser/g' $${postfix-conf:output} > main.tmp && mv
...
@@ -271,8 +268,7 @@ command = sed 's/ slappart/ slapuser/g' $${postfix-conf:output} > main.tmp && mv
[postfix-master-conf]
[postfix-master-conf]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/templates/$${:filename}
url = ${postfix-master-conf-template:location}/${postfix-master-conf-template:filename}
filename = master.cf.in
port = 2525
port = 2525
output = $${directory:postfix-conf}/master.cf
output = $${directory:postfix-conf}/master.cf
mode = 0644
mode = 0644
...
...
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