bundles/simple-icinga-dashboard: only resolve faults when rendering the template, not earlier
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
36bd6f5755
commit
9618e388c3
2 changed files with 5 additions and 4 deletions
4
bundles/simple-icinga-dashboard/files/config.toml
Normal file
4
bundles/simple-icinga-dashboard/files/config.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<%
|
||||||
|
from tomlkit import dumps as toml_dumps
|
||||||
|
from bundlewrap.utils.text import toml_clean
|
||||||
|
%>${toml_clean(toml_dumps(repo.libs.toml.dict_to_toml(node.metadata['simple-icinga-dashboard'])))}
|
|
@ -1,6 +1,3 @@
|
||||||
from tomlkit import dumps as toml_dumps
|
|
||||||
|
|
||||||
from bundlewrap.utils.text import toml_clean
|
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
'icinga_dashboard': {
|
'icinga_dashboard': {
|
||||||
|
@ -24,7 +21,7 @@ git_deploy = {
|
||||||
|
|
||||||
files = {
|
files = {
|
||||||
'/opt/simple-icinga-dashboard/src/config.toml': {
|
'/opt/simple-icinga-dashboard/src/config.toml': {
|
||||||
'content': toml_clean(toml_dumps(repo.libs.toml.dict_to_toml(node.metadata['simple-icinga-dashboard']))),
|
'content_type': 'mako',
|
||||||
'needs': {
|
'needs': {
|
||||||
'git_deploy:/opt/simple-icinga-dashboard/src',
|
'git_deploy:/opt/simple-icinga-dashboard/src',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue