Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #43 from juliandunn/COOK-2435

[COOK-2435] Fix foodcritic errors.
  • Loading branch information...
commit 313b08f9436eff274691230e57a542505a0e4129 2 parents 2316fe8 + 2b9fab9
@jtimberman jtimberman authored
Showing with 4 additions and 2 deletions.
  1. +2 −0  metadata.rb
  2. +2 −2 recipes/yum_pgdg_postgresql.rb
View
2  metadata.rb
@@ -20,4 +20,6 @@
supports el, ">= 6.0"
end
+depends "apt"
+depends "build-essential"
depends "openssl"
View
4 recipes/yum_pgdg_postgresql.rb
@@ -47,13 +47,13 @@
# Download the PGDG repository RPM as a local file
remote_file "#{Chef::Config[:file_cache_path]}/#{repo_rpm_filename}" do
- source "#{repo_rpm_url}"
+ source repo_rpm_url
mode "0644"
end
# Install the PGDG repository RPM from the local file
# E.g., /etc/yum.repos.d/pgdg-91-centos.repo
-package "#{repo_rpm_package}" do
+package repo_rpm_package do
provider Chef::Provider::Package::Rpm
source "#{Chef::Config[:file_cache_path]}/#{repo_rpm_filename}"
action :install
Please sign in to comment.
Something went wrong with that request. Please try again.