commit | 36c2e284952193af1dd8101de649811722ffd291 | [log] [tgz] |
---|---|---|
author | Matthew Treinish <mtreinish@kortar.org> | Tue Aug 25 00:30:15 2015 -0400 |
committer | Matthew Treinish <mtreinish@kortar.org> | Tue Sep 08 22:31:49 2015 -0400 |
tree | 611da55cceb8b0f02b7186bf15760874c496be04 | |
parent | e74590cb6250f1bdc22352f823f436b3a7d8977b [diff] |
Only add roles for enabled services If a the tempest account generator script takes a role from a service that's disabled in configuration then we shouldn't expect the roles to exist. This commit addresses this by checking the if the service is enabled before attempting to add the roles. Change-Id: Ic797fbc05d58e7f5af323ad7741546ced97754d2