#NEWLINE# def start_master( self ) : #NEWLINE# #INDENT# '\n        Do the master start\n        ' #NEWLINE# cmd = 'salt-master -c {0} --pid-file {1}' . format ( self . conf , '{0}.pid' . format ( self . conf ) ) #NEWLINE# if self . opts [ 'foreground' ] : #NEWLINE# #INDENT# cmd += ' -l debug &' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# cmd += ' -d &' #NEWLINE# #UNINDENT# subprocess . call ( cmd , shell = True )