diff --git a/CHANGELOG.md b/CHANGELOG.md index 07474d2..bf4b68b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,21 @@ Changelog of Git Changelog.
+
+
+
# File 'manifests/main/files.pp', line 23
@@ -172,6 +184,18 @@ class cd_haproxy::main::files (
content => template($hy_config_head_erb),
order => '001',
}
+
+ # pid file
+ file { $hy_pid:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => haproxy_var_run_t,
+ seluser => system_u,
+ }
}
}
the home directory for the haprxy user.
+Where to send the logs for this haproxy. Currently only local logging / +rsyslog forwarding supported.
+which logging facility to use.
+where the chroot should be
+the pid file to use.
+how many connections should we max allow.
+whether we want to display the statistics page
+name and path of the stats socket
+-39 -40 -41 -42 -43 -44 -45 -46 -47 48 49 50 @@ -370,10 +493,28 @@ fqdns via array. 74 75 76 -77+77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95
# File 'manifests/params.pp', line 39
+ # File 'manifests/params.pp', line 48
class cd_haproxy::params (
@@ -396,6 +537,15 @@ $hy_user_comment = 'haproxy user',
$hy_user_home = '/var/lib/haproxy',
$hy_user_shell = '/sbin/nologin',
+# logging
+$hy_log_target = '127.0.0.1',
+$hy_log_facility = 'local2',
+$hy_chroot = '/var/lib/haproxy',
+$hy_pid = '/var/run/haproxy.pid',
+$hy_maxconn = '4000',
+$hy_show_stats = true,
+$hy_stats_socket = '/var/lib/haproxy/stats',
+
) {
# service