This uses Homer to provide a centralized home page for LMA stack
- ops ›
Homer1 is static web server and provides one stop shop UI, allows you to place all applications and services in a single place. The application is registered to Homer dashboard via application-dashboard relation.
This Homer-dashboard charm is to deploy Homer and provide config option to add sites
To register a charm to Homer dashboard, the charm must implment application-dashboard relation.
Create and activate a virtualenv with the development requirements:
virtualenv -p python3 venv source venv/bin/activate pip install -r requirements-dev.txt charmcraft pack wget https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip juju deploy ./homer-dashboard.charm --resource homer=./homer.zip
The Python operator framework includes a very nice harness for testing
operator behaviour without full deployment. Just
- (string) YAML set of lines. Each item in the list adds a site to Homer Specify name, url and group that are pipe delimited in this option to add a site. For example: '["MAAS|http://220.127.116.11:5240|Others"]'
- (string) Dashboard subtitle
- (string) Dashboard title
- Application Dashboard