]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/recipes/grafana.rb
remove draco
[chef.git] / cookbooks / apt / recipes / grafana.rb
index 5738c23d495b8d1d7f3590611681b54366a3562a..ef6531c1f669213e5c7f4d7babe37df1f7eda644 100644 (file)
 
 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