update log_debug,log_verbose to debug,verbose

This commit is contained in:
Dan Bode 2012-10-14 00:26:29 -07:00
parent c8d3bb485b
commit 4bb5b6af8d
2 changed files with 17 additions and 17 deletions

View File

@ -52,8 +52,8 @@ class openstack::glance (
# Install and configure glance-api
class { 'glance::api':
log_verbose => $verbose,
log_debug => $verbose,
verbose => $verbose,
debug => $verbose,
auth_type => 'keystone',
auth_port => '35357',
auth_uri => $auth_uri,
@ -67,8 +67,8 @@ class openstack::glance (
# Install and configure glance-registry
class { 'glance::registry':
log_verbose => $verbose,
log_debug => $verbose,
verbose => $verbose,
debug => $verbose,
auth_host => $keystone_host,
auth_port => '35357',
auth_type => 'keystone',

View File

@ -66,8 +66,8 @@ describe 'openstack::controller' do
should contain_class('keystone').with(
:admin_token => 'keystone_admin_token',
:bind_host => '0.0.0.0',
:log_verbose => false,
:log_debug => false,
:verbose => false,
:debug => false,
:catalog_type => 'sql',
:enabled => true
)
@ -98,8 +98,8 @@ describe 'openstack::controller' do
#:before => 'Class[nova::api]'
)
should contain_class('glance::api').with(
:log_verbose => false,
:log_debug => false,
:verbose => false,
:debug => false,
:auth_type => 'keystone',
:auth_host => '127.0.0.1',
:auth_port => '35357',
@ -111,8 +111,8 @@ describe 'openstack::controller' do
should contain_class('glance::backend::file')
should contain_class('glance::registry').with(
:log_verbose => false,
:log_debug => false,
:verbose => false,
:debug => false,
:auth_type => 'keystone',
:auth_host => '127.0.0.1',
:auth_port => '35357',
@ -200,9 +200,9 @@ describe 'openstack::controller' do
it 'should override keystone config' do
should contain_class('keystone').with(
:log_verbose => true,
:log_debug => true,
:admin_token => 'foo'
:verbose => true,
:debug => true,
:admin_token => 'foo'
)
should contain_class('keystone::config::mysql').with(
:password => 'pass'
@ -225,14 +225,14 @@ describe 'openstack::controller' do
end
it 'should override glance config' do
should contain_class('glance::api').with(
:log_verbose => true,
:log_debug => true,
:verbose => true,
:debug => true,
:keystone_password => 'pass6',
:enabled => true
)
should contain_class('glance::registry').with(
:log_verbose => true,
:log_debug => true,
:verbose => true,
:debug => true,
:keystone_password => 'pass6',
:sql_connection => "mysql://glance:pass2@127.0.0.1/glance",
:enabled => true