X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/68e068818d559ef35bdf2a138a93596337828ef9..97aac1724da5fd406b0be6c892f43a94e846e9b8:/cookbooks/apt/recipes/grafana.rb diff --git a/cookbooks/apt/recipes/grafana.rb b/cookbooks/apt/recipes/grafana.rb index 5738c23d4..ef6531c1f 100644 --- a/cookbooks/apt/recipes/grafana.rb +++ b/cookbooks/apt/recipes/grafana.rb @@ -19,9 +19,15 @@ include_recipe "apt" +remote_file "/etc/apt/trusted.gpg.d/grafana.asc" do + source "https://packages.grafana.com/gpg.key" + owner "root" + group "root" + mode "644" +end + apt_repository "grafana" do uri "https://packages.grafana.com/enterprise/deb" distribution "stable" components ["main"] - key "https://packages.grafana.com/gpg.key" end