fix baseurl to yum repo as they changed 4/15/19 per postgres
Cookbook version
7.1.4
Chef-client version
14.12.3
Platform Details
Oracle Enterprise Linux 7.6 x86_64
Scenario:
install postgresql 10.5
Steps to Reproduce:
run recipe that tries; postgresql_server_install 'package' do version '10.5' action [:install, :create] end
Expected Result:
successful install
Actual Result:
[What actually happens after the reproduction steps? Include the error output or a link to a gist if possible.] ... [2019-04-22T14:02:20-06:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: postgresql_server_install[package] (postgresql::server_install line 3) had an error: Mixlib::ShellOut::ShellCommandFailed: postgresql_client_install[Install PostgreSQL Client] (/var/chef/cache/cookbooks/postgresql/resources/server_install.rb line 39) had an error: Mixlib::ShellOut::ShellCommandFailed: postgresql_repository[Add downloads.postgresql.org repository] (/var/chef/cache/cookbooks/postgresql/resources/client_install.rb line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: yum_repository[PostgreSQL 10.5] (/var/chef/cache/cookbooks/postgresql/resources/repository.rb line 35) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-pgdg10.5] (/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.12.3/lib/chef/provider/yum_repository.rb line 60) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg10.5 ---- STDOUT: STDERR: https://download.postgresql.org/pub/repos/yum/10.5/redhat/rhel-7Server-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found ...
Hi there!
Thanks for taking the time to submit an issue.
We would happily accept a pull request to resolve this issue. If you need help or guidance on submitting, please don't hesitate to ask!
If you need help, or just wish to talk through issue please join the Chef Community Slack and look for the #sous-chefs channel.
Thanks, Sous-Chefs
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.