% for custom_rule in sorted(node.metadata.get('postgresql/custom_rules', [])): ${custom_rule} % endfor local all postgres peer local all all peer host all all 127.0.0.1/32 md5 host all all ::1/128 md5 host all all all md5