Georg Pfuetzenreuter
0efd688151
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
This is an attempt to remove the need for the custom nbroles module. If it works out, the localhost reference should be replaced with a global roles API endpoint. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
5 lines
270 B
Bash
Executable File
5 lines
270 B
Bash
Executable File
#!/usr/bin/env sh
|
|
# This rewrites top-files to fetch roles from grains instead of our custom roles API. Useful for testing outside of the LibertaCasa infrastructure, but not recommended for production.
|
|
|
|
sed -i "s/salt\['http.query'\].*/grains\['roles'\] -%}/" */top.sls
|