Add parameters for verbose and debug logging
This commit is contained in:
parent
fdd8ce6ee4
commit
d3302a41eb
@ -18,6 +18,8 @@
|
||||
class kickstack (
|
||||
$fact_prefix = $kickstack::params::fact_prefix,
|
||||
$fact_filename = $kickstack::params::fact_filename,
|
||||
$verbose = $kickstack::params::verbose,
|
||||
$debug = $kickstack::params::debug,
|
||||
$database = $kickstack::params::database,
|
||||
$rpc = $kickstack::params::rpc,
|
||||
$rabbit_user = $kickstack::params::rabbit_user,
|
||||
|
@ -12,6 +12,12 @@ class kickstack::params {
|
||||
# * override by setting "kickstack_fact_category"
|
||||
$fact_category = pick(getvar("::${variable_prefix}fact_category"), "kickstack")
|
||||
|
||||
# Enables verbose logging globally
|
||||
$verbose = str2bool(pick(getvar("::${variable_prefix}verbose"), 'false'))
|
||||
|
||||
# Enables debug logging globally
|
||||
$debug = str2bool(pick(getvar("::${variable_prefix}debug"), 'false'))
|
||||
|
||||
# The database backend type:
|
||||
# * default "mysql"
|
||||
# * override by setting "kickstack_database"
|
||||
|
Loading…
x
Reference in New Issue
Block a user