This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"log_file": "/etc/ublue/first-setup.log", | |
"distro_name": "uBlue OS", | |
"distro_logo": "org.vanillaos.FirstSetup", | |
"pre_run": [], | |
"post_run": [], | |
"tour": { | |
"get-involved": { | |
"icon": "system-users-symbolic", | |
"title": "Get Involved", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Setup notes: | |
Git needs to be configured on the machine doing the ingestion. | |
git config --global user.name "Administrator" | |
git config --global user.email "admin@example.com" | |
In Gitlab: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import json | |
service = [ | |
{ | |
'service_name': 'demo', | |
'service_options': ['mode http', 'balance leastconn', 'option httpchk GET / HTTP/1.0'], | |
'server_options': ['maxconn 100'], | |
'servers': [ | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from charms.reactive import when, when_not, set_flag | |
from charmhelpers.core.hookenv import log, config | |
from charms.reactive.flags import register_trigger | |
# Register a trigger so that we can respond to config.changed, even if | |
# it's being cleared by another handler | |
register_trigger(when='config.changed', | |
set_flag='trigger.config') |
OlderNewer