diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html index 61af50e..6716a90 100644 --- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html +++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html @@ -241,7 +241,22 @@ 143 144 145 -146 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161
# File 'manifests/main/files.pp', line 6
@@ -385,6 +400,21 @@ class cd_haproxy::main::files (
       content   =>  template($hy_504_erb),
       notify    =>  Service[$hy_service],
     }
+
+    # make sure rsyslog is logging haproxy logs
+
+    file { '/etc/rsyslog.d/10-haproxy.conf':
+      ensure    =>  file,
+      owner     =>  'root',
+      group     =>  'root',
+      mode      =>  '0644',
+      selrange  =>  s0,
+      selrole   =>  object_r,
+      seltype   =>  syslog_conf_t,
+      seluser   =>  system_u,
+      content   =>  template('cd_haproxy/rsyslog/'),
+      notify    =>  Service['rsyslog'],
+    }
   }
 }