Modify the apt key URL.

This commit is contained in:
Kazuhiro MUSASHI 2019-09-15 22:13:15 +08:00
parent 762c94142f
commit 752a76a065
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ remote_file '/etc/apt/sources.list.d/grafana.list' do
end end
# Load APT key: # Load APT key:
execute 'curl https://packagecloud.io/gpg.key | apt-key add -' do execute 'curl https://packages.grafana.com/gpg.key | apt-key add -' do
not_if 'apt-key list | grep packagecloud' not_if 'apt-key list | grep grafana'
end end
execute 'apt update' execute 'apt update'