puppet-puppetboard icon indicating copy to clipboard operation
puppet-puppetboard copied to clipboard

Add graph_facts variable to enable graphing (pie/bar) of Puppet facts

Open bschonec opened this issue 2 years ago • 0 comments

Pull Request (PR) description

The extra_settings is somewhat cumbersome to use for GRAPH_FACTS in the settings.py file because it necessitates escaping the single quote character around the facts to be graphed. This PR adds the graph_facts variable as an array, sorts and unique-ifies the array and wraps the result in a set of single quotes:

GRAPH_FACTS = 'kernel,operatingsystem,operatingsystemmajrelease'

bschonec avatar Dec 29 '22 17:12 bschonec