def __init__(self, dryrun):
"""
The source is proposals_dir and the destination is pillar_dir
"""
self.proposals_dir = "/srv/pillar/ceph/proposals"
self.pillar_dir = "/srv/pillar/ceph"
self.dryrun = dryrun
# Keep yaml human readable/editable
self.friendly_dumper = yaml.SafeDumper
self.friendly_dumper.ignore_aliases = lambda self, data: True
评论列表
文章目录