diff options
| author | Daniel Pittman <daniel@rimspace.net> | 2011-02-03 13:46:08 -0800 |
|---|---|---|
| committer | Daniel Pittman <daniel@rimspace.net> | 2011-02-03 13:46:30 -0800 |
| commit | c912a2af2f63f505a493137d4ff0b88bc3754cda (patch) | |
| tree | 2603d5e7eeeca1daea2ffcc678b0049e877c53f5 /examples/modules/sample-module/lib | |
| parent | 2a94c61e6c94b1167ea7b858dc184f9f77a7bfc5 (diff) | |
| download | puppet-c912a2af2f63f505a493137d4ff0b88bc3754cda.tar.gz puppet-c912a2af2f63f505a493137d4ff0b88bc3754cda.tar.xz puppet-c912a2af2f63f505a493137d4ff0b88bc3754cda.zip | |
(#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
Diffstat (limited to 'examples/modules/sample-module/lib')
0 files changed, 0 insertions, 0 deletions
