-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
When specifying a wrapper cookbook as the template source for prometheus.yml it does not work. This appears to be due to the fact the following block is set to action :nothing-
template node['prometheus']['flags']['config.file'] do
action :nothing
cookbook node['prometheus']['job_config_cookbook_name']
source node['prometheus']['job_config_template_name']
mode '0644'
owner node['prometheus']['user']
group node['prometheus']['group']
variables(
rule_filenames: node['prometheus']['rule_filenames']
)
notifies :reload, 'service[prometheus]'
end
This would seem contrary to supporting external template control. I don't see anywhere in the cookbook that would otherwise call this code block.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels