Skip to content

Commit

Permalink
Merge pull request #539 from puppetlabs/CONT-560-Fix_facter_typos
Browse files Browse the repository at this point in the history
(CONT-560) Fix facter typos after syntax update
  • Loading branch information
chelnak committed Feb 14, 2023
2 parents 835cc3d + f4b165f commit 61bacf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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") }
}
}

Expand Down

0 comments on commit 61bacf2

Please sign in to comment.