[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.25.4-2-24-gaa55184

Russ Allbery rra at debian.org
Sat Apr 24 04:36:33 UTC 2010


micah anderson <micah at riseup.net> writes:

>> diff --git a/debian/puppetmaster.postinst b/debian/puppetmaster.postinst
>> new file mode 100644
>> index 0000000..ef6356d
>> --- /dev/null
>> +++ b/debian/puppetmaster.postinst
>> @@ -0,0 +1,12 @@
>> +#!/bin/sh
>> +
>> +set -e
>> +
>> +if [ "$1" = "configure" ]; then
>> +    
>> +    # Change the owner of the rack config.ru to be the puppet user
>> +    # because passenger will suid to that user, see #577366
>> +    chown puppet:puppet /usr/share/puppet/rack/puppetmasterd/config.ru
>> +fi
>> +
>> +#DEBHELPER#

This should use dpkg-statoverride.  See Policy 10.9.1.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the Pkg-puppet-devel mailing list