aboutsummaryrefslogtreecommitdiff
path: root/convertsecrets
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-25 22:12:38 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-25 22:12:38 +0100
commit6d6e48c8fa7f4f38a5b812389d269c025a977790 (patch)
tree885bc84d852c0504ecbdf6e2179d3b4ff7d4025c /convertsecrets
parent8d0a7a806da952adccca51b0a806a4c28732ea90 (diff)
downloadnixcfg-6d6e48c8fa7f4f38a5b812389d269c025a977790.tar.gz
nixcfg-6d6e48c8fa7f4f38a5b812389d269c025a977790.zip
Improve secretmgr more, update secrets for staging
Diffstat (limited to 'convertsecrets')
-rwxr-xr-xconvertsecrets4
1 files changed, 3 insertions, 1 deletions
diff --git a/convertsecrets b/convertsecrets
index e8e54f4..b93f8c6 100755
--- a/convertsecrets
+++ b/convertsecrets
@@ -196,7 +196,9 @@ def convert_secrets(module_list):
elif type(v) == str:
file.write("{} = {}\n".format(k, repr(v)))
else:
- print("invalid value: ", v)
+ print("warning: invalid value: ", v)
+ print("secret to fix: ", k)
+ file.write("{} = {}\n".format(k, repr(repr(v))))
file.write("\n")