Merge pull request #56 from gdhbashton/bugfix/oldsource
Little fix for #52
This commit is contained in:
Коммит
4077bf4887
|
@ -25,7 +25,10 @@ define consul_template::watch (
|
|||
$frag_name = "${name}.ctmpl"
|
||||
$source_name = "${consul_template::config_dir}/${name}.ctmpl"
|
||||
}
|
||||
if $source != undef {
|
||||
if $source -= undef {
|
||||
$frag_name = $name
|
||||
$source_name = $name
|
||||
} else {
|
||||
$frag_name = $source
|
||||
$source_name = $source
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче