mirror of
https://github.com/inspec/inspec
synced 2024-12-23 11:33:14 +00:00
224935e9cf
* Created pg_hba_conf resource Signed-off-by: Rony Xavier <rx294@nyu.edu> * Created pg_hba_conf resource Signed-off-by: Rony Xavier <rx294@nyu.edu> * Corrections * updated to parse auth-options Signed-off-by: Aaron Lippold <lippold@gmail.com> * updated `conf_path` instance var to `conf_file` for consistancy. Signed-off-by: Aaron Lippold <lippold@gmail.com> * pg_hba_conf - updated the parse_line method added test and doc files Signed-off-by: Rony Xavier <rx294@nyu.edu> * Updated few bugs on pg_hba_conf updated test files and docs Signed-off-by: Rony Xavier <rx294@nyu.edu> * Updated docs Signed-off-by: Rony Xavier <rx294@nyu.edu> * Made updates based on the reccomendations Signed-off-by: Rony Xavier <rx294@nyu.edu> * PR commit Signed-off-by: Rony Xavier <rx294@nyu.edu> * PR Commit Signed-off-by: Rony Xavier <rx294@nyu.edu> * Update Gemfile.lock * PR Commit Signed-off-by: Rony Xavier <rx294@nyu.edu> * Updated doc file for postgres_hba_conf resource to use 'cmp' matcher instead of 'eq' Signed-off-by: Rony Xavier <rx294@nyu.edu> * Made requested changes, except for SimpleConfig - will address that later. Signed-off-by: Aaron Lippold <lippold@gmail.com>
16 lines
1.1 KiB
Text
16 lines
1.1 KiB
Text
# BEGIN ANSIBLE MANAGED BLOCK
|
|
# TYPE DATABASE USER ADDRESS METHOD
|
|
local all all peer
|
|
# host all all ::1/128 md5
|
|
# host all all 127.0.0.1/32 md5
|
|
host acme_test_db all ::1/0 md5
|
|
host acme_test_db all 127.0.0.1/0 md5
|
|
host acme_test all ::1/0 md5
|
|
host acme_test all 127.0.0.1/0 md5
|
|
# hostssl all all 127.0.0.1/32 cert clientcert=1 map=ssl-test
|
|
# hostssl all all ::1/128 cert clientcert=1 map=ssl-test
|
|
hostssl acme_test_db all ::/0 cert clientcert=1 map=ssl-test
|
|
hostssl acme_test_db all 0.0.0.0/0 cert clientcert=1 map=ssl-test
|
|
hostssl acme_test all ::/0 cert clientcert=1 map=ssl-test
|
|
hostssl acme_test all 0.0.0.0/0 cert clientcert=1 map=ssl-test
|
|
# END ANSIBLE MANAGED BLOCK
|