Exemple #1
0
def _rule(ruleset_name):
    ruleset = rulesets.Ruleset(
        ruleset_name, ruleset_matcher.get_tag_to_group_map(config.tags))
    return rulesets.Rule(hosts_and_folders.Folder.root_folder(), ruleset)
Exemple #2
0
def _rule(ruleset_name):
    ruleset = rulesets.Ruleset(ruleset_name)
    return rulesets.Rule(hosts_and_folders.Folder.root_folder(), ruleset)