[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/2.6.3-1-2-ge9a9f74
Stig Sandbeck Mathisen
ssm at debian.org
Thu Dec 2 20:18:40 UTC 2010
The following commit has been merged in the master branch:
commit e9a9f749921587b3c52d80d615efd44af3a09059
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date: Thu Dec 2 21:11:13 2010 +0100
Move the logrotate script to the puppetmaster package
diff --git a/debian/puppet.logrotate b/debian/puppet.logrotate
deleted file mode 100644
index 3864e39..0000000
--- a/debian/puppet.logrotate
+++ /dev/null
@@ -1,11 +0,0 @@
-/var/log/puppet/*log {
- missingok
- create 0644 puppet puppet
- compress
- rotate 4
-
- postrotate
- [ -e /etc/init.d/puppetmaster ] && /etc/init.d/puppetmaster restart >/dev/null 2>&1 || true
- [ -e /etc/init.d/puppet ] && /etc/init.d/puppet reload > /dev/null 2>&1 || true
- endscript
-}
diff --git a/debian/puppetmaster.logrotate b/debian/puppetmaster.logrotate
new file mode 100644
index 0000000..798dfda
--- /dev/null
+++ b/debian/puppetmaster.logrotate
@@ -0,0 +1,11 @@
+/var/log/puppet/masterhttp.log {
+ missingok
+ notifempty
+ create 0644 puppet puppet
+ compress
+ rotate 4
+
+ postrotate
+ [ -x /etc/init.d/puppetmaster ] && /etc/init.d/puppetmaster restart >/dev/null 2>&1 || true
+ endscript
+}
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list