Modify class parameters, templates and tests for logging options avoiding use of 'debug'

This commit is contained in:
Adam Gandelman 2011-06-21 12:19:20 -07:00
parent 0883495bb3
commit 16a544c083
6 changed files with 16 additions and 9 deletions

View File

@ -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',

View File

@ -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',

View 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 %>
# 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'

View 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

View File

@ -1 +1,4 @@
class { 'glance::api': } class { 'glance::api':
log_debug => 'true',
log_verbose => 'true',
}

View File

@ -1 +1,4 @@
class { 'glance::registry': } class { 'glance::registry':
log_debug =>'true',
log_verbose => 'true',
}