bundlewrap/bundles/simple-icinga-dashboard/items.py
2021-04-10 16:33:32 +02:00

38 lines
850 B
Python

users = {
'icinga_dashboard': {
'home': '/opt/simple-icinga-dashboard',
},
}
directories = {
'/opt/simple-icinga-dashboard/out': {
'owner': 'icinga_dashboard',
},
'/opt/simple-icinga-dashboard/src': {},
}
git_deploy = {
'/opt/simple-icinga-dashboard/src': {
'repo': 'https://git.kunsmann.eu/sophie/simple-icinga-dashboard.git',
'rev': 'main',
},
}
files = {
'/opt/simple-icinga-dashboard/src/config.toml': {
'content_type': 'mako',
'needs': {
'git_deploy:/opt/simple-icinga-dashboard/src',
},
},
}
symlinks = {
'/opt/simple-icinga-dashboard/out/bootstrap.min.css': {
'target': '/opt/simple-icinga-dashboard/src/bootstrap.min.css',
'needs': {
'git_deploy:/opt/simple-icinga-dashboard/src',
},
},
}