#NEWLINE# @ classmethod #NEWLINE# def get_installer( cls , name , adapter_info , cluster_info , hosts_info ) : #NEWLINE# #INDENT# if ( name is None ) : #NEWLINE# #INDENT# logging . info ( 'Installer name is None! No OS installer loaded!' ) #NEWLINE# return None #NEWLINE# #UNINDENT# path = os . path . join ( installer . INSTALLER_BASE_DIR , name ) #NEWLINE# installer = super ( OSInstaller , cls ) . get_installer ( name , path , adapter_info , cluster_info , hosts_info ) #NEWLINE# if ( not isinstance ( installer , OSInstaller ) ) : #NEWLINE# #INDENT# logging . info ( ( "Installer '%s' is not an OS installer!" % name ) ) #NEWLINE# return None #NEWLINE# #UNINDENT# return installer