inkblot / puppet-bind

18 stars 82 forks source link

Implement support for logging configuration #115

Closed inkblot closed 7 years ago

inkblot commented 7 years ago

Adds bind::logging::channel and bind::logging::category defines in order to support logging configuration.

makeacode commented 7 years ago

I completely agree that your implementation is much better. Thanks for putting in the time on the new PR.

inkblot commented 7 years ago

These are the defines that I added to my server configuration to check my work:

    bind::logging::channel { 'querylog':
        destination => 'file',
        file_name   => 'query.log',
    }
    bind::logging::category { 'queries':
        channels => 'querylog',
    }
    bind::logging::category { [
        'lame-servers',
        'edns-disabled',
        ]:
        channels => 'null',
    }
WetHippie commented 7 years ago

That looks great.

inkblot commented 7 years ago

This change is included in version 7.2.0 of the module on the forge.