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:
parent
8c1b2b26fb
commit
3fb580a4f3
@ -18,18 +18,6 @@ node glance_keystone_mysql {
|
|||||||
email => 'test@puppetlabs.com',
|
email => 'test@puppetlabs.com',
|
||||||
password => 'ChangeMe',
|
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':
|
class { 'glance::api':
|
||||||
verbose => true,
|
verbose => true,
|
||||||
debug => true,
|
debug => true,
|
||||||
@ -59,4 +47,11 @@ class role_glance_mysql {
|
|||||||
keystone_password => 'glance_password',
|
keystone_password => 'glance_password',
|
||||||
sql_connection => 'mysql://glance:glance@127.0.0.1/glance',
|
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}")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user