Permalink
Browse files

switch log_verbose,log_debug to debug,verbose

  • Loading branch information...
Dan Bode
Dan Bode committed Oct 14, 2012
1 parent c1a5a1e commit 4cd8cf36a3a29255a57f53a91fb9e0c57777cca8
Showing with 30 additions and 30 deletions.
  1. +12 −12 examples/single.pp
  2. +8 −8 manifests/api.pp
  3. +4 −4 manifests/registry.pp
  4. +2 −2 spec/classes/glance_registry_spec.rb
  5. +2 −2 tests/api.pp
  6. +2 −2 tests/registry.pp
View
@@ -12,8 +12,8 @@
node glance_keystone {
class { 'keystone::config::sqlite': }
class { 'keystone':
- log_verbose => true,
- log_debug => true,
+ verbose => true,
+ debug => true,
catalog_type => 'sql',
}
class { 'keystone::roles::admin': }
@@ -24,8 +24,8 @@
node glance_keystone_mysql {
class { 'mysql::server': }
class { 'keystone':
- log_verbose => true,
- log_debug => true,
+ verbose => true,
+ debug => true,
catalog_type => 'sql',
}
class { 'keystone::db::mysql':
@@ -46,8 +46,8 @@
class role_glance_sqlite {
class { 'glance::api':
- log_verbose => 'True',
- log_debug => 'True',
+ verbose => 'True',
+ debug => 'True',
auth_type => 'keystone',
keystone_tenant => 'services',
keystone_user => 'glance',
@@ -56,8 +56,8 @@
class { 'glance::backend::file': }
class { 'glance::registry':
- log_verbose => 'True',
- log_debug => 'True',
+ verbose => 'True',
+ debug => 'True',
auth_type => 'keystone',
keystone_tenant => 'services',
keystone_user => 'glance',
@@ -69,8 +69,8 @@
class role_glance_mysql {
class { 'glance::api':
- log_verbose => 'True',
- log_debug => 'True',
+ verbose => 'True',
+ debug => 'True',
auth_type => 'keystone',
keystone_tenant => 'services',
keystone_user => 'glance',
@@ -88,8 +88,8 @@
}
class { 'glance::registry':
- log_verbose => 'True',
- log_debug => 'True',
+ verbose => 'True',
+ debug => 'True',
auth_type => 'keystone',
keystone_tenant => 'services',
keystone_user => 'glance',
View
@@ -2,10 +2,10 @@
#
# == Paremeters:
#
-# $log_verbose - rather to log the glance api service at verbose level.
+# $verbose - rather to log the glance api service at verbose level.
# Optional. Default: false
#
-# $log_debug - rather to log the glance api service at debug level.
+# $debug - rather to log the glance api service at debug level.
# Optional. Default: false
#
# $default_store - Backend used to store glance dist images.
@@ -28,8 +28,8 @@
#
#
class glance::api(
- $log_verbose = 'False',
- $log_debug = 'False',
+ $verbose = 'False',
+ $debug = 'False',
$bind_host = '0.0.0.0',
$bind_port = '9292',
$backlog = '4096',
@@ -87,8 +87,8 @@
# basic service config
glance_api_config {
- 'DEFAULT/verbose': value => $log_verbose;
- 'DEFAULT/debug': value => $log_debug;
+ 'DEFAULT/verbose': value => $verbose;
+ 'DEFAULT/debug': value => $debug;
'DEFAULT/bind_host': value => $bind_host;
'DEFAULT/bind_port': value => $bind_port;
'DEFAULT/backlog': value => $backlog;
@@ -97,8 +97,8 @@
}
glance_cache_config {
- 'DEFAULT/verbose': value => $log_verbose;
- 'DEFAULT/debug': value => $log_debug;
+ 'DEFAULT/verbose': value => $verbose;
+ 'DEFAULT/debug': value => $debug;
}
# configure api service to connect registry service
View
@@ -1,6 +1,6 @@
class glance::registry(
- $log_verbose = 'False',
- $log_debug = 'False',
+ $verbose = 'False',
+ $debug = 'False',
$bind_host = '0.0.0.0',
$bind_port = '9191',
$log_file = '/var/log/glance/registry.log',
@@ -47,8 +47,8 @@
# basic service config
glance_registry_config {
- 'DEFAULT/verbose': value => $log_verbose;
- 'DEFAULT/debug': value => $log_debug;
+ 'DEFAULT/verbose': value => $verbose;
+ 'DEFAULT/debug': value => $debug;
'DEFAULT/bind_host': value => $bind_host;
'DEFAULT/bind_port': value => $bind_port;
}
@@ -10,8 +10,8 @@
let :default_params do
{
- :log_verbose => 'False',
- :log_debug => 'False',
+ :verbose => 'False',
+ :debug => 'False',
:bind_host => '0.0.0.0',
:bind_port => '9191',
:log_file => '/var/log/glance/registry.log',
View
@@ -1,4 +1,4 @@
class { 'glance::api':
- log_debug => 'true',
- log_verbose => 'true',
+ debug => 'true',
+ verbose => 'true',
}
View
@@ -1,4 +1,4 @@
class { 'glance::registry':
- log_debug =>'true',
- log_verbose => 'true',
+ debug =>'true',
+ verbose => 'true',
}

0 comments on commit 4cd8cf3

Please sign in to comment.