20 lines
517 B
Ruby
20 lines
517 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'
|
|
end
|
|
|
|
# Install the node_exporter here:
|
|
include_recipe './node_exporter_install.rb'
|
|
include_recipe './node_exporter_setup.rb'
|
|
|
|
include_recipe './exporter_proxy.rb'
|