X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/516a313b3c61eef1de357565028f095da414a756..a5c9ec592d1d7f941ae2edb3d90ca06237261d8b:/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb diff --git a/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb b/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb index e6c17f8a9..bcedc6748 100755 --- a/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb +++ b/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb @@ -4,7 +4,7 @@ set -e NUM_TOKENS=4 # current + 4 VALID_TOKEN=3600 # in seconds -QOS_TOKENS=($(/usr/bin/oathtool --totp --window=${NUM_TOKENS} --time-step-size=${VALID_TOKEN}s <%= web_passwords[:totp_key] %>)) +QOS_TOKENS=($(/usr/bin/oathtool --totp --window=${NUM_TOKENS} --time-step-size=${VALID_TOKEN}s <%= @totp_key %>)) # ${qos_tokens[3]/[-1] } = OSM.org exclusive / current # ${qos_tokens[2]/[-2] } = tile.openstreetmap.org default