bootstrap-vz/providers/raw/tasks/fake.py
2013-08-01 08:20:32 +02:00

13 lines
298 B
Python

from base import Task
from common import phases
import os.path
class Fake(Task):
description = 'create fake file'
phase = phases.system_modification
def run(self, info):
fake_path = os.path.join(info.root, 'fake.txt')
with open(fake_path, 'a') as fakefile:
fakefile.write("fake file")