Add flag to enable or disable the query page

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.
This commit is contained in:
Spencer Krum
2013-08-29 12:10:51 -07:00
committed by Daniele Sluijters
parent cc87e54cea
commit e71f30ab50
3 changed files with 26 additions and 6 deletions

View File

@@ -7,4 +7,5 @@ PUPPETDB_TIMEOUT=20
PUPPETDB_API=3
DEV_LISTEN_HOST='127.0.0.1'
DEV_LISTEN_PORT=5000
ENABLE_QUERY=True
LOGLEVEL='info'