def create_sync_src_info_file(self):
"""Touch a file which indicates where this sync file came from
:returns: None
"""
unit_name = hookenv.local_unit().replace('/', '_')
touch_file = '{}/juju-zone-src-{}'.format(ZONE_DIR, unit_name)
open(touch_file, 'w+').close()
评论列表
文章目录