[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, squeeze-2.6.2, updated. debian/2.6.2-2-5-g35986a7
Stig Sandbeck Mathisen
ssm at debian.org
Thu Dec 2 20:37:02 UTC 2010
The following commit has been merged in the squeeze-2.6.2 branch:
commit 35986a77b6da5c30e7298eb6b702cc30085a4c3d
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