From f4b165f33f2f7de6d3863e8339e2efdac62c6e09 Mon Sep 17 00:00:00 2001 From: Lukas Audzevicius Date: Tue, 14 Feb 2023 17:07:59 +0000 Subject: [PATCH] (CONT-560) Fix facter typos after syntax update After syntax update (CONT-353), there were a couple of typos made while adjusting facter calls which caused undesired behaviour. This bugfix should fix those and return logging to its original behaviour. --- examples/init.pp | 2 +- manifests/params.pp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/init.pp b/examples/init.pp index 319b6efc..fbda45b8 100644 --- a/examples/init.pp +++ b/examples/init.pp @@ -2,7 +2,7 @@ class { 'haproxy': enable => true, global_options => { - 'log' => "${$facts['networking']['ip']} local0", + 'log' => "${facts['networking']['ip']} local0", 'chroot' => '/var/lib/haproxy', 'pidfile' => '/var/run/haproxy.pid', 'maxconn' => '4000', diff --git a/manifests/params.pp b/manifests/params.pp index 3e4e9e9a..143e0ec1 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -17,7 +17,7 @@ $package_name = 'haproxy' $service_name = 'haproxy' $global_options = { - 'log' => "${$facts['networking']['ip']} local0", + 'log' => "${facts['networking']['ip']} local0", 'chroot' => '/var/lib/haproxy', 'pidfile' => '/var/run/haproxy.pid', 'maxconn' => '4000', @@ -86,7 +86,7 @@ $config_dir_tmpl = '/usr/local/etc/<%= @instance_name %>' $config_file_tmpl = "${config_dir_tmpl}/<%= @instance_name %>.conf" } - default: { fail("The ${$facts['os']['family']} operating system is not supported with the haproxy module") } + default: { fail("The ${facts['os']['family']} operating system is not supported with the haproxy module") } } }