摘要:
file.managed模块的使用示例: 1.在/etc/salt/master中编辑 file_roots: base: - /srv/salt dev: - /srv/salt/dev test: - /srv/salt/test prod: - /srv/salt/prod 2.在/srv/s 阅读全文
摘要:
def match(pattern, string, flags=0): """Try to apply the pattern at the start of the string, returning a match object, or None if no match was found." 阅读全文