HomePhorge

(PUP-3756) Only chown log file when running as root
3265561516a1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3756) Only chown log file when running as root

Previously, if you specified a log file destination on non-windows
platforms, puppet would attempt to chown the file to the Puppet[:user]
and Puppet[:group]. However, this will only work if puppet is running
as root.

This commit change the log file destination to only chown when running
as root. It continues to skip the operation on Windows.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU77e9220f16cd: Merge branch 'pr/3355'
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU3265561516a1: (PUP-3756) Only chown log file when running as root (authored by Josh Cooper <josh@puppetlabs.com>).Dec 16 2014, 7:03 AM