21 lines
568 B
Ruby
21 lines
568 B
Ruby
# Loading the attributes:
|
|
include_recipe './attributes.rb'
|
|
|
|
# Install the Prometheus manager:
|
|
if node['prometheus']['manager']
|
|
include_recipe './prometheus_install.rb'
|
|
include_recipe './prometheus_setup.rb'
|
|
|
|
include_recipe './alertmanager_install.rb'
|
|
include_recipe './alertmanager_setup.rb'
|
|
|
|
include_recipe './alertmanager_webhook_install.rb'
|
|
include_recipe './alertmanager_webhook_setup.rb'
|
|
end
|
|
|
|
# Install the node_exporter here:
|
|
include_recipe './node_exporter_install.rb'
|
|
include_recipe './node_exporter_setup.rb'
|
|
|
|
include_recipe './exporter_proxy.rb'
|