Commit 7600ecfc authored by Vivien Alger's avatar Vivien Alger

davstorage: Password generation and md5

parent 24f33435
......@@ -92,7 +92,7 @@ mode = 0644
[instance-davstorage]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-davstorage.cfg
#md5sum = 976a4ca0d68ae88e9f0e1d6835cb2aab
md5sum = 399a2943c70a0d32b4f598f8d1127685
output = ${buildout:directory}/template-davstorage.cfg
mode = 0644
......@@ -111,7 +111,7 @@ url = ${:_profile_base_location_}/templates/${:filename}
filename = boot-conf-manifest.xml.in
language = fr
mode = 0644
#md5sum = 5f7b1e991bd46ac56656c82052501a98
md5sum = 856e39c6bf42dd28a593c45b966b97d1
output = ${application:location}/plugins/boot.conf/manifest.xml
[core-ajaxplorer-manifest]
......@@ -129,7 +129,7 @@ recipe = slapos.recipe.download
url = ${:_profile_base_location_}/templates/${:filename}
filename = configuration.js
mode = 0644
#md5sum =
md5sum = 792917aea5bafdc9a973a9071ae89ec6
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[mailer-plugin-template]
......@@ -185,7 +185,7 @@ recipe = slapos.recipe.download
url = ${:_profile_base_location_}/templates/${:filename}
filename = test-boot.js
mode = 0644
#md5sum = 5ea198171b5fe139e83969f684005aae
md5sum = a6a98bf3c9fcb6c330dea513d13eb054
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[test-sendmail-php-template]
......
......@@ -31,10 +31,15 @@ url = $${request-frontend-ajaxupload:config-url}
webdav_user = $${davstorage:user}
webdav_password = $${davstorage:password}
[pass-generation]
recipe = slapos.cookbook:generate.password
storage-path = $${rootdirectory:etc}/.passwd
bytes = 4
[davstorage]
recipe = slapos.cookbook:davstorage
user = user
password = insecure
password = $${pass-generation:passwd}
port_webdav = 8080
port_ajax = 8070
ip = $${slap-network-information:global-ipv6}
......@@ -215,7 +220,7 @@ password = $${davstorage:password}
storage-type = serial
output = $${directory:promise-js}/${configuration-js-template:filename}
mode = 0644
#md5sum =
md5sum = 792917aea5bafdc9a973a9071ae89ec6
[configuration-promise]
recipe = slapos.cookbook:check_page_content_phantomjs
......@@ -278,7 +283,7 @@ recipe = slapos.recipe.template
url = ${test-ajaxplorer-js-template:location}/${test-ajaxplorer-js-template:filename}
content-url = https://[$${davstorage:ip}]:$${davstorage:port_ajax}/
mode = 0644
#md5sum = 5ea198171b5fe139e83969f684005aae
md5sum = a6a98bf3c9fcb6c330dea513d13eb054
output = $${directory:promise-js}/test-boot.js
[ajaxplorer-load-promise]
......
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