X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/68e068818d559ef35bdf2a138a93596337828ef9..794cc957324de66edab45373053be3e601090f1f:/cookbooks/apt/recipes/grafana.rb?ds=sidebyside 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