Log to $ipaddress by default on both platforms
authorHunter Haugen <h.haugen@gmail.com>
Wed, 29 Aug 2012 20:53:49 +0000 (13:53 -0700)
committerHunter Haugen <h.haugen@gmail.com>
Wed, 29 Aug 2012 21:12:48 +0000 (14:12 -0700)
manifests/data.pp

index db865d6..6b27068 100644 (file)
@@ -25,7 +25,7 @@ class haproxy::data {
                                   }
     }
     Debian: {
-      $haproxy_global_options   = { 'log'     => "127.0.0.1 local0",
+      $haproxy_global_options   = { 'log'     => "${::ipaddress} local0",
                                     'chroot'  => '/var/lib/haproxy',
                                     'pidfile' => '/var/run/haproxy.pid',
                                     'maxconn' => '4000',