Skip to content

Commit

Permalink
Change default alerts to empty hash
Browse files Browse the repository at this point in the history
This should fix `promtool` parsing problems for prometheus 2.* and empty alert files. Behaviour for 1.* should remain unchanged.

Fixes voxpupuli#143
  • Loading branch information
costela authored Jan 31, 2018
1 parent 6318eaf commit e5b15e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$alertmanager_templates = [ "${alertmanager_config_dir}/*.tmpl" ]
$alertmanager_user = 'alertmanager'
$alertmanager_version = '0.5.1'
$alerts = []
$alerts = {}
$bin_dir = '/usr/local/bin'
$config_dir = '/etc/prometheus'
$config_mode = '0660'
Expand Down

0 comments on commit e5b15e2

Please sign in to comment.