#NEWLINE# @ staticmethod #NEWLINE# def _create_script_obj( filename , template , **kwargs ) : #NEWLINE# #INDENT# script = cf . TemplateFile ( filename ) #NEWLINE# script . remote_path = '/tmp/' #NEWLINE# script . parse ( f . get_file_text ( ( 'plugins/mapr/services/mysql/resources/%s' % template ) ) ) #NEWLINE# for ( k , v ) in six . iteritems ( kwargs ) : #NEWLINE# #INDENT# script . add_property ( k , filename ) #NEWLINE# #UNINDENT# return script