Adding Ambari missing versions

With the new validation system, image versions on get_image_arguments()
has to contain all available versions in order to allow cluster creation
and validation with them all.

Story: #2001888
Change-Id: I88c2a553512a797099a4b2fbd9e9d204475e755b
This commit is contained in:
Telles Nobrega 2017-12-12 18:17:51 -03:00 committed by Telles Mota Vidal Nóbrega
parent 32d4c744f7
commit d9c9fe4c67
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ class AmbariPluginProvider(p.ProvisioningPluginBase):
resource_roots=['plugins/ambari/resources/images'])
def get_image_arguments(self, hadoop_version):
if hadoop_version != '2.4':
if hadoop_version not in self.get_versions():
return NotImplemented
return self.validator.get_argument_list()