New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option in postgres_session
resource to establish socket connection
#5664
Conversation
…gres Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
✔️ Deploy Preview for chef-inspec ready! 🔨 Explore the source changes: a49181b 🔍 Inspect the deploy log: https://app.netlify.com/sites/chef-inspec/deploys/615191ac6fff620007edbfae 😎 Browse the preview: https://deploy-preview-5664--chef-inspec.netlify.app/inspec/resources/postgres_session |
where `its('output') { should eq '' }` compares the results of the query against the expected result in the test | ||
where | ||
- `its('output') { should eq '' }` compares the results of the query against the expected result in the test | ||
- `socketpath` is an optional parameter. It can be used to establish socket connection with postgres by specifying one of the postgres unix domain sockets path. Only supported for unix based platforms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `socketpath` is an optional parameter. It can be used to establish socket connection with postgres by specifying one of the postgres unix domain sockets path. Only supported for unix based platforms. | |
- `socketpath` is an optional parameter. Use `socketpath` to establish a socket connection with Postgres by specifying one of the Postgres Unix domain socket paths. Only supported on Unix-based platforms. |
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Signed-off-by: Nikita Mathur nikita.mathur@chef.io
Add option in
postgres_session
resource to establish socket connectionDescription
socket_path
is added inpostgres_session
resource to establish socket based connection. Only works for unix based platforms.Related Issue
Closes #5652
Types of changes
Checklist: