Modify class parameters, templates and tests for logging options avoiding use of 'debug'
This commit is contained in:
parent
0883495bb3
commit
16a544c083
@ -1,5 +1,6 @@
|
|||||||
class glance::api(
|
class glance::api(
|
||||||
$verbose = 'false',
|
$log_verbose = 'true',
|
||||||
|
$log_debug = 'true',
|
||||||
$default_store = 'file',
|
$default_store = 'file',
|
||||||
$bind_host = '0.0.0.0',
|
$bind_host = '0.0.0.0',
|
||||||
$bind_port = '9292',
|
$bind_port = '9292',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
class glance::registry(
|
class glance::registry(
|
||||||
$verbose = 'true',
|
$log_verbose = 'true',
|
||||||
$debug = 'true',
|
$log_debug = 'true',
|
||||||
$bind_host = '0.0.0.0',
|
$bind_host = '0.0.0.0',
|
||||||
$bind_port = '9191',
|
$bind_port = '9191',
|
||||||
$log_file = '/var/log/glance/registry.log',
|
$log_file = '/var/log/glance/registry.log',
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
# Show more verbose log output (sets INFO log level output)
|
# Show more verbose log output (sets INFO log level output)
|
||||||
verbose = <%= verbose %>
|
verbose = <%= log_verbose %>
|
||||||
|
|
||||||
# Show debugging output in logs (sets DEBUG log level output)
|
# Show debugging output in logs (sets DEBUG log level output)
|
||||||
debug = False
|
debug = <%= log_debug %>
|
||||||
|
|
||||||
# Which backend store should Glance use by default is not specified
|
# Which backend store should Glance use by default is not specified
|
||||||
# in a request to add a new image to Glance? Default: 'file'
|
# in a request to add a new image to Glance? Default: 'file'
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
# Show more verbose log output (sets INFO log level output)
|
# Show more verbose log output (sets INFO log level output)
|
||||||
verbose = <%= verbose %>
|
verbose = <%= log_verbose %>
|
||||||
|
|
||||||
# Show debugging output in logs (sets DEBUG log level output)
|
# Show debugging output in logs (sets DEBUG log level output)
|
||||||
debug = False
|
debug = <%= log_debug %>
|
||||||
|
|
||||||
# Address to bind the registry server
|
# Address to bind the registry server
|
||||||
bind_host = 0.0.0.0
|
bind_host = 0.0.0.0
|
||||||
|
@ -1 +1,4 @@
|
|||||||
class { 'glance::api': }
|
class { 'glance::api':
|
||||||
|
log_debug => 'true',
|
||||||
|
log_verbose => 'true',
|
||||||
|
}
|
||||||
|
@ -1 +1,4 @@
|
|||||||
class { 'glance::registry': }
|
class { 'glance::registry':
|
||||||
|
log_debug =>'true',
|
||||||
|
log_verbose => 'true',
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user