Fix lint failures
This commit fixes the lint failures from the glance module. It's pretty picky about classes being defined anywhere (even in tests) This commit removes the class from the tests so that puppet-lint is happy. Change-Id: I0257479fb450ed2fbb6876fb73fc695e4a1f7c49
This commit is contained in:
@@ -18,18 +18,6 @@ node glance_keystone_mysql {
|
||||
email => 'test@puppetlabs.com',
|
||||
password => 'ChangeMe',
|
||||
}
|
||||
class { 'role_glance_mysql': }
|
||||
class { 'glance::keystone::auth':
|
||||
password => 'glance_pass',
|
||||
}
|
||||
}
|
||||
|
||||
node default {
|
||||
fail("could not find a matching node entry for ${clientcert}")
|
||||
}
|
||||
|
||||
class role_glance_mysql {
|
||||
|
||||
class { 'glance::api':
|
||||
verbose => true,
|
||||
debug => true,
|
||||
@@ -59,4 +47,11 @@ class role_glance_mysql {
|
||||
keystone_password => 'glance_password',
|
||||
sql_connection => 'mysql://glance:glance@127.0.0.1/glance',
|
||||
}
|
||||
class { 'glance::keystone::auth':
|
||||
password => 'glance_pass',
|
||||
}
|
||||
}
|
||||
|
||||
node default {
|
||||
fail("could not find a matching node entry for ${clientcert}")
|
||||
}
|
||||
|
Reference in New Issue
Block a user