From fabe362934fabe3280d84624194ba67f5aa00761 Mon Sep 17 00:00:00 2001 From: Micah Anderson <micah@riseup.net> Date: Mon, 27 Jun 2016 17:48:33 -0400 Subject: [PATCH] If the api keys are empty, use trocla to fill it --- manifests/params.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 481730b..e908490 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -6,8 +6,8 @@ class up1::params { $default_group = 'up1' $default_path = '/srv/up1' $systemd_template = 'up1/systemd.erb' - $app_api_key = '' - $app_delete_key = '' + $app_api_key = trocla("${::hostname}_up1_api_key") + $app_delete_key = trocla("${::hostname}_up1_delete_key") $app_max_file_size = '50000000' $app_email = '' $app_http_port = '1337' -- GitLab