We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using postgres.conf_path in my inspec profiles. If i use it for centos 7.2 i get the following
postgres.conf_path
You are currently running on: OS family: centos OS release: 7.2.1511 inspec > postgres.conf_path => "/var/lib/pgsql/data/postgresql.conf"
The path should be /var/lib/pgsql/9.4/data/postgresql.conf
/var/lib/pgsql/9.4/data/postgresql.conf
This applies also for oracle.
inspec version 0.27.0
I used this centos vm http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.2_chef-provisionerless.box
add a new section for centos and redhat os family in lib/resources/postgres.rb
The text was updated successfully, but these errors were encountered:
7d986c2
Merge pull request #824 from atomic111/master
89aa647
FIX #823 wrong postgres path detection for conf_dir and conf_path
No branches or pull requests
Description
I am using
postgres.conf_path
in my inspec profiles. If i use it for centos 7.2 i get the followingYou are currently running on: OS family: centos OS release: 7.2.1511 inspec > postgres.conf_path => "/var/lib/pgsql/data/postgresql.conf"
The path should be
/var/lib/pgsql/9.4/data/postgresql.conf
This applies also for oracle.
InSpec and Platform Version
inspec version 0.27.0
Replication Case
I used this centos vm http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.2_chef-provisionerless.box
Possible Solutions
add a new section for centos and redhat os family in lib/resources/postgres.rb
The text was updated successfully, but these errors were encountered: