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:
Dan Bode 2013-08-07 16:38:18 -07:00
parent 8c1b2b26fb
commit 3fb580a4f3
1 changed files with 7 additions and 12 deletions

View File

@ -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}")
}