Skip to content

Commit 2330f06

Browse files
committed
chore: add gpg cookbook dependency
Signed-off-by: Dan Webb <[email protected]>
1 parent 754b47d commit 2330f06

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libraries/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def default_yum_gpg_key_uri
152152
if platform_family?('rhel')
153153
rhel_version = node['platform_version'].to_i
154154
arch = node['kernel']['machine']
155-
155+
156156
if rhel_version == 7
157157
arch == 'aarch64' ? 'https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-AARCH64-RHEL7' : 'https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL7'
158158
elsif arch == 'aarch64'

metadata.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
chef_version '>= 18.0'
1010

1111
depends 'yum', '>= 7.2'
12+
depends 'gpg'
1213

1314
gem 'deepsort', '~> 0.5.0'
1415
gem 'inifile', '~> 3.0'

0 commit comments

Comments
 (0)