delete /etc/logrotate.d/puppetdb
authorJulien Cristau <jcristau@debian.org>
Mon, 23 Sep 2019 12:31:39 +0000 (14:31 +0200)
committerJulien Cristau <jcristau@debian.org>
Mon, 23 Sep 2019 12:31:39 +0000 (14:31 +0200)
puppetdb seems to handle log rotation itself so let's not have two
conflicting mechanisms to do the same thing.

modules/puppetmaster/manifests/init.pp

index 1e07fdf..3175168 100644 (file)
@@ -33,4 +33,8 @@ class puppetmaster {
     source => 'puppet:///modules/puppetmaster/update-fastly-ips.sh',
     mode   => '0555',
   }
+
+  file { '/etc/logrotate.d/puppetdb':
+    ensure => absent,
+  }
 }