Adding configuration option to specify the bar chart

This commit is contained in:
Mike Terzo
2017-01-31 03:00:01 -05:00
parent 1170577525
commit e28eb5027d
4 changed files with 8 additions and 1 deletions

View File

@@ -47,6 +47,8 @@ GRAPH_FACTS = [x.strip() for x in os.getenv('GRAPH_FACTS',
GRAPH_FACTS_DEFAULT).split(',')]
GRAPH_TYPE = os.getenv('GRAPH_TYPE', 'pie')
# Tuples are hard to express as an environment variable, so here
# the tupple can be listed as a list of items
# export INVENTORY_FACTS="Hostname, fqdn, IP Address, ipaddress,.. etc"