]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Define logformat privacy
authorPeter Palfrader <peter@palfrader.org>
Mon, 25 Mar 2013 19:35:49 +0000 (20:35 +0100)
committerPeter Palfrader <peter@palfrader.org>
Mon, 25 Mar 2013 19:38:45 +0000 (20:38 +0100)
modules/apache2/files/logformat-privacy [new file with mode: 0644]
modules/apache2/manifests/init.pp

diff --git a/modules/apache2/files/logformat-privacy b/modules/apache2/files/logformat-privacy
new file mode 100644 (file)
index 0000000..aede26b
--- /dev/null
@@ -0,0 +1,6 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+##
+
+LogFormat "0.0.0.0 - %u %{[%d/%b/%Y:00:00:00 %z]}t \"%r\" %>s %b \"%{Referer}i\" \"-\"" privacy
+LogFormat "0.0.0.1 - %u %{[%d/%b/%Y:00:00:00 %z]}t \"%r\" %>s %b \"%{Referer}i\" \"-\"" privacyssl
index ef2864e36978ca6dc0f28dc09db4bf7d3adf23ed..1f232b931f49d18654bd5cfeba0c54eb47e004d3 100644 (file)
@@ -29,6 +29,10 @@ class apache2 {
                source => 'puppet:///modules/apache2/security',
        }
 
+       apache2::config { 'logformat-privacy':
+               source => 'puppet:///modules/apache2/logformat-privacy',
+       }
+
        apache2::config { 'local-serverinfo':
                source => 'puppet:///modules/apache2/local-serverinfo',
        }