Skip to content

Commit a2d8b22

Browse files
author
jtimberman
committed
COOK-2183, make yum key separate
1 parent 1c867c3 commit a2d8b22

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

recipes/repo.rb

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@
2020
when "rhel","fedora"
2121
include_recipe "yum"
2222

23+
yum_key "nginx" do
24+
url 'http://nginx.org/keys/nginx_signing.key'
25+
action :add
26+
end
27+
2328
yum_repository "nginx" do
2429
description "Nginx.org Repository"
2530
url node['nginx']['upstream_repository']
26-
key 'http://nginx.org/keys/nginx_signing.key'
2731
end
2832
when "debian"
2933
include_recipe "apt"

0 commit comments

Comments
 (0)