Commit 4da5c225 authored by Vivien Alger's avatar Vivien Alger

Switching instance to offline mode compliance

parent faf08851
...@@ -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 = 996f62e9fb88202e7a0f52dc40517255
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
...@@ -213,7 +213,7 @@ command = cp -R ${application:location}/* $${directory:htdocs} ...@@ -213,7 +213,7 @@ 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}
filename = class.phpmailer-lite.php 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/$${:filename}
...@@ -222,7 +222,7 @@ md5sum = 4649b152e1f639873a03149eccc70aaf ...@@ -222,7 +222,7 @@ 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}
filename = class.AJXP_Utils.php filename = class.AJXP_Utils.php
output = $${directory:htdocs}/core/classes/$${:filename} output = $${directory:htdocs}/core/classes/$${:filename}
mode = 0644 mode = 0644
...@@ -230,8 +230,7 @@ md5sum = f681c0a0a17f4b2a0896b952e53239ed ...@@ -230,8 +230,7 @@ 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}
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}
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}
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}
filename = master.cf.in
port = 2525 port = 2525
output = $${directory:postfix-conf}/master.cf output = $${directory:postfix-conf}/master.cf
mode = 0644 mode = 0644
......
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