summaryrefslogtreecommitdiff
path: root/config/defaults.yml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-10-18 09:50:37 +0200
committerAzul <azul@leap.se>2013-10-18 09:53:41 +0200
commit1384f6c43dde6a19f270416e34e39130a3d0a53d (patch)
tree424526c0fdebe43209fdf65adcde549bb5cd3e0d /config/defaults.yml
parent221532448ba4c435427ad2b5b3eca729b352c354 (diff)
Make download links configurable
This way we won't have to redeploy once the new links to the windows and the android version are there. Also this obviously offers more flexibility for providers.
Diffstat (limited to 'config/defaults.yml')
-rw-r--r--config/defaults.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/defaults.yml b/config/defaults.yml
index 66ec639..6211e37 100644
--- a/config/defaults.yml
+++ b/config/defaults.yml
@@ -13,6 +13,23 @@ cert_options: &cert_options
limited_cert_prefix: "LIMITED"
unlimited_cert_prefix: "UNLIMITED"
+downloads: &downloads
+ client_download_domain: https://downloads.leap.se
+ available_clients:
+ - linux32
+ - linux64
+ - mac
+ - windows
+ - android
+ download_paths:
+ android: /client/android
+ linux: /client/linux
+ linux32: /client/linux/Bitmask-linux32-latest.tar.bz2
+ linux64: /client/linux/Bitmask-linux64-latest.tar.bz2
+ osx: /client/osx/Bitmask-OSC-latest.dmg
+ windows: /client/windows
+ other: /client
+
common: &common
force_ssl: false
pagination_size: 30
@@ -24,7 +41,9 @@ common: &common
# handles that will be allowed despite being in /etc/passwd or rfc2142
handle_whitelist: []
+
development:
+ <<: *downloads
<<: *dev_ca
<<: *cert_options
<<: *common
@@ -34,6 +53,7 @@ development:
payment: []
test:
+ <<: *downloads
<<: *dev_ca
<<: *cert_options
<<: *common
@@ -43,6 +63,7 @@ test:
payment: [billing]
production:
+ <<: *downloads
<<: *cert_options
<<: *common
admins: []