* Don't pass unresponsive to the view, access config[] object instead
* Remove the statistics header, it only takes up space
* Lowercase a few things
* Change the descriptions for 'radiator' to make the math work: Because
of how PuppetDB's aggregate-events-count works nodes with both
successful and failed events count for both causing success + failure
+ unreported to not equal population, which is weird. Now we're simply
stating that they have failed events instead of saying that the node
is succesful/failed.
- the amount of hours is defined as `UNRESPONSIVE_HOURS` in default_settings.py
- small status layout improvement in nodes list
- latest report button in nodes list
- nedap/pypuppetdb repo as requirement ( new api was merged nedap/pypuppetdb#17 )
The following frontend features are implemented
- Number of failures, successes, noops/skips in overview
- Show latest reports with 1 or more events in overview
- Direct links to latest Report
- Number and types of events in nodes list
Currently the graphs are shown at the top of the page and because of
that really take up a lot of screen real estate. This commit makes the
graphs a bit smaller but we really need to rethink the layout here.
Additionally we switch the colors to the FlatUI swatches to match the
rest of the theme better.
Puppetboard is an excelent radiator of information, but sometimes
we want to expose information to users we don't trust giving full
access to the PuppetDB query language.
I would reccomend that Puppetboard be run twice. One, with query
enabled, run on a port behind apache login. Another, with query
disabled, run unproxied for the unwashed masses.
Closes#10.
Recently changes were made to pypuppetdb to support, at a basic level,
the v3 API introduced with PuppetDB 1.5.
This commit changes some internals of Puppetboard to handle the new
situation:
* The experimental endpoints are gone, so is the ExperimentalDisabled
Error;
* v2 API can no longer access Reports/Events so we now check that we're
talking at least v3 API;
* Introduce a configuration setting PUPPETDB_API which takes an integer
repersenting the API version we want to talk.
Added links to the node page from the facts_table if show_nodes is True.
Added links to the facts page from the facts_table if show_nodes is
False.
Added logic to switch TH table from facts to nodes if show_nodes is True.