X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1cac4eb8d40ccb2d534f030c3329a456e03404bd..87f64c5bb4a347382e1886130c538ec76bc44731:/cookbooks/prometheus/resources/exporter.rb diff --git a/cookbooks/prometheus/resources/exporter.rb b/cookbooks/prometheus/resources/exporter.rb index 08c0e03b7..8dd928846 100644 --- a/cookbooks/prometheus/resources/exporter.rb +++ b/cookbooks/prometheus/resources/exporter.rb @@ -22,6 +22,7 @@ default_action :create property :exporter, :kind_of => String, :name_property => true property :port, :kind_of => Integer, :required => [:create] property :listen_switch, :kind_of => String, :default => "web.listen-address" +property :exporter_options, :kind_of => [String, Array] property :package, :kind_of => String property :package_options, :kind_of => String property :defaults, :kind_of => String @@ -33,6 +34,7 @@ action :create do end template defaults_name do + cookbook "prometheus" source "defaults.erb" owner "root" group "root"