From 752a76a06509b39b724e911da5cd7791438ea664 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 15 Sep 2019 22:13:15 +0800 Subject: [PATCH] Modify the apt key URL. --- cookbooks/grafana/install.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/grafana/install.rb b/cookbooks/grafana/install.rb index a7a4993..91eb4a9 100644 --- a/cookbooks/grafana/install.rb +++ b/cookbooks/grafana/install.rb @@ -6,8 +6,8 @@ remote_file '/etc/apt/sources.list.d/grafana.list' do end # Load APT key: -execute 'curl https://packagecloud.io/gpg.key | apt-key add -' do - not_if 'apt-key list | grep packagecloud' +execute 'curl https://packages.grafana.com/gpg.key | apt-key add -' do + not_if 'apt-key list | grep grafana' end execute 'apt update'