Skip to content

Commit

Permalink
Re-instate, using the new modulesd defined type, the version specific…
Browse files Browse the repository at this point in the history
… template selection
  • Loading branch information
skrussell committed Feb 25, 2021
1 parent 30313ad commit fd7d488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/modulesd.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
){
# Use the default template as the source if non specified
if ! $source and ! $content {
$default_source = "puppet:///modules/metricbeat/${template_name}.yml"
$default_source = ["puppet:///modules/metricbeat/v${metricbeat::major_version}/${template_name}.yml","puppet:///modules/metricbeat/${template_name}.yml"]
} elsif $source {
$default_source = $source
}
Expand Down

0 comments on commit fd7d488

Please sign in to comment.