6
6
from Cheetah.Template import Template
9
15
def install_ini(mongo_url):
10
16
t = Template(file='templates/ini.tmpl')
12
18
file('/home/ubuntu/juju-reports/production.ini', 'w').write(str(t))
15
22
subprocess.check_call(['scripts/stop'])
16
23
subprocess.check_call(['scripts/run'])