Change back the owner of swift-proxy log file 09/20509/2 openstack-ci/fuel-7.0/2015.1.0
authorAlexey Stupnikov <astupnikov@mirantis.com>
Wed, 11 May 2016 12:10:07 +0000 (15:10 +0300)
committerAlexey Stupnikov <astupnikov@mirantis.com>
Wed, 11 May 2016 17:24:02 +0000 (20:24 +0300)
commit53f9b44e964ac5bb68f09a31cb22f7f2530885a6
tree732db911f654e8f3e2844b822dca8015ffea2158
parent981587dac7b7711ee52a4fc6b8589ad23db4c59b
Change back the owner of swift-proxy log file

Ceilometer's postinstall script recursively changes the owner of
/var/log/ceilometer dir. Swift-proxy uses that dir to store its log
file swift-proxy-server.log, which will not be available after
update. I have added the if statement to postinst scripts change
back the file's owner after update.

Closes-bug: #1537657
Change-Id: I2d30fdc9726a4866a90e59eabf841791f3bd77a0
trusty/debian/ceilometer-common.postinst