HomePhorge

(#4139) hook log autoflush into global defaults
c912a2af2f63Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#4139) hook log autoflush into global defaults

We previously had an ordering dependency in the autoflush option, which was
statically read from defaults when the log destination was configured.

We add a hook in the defaults to update the log subsystem, which in turn
updates log destinations, when autoflush is changed.

This would work as desired:

puppet agent --autoflush --logdest=file

This would not work, as autoflush would be false:

puppet agent --logdest=file --autoflush

Now those changes propagate correctly.

Paired-with: matt@puppetlabs.com

Details

Provenance
Daniel Pittman <daniel@rimspace.net>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU2a94c61e6c94: Merge branch '2.6.next' of git://github.com/puppetlabs/puppet into 2.6.next
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@rimspace.net> committed rPUc912a2af2f63: (#4139) hook log autoflush into global defaults (authored by Daniel Pittman <daniel@rimspace.net>).Feb 3 2011, 10:46 PM