def start_master(self):
        cmd = 'salt-master -c {0} --pid-file {1}'.format(
                self.conf,
                '{0}.pid'.format(self.conf)
                )
        if self.opts['foreground']:
            cmd += ' -l debug &'
        else:
            cmd += ' -d &'
        subprocess.call(cmd, shell=True)
Test BaseModel.MemcacheWrappedDelete() when entity supplied.
dataset/ETHPy150Open saltstack/salt/tests/minionswarm.py/MasterSwarm.start_master--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/mac/models/base_test.py/ModelsModuleTest.testMemcacheWrappedDeleteWhenEntity