X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/68e068818d559ef35bdf2a138a93596337828ef9..18db4c72edea0d2cd4df5b7d7d9011df618d0ff9:/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