Giter Club home page Giter Club logo

Comments (9)

raphink avatar raphink commented on September 25, 2024 2

@lelutin if the module was a new one, I'd say we should be as close as possible to the OS standard. However because this module already has a history which is to set chroot to false by default, I think we should keep it backwards-compatible.

from puppet-postfix.

raphink avatar raphink commented on September 25, 2024

So you're suggesting we should use false for Ubuntu 16.04?

from puppet-postfix.

igalic avatar igalic commented on September 25, 2024

i honestly don't know
it's really complicated, or, else depends on whether you wanna keep compatibility with the module or the software

from puppet-postfix.

raphink avatar raphink commented on September 25, 2024

Yes. I'd rather the module behave in a standard manner as much as possible.

from puppet-postfix.

amateo avatar amateo commented on September 25, 2024

Maybe you could include PR #170 that adds a parameter to configure chroot. If you leave it undefined, the it uses the software default (- in master.cf ) but you could also force it to true (y) or false (n).
But the PR is failing because of problems, I think that not directly related with the PR, building ubuntu machines for CI.

from puppet-postfix.

raphink avatar raphink commented on September 25, 2024

@igalic would #224 fix this bug?

from puppet-postfix.

lelutin avatar lelutin commented on September 25, 2024

hello! from what I can see, #224 changes the default value of $chroot to false for all distributions.

debian uses chrooted daemons by default (which postfix upstream is not too happy about, but that's another story)

so the solution here depends on you goals towards how things are managed:

if you'd like for the puppet module to have default settings that are as close as possible to distro defaults, then you could special-case the value of the $chroot parameter in the params class.

however, if you want to simplify and/or standardize how the module manages default configuration, then #224 does this well.

In all cases, the undef value to $chroot seems useless after the change, so it'd probably be nice to add a deprecation warning and remove it at some later point to keep only 'y' and 'n' as possible values.

from puppet-postfix.

lelutin avatar lelutin commented on September 25, 2024

@raphink this makes a lot of sense!

from puppet-postfix.

raphink avatar raphink commented on September 25, 2024

Merged #224 which makes all chroot options default to false as it's always been in this module.

from puppet-postfix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.