Code Monkey home page Code Monkey logo

Comments (4)

andreas-h avatar andreas-h commented on July 28, 2024

as an alternative, setting dns_alt_names through this module would do the trick, I believe.

from puppet-puppet.

alvagante avatar alvagante commented on July 28, 2024

You are right indeed.
You can both have two different certnames and use dns_alt_names or keep the same certname for the two puppetmasters. Note anyway that with the template => parameter you can override the default configuration file (either for client or master) with a custom one, where you can provide any configuration you need.
If you find a sane way to manage this case with other parameters, feel free to submit a pull request, it's always appreciated.

from puppet-puppet.

andreas-h avatar andreas-h commented on July 28, 2024

You can both have two different certnames and use dns_alt_names or keep
the same certname for the two puppetmasters. Note anyway that with the
template => parameter you can override the default configuration file
(either for client or master) with a custom one, where you can provide
any configuration you need.
If you find a sane way to manage this case with other parameters, feel
free to submit a pull request, it's always appreciated.

Would it hurt if I just add a dns_alt_names parameter to the puppet
class and adapt the server template accordingly? The parameter would
then have no effect at all when set on a client. Or should I check if
the new parameter is set for a client and then raise an error (is that
possible? how?)?

from puppet-puppet.

alvagante avatar alvagante commented on July 28, 2024

It's ok to add the dns_alt_names parameter and then use it in the template if defined.
Follow the logic used for other parameters.
(Sadly the module is poorly documented, and most of the available options are not explained)

from puppet-puppet.

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.