#NEWLINE# def _get_minor_version( ) : #NEWLINE# #INDENT# version = 6 #NEWLINE# cmd = 'gluster --version' #NEWLINE# result = __salt__ [ 'cmd.run' ] ( cmd ) . splitlines ( ) #NEWLINE# for line in cmd : #NEWLINE# #INDENT# if line . startswith ( 'glusterfs' ) : #NEWLINE# #INDENT# version = int ( line . split ( ) [ 1 ] . split ( '.' ) [ 1 ] ) #NEWLINE# #UNINDENT# #UNINDENT# return version