diff --git a/manifests/main/files.pp b/manifests/main/files.pp index 8235c4a..a64bd10 100644 --- a/manifests/main/files.pp +++ b/manifests/main/files.pp @@ -42,7 +42,7 @@ class cd_haproxy::main::files ( # create the header concat::fragment { 'header': target => $hy_main_config, - content => $hy_config_head_erb, + content => template($hy_config_head_erb), order => '001', } } diff --git a/manifests/params.pp b/manifests/params.pp index bd5d856..417285f 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -67,7 +67,7 @@ $hy_main_dir = '/etc/haproxy' # files $hy_main_config = "${hy_main_dir}/haproxy.cfg" -$hy_config_head_erb = 'cd_puppet/haproxy_head.erb' +$hy_config_head_erb = 'cd_haproxy/haproxy_head.erb' # includes must be last