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:
committed by
Daniele Sluijters
parent
cc87e54cea
commit
e71f30ab50
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user