Coder Social home page Coder Social logo

Comments (13)

ekohl avatar ekohl commented on August 26, 2024

Do you mean these Apache mod_ssl parameters? We do expose them as server_ssl_{ca,cert,key,chain,crl}. You should also override websockets_ssl_{key,cert} if you use websockets.

Katello also uses these because they don't use puppet for certificate management. It appears they use foreman-rake config to set these config values. They should use foreman_config_entry and maybe you're right that puppet-foreman should expose this. See https://github.com/Katello/puppet-certs/blob/8ed3854fffc2a4824d726352ff1bf2397c569c5c/manifests/foreman.pp#L51-L63

from puppet-foreman.

kostyrev avatar kostyrev commented on August 26, 2024

Do you mean these Apache mod_ssl parameters?

No. I don't care for them.

You should also override websockets_ssl_{key,cert} if you use websockets.

I do that.
For you do expose them in settings.yaml.erb

It appears they use foreman-rake config to set these config values. They should use foreman_config_entry

Yeah, but I don't use puppet either.

I've written simple Ansible role where I render foreman-answers.yaml file and let foreman-installer take care of things
but he knows nothing about ssl_ca_file, ssl_certificate and ssl_priv_key

Currently foreman-installer does not let me configure custom_config_entries either
so
for now I use ugly ansible hack for configuring the stuff I want.
And it makes me sad.

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

Thanks for the additional description of your use case.

I wonder what @mmoll, @domcleal and @brandonweeks think about this. Should we include these values in settings.yaml or use foreman_config_entry? And should we always manage those values or expose the as separate variables?

from puppet-foreman.

domcleal avatar domcleal commented on August 26, 2024

I don't think I'd mind them being always managed in settings.yaml, as it's quite common to want to override them. It may come as a surprise to anybody who's changed them already though on upgrade.

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

If you set them in settings.yaml I don't think you can override them in the UI, though that may also surprise some users.

from puppet-foreman.

domcleal avatar domcleal commented on August 26, 2024

Indeed, though I think it does show a tooltip explaining where it's set. The only problem with relying a lot on foreman_config_entry is the speed, it's relatively slow to run a rake task (though we can also improve this with Puppet provider prefetch/flush features).

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

If the UI is clear about it, I'd prefer settings.yaml.

from puppet-foreman.

domcleal avatar domcleal commented on August 26, 2024

screenshot from 2016-05-13 09-19-24

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

I think we should introduce separate variables which have the same defaults, agreed?

from puppet-foreman.

mmoll avatar mmoll commented on August 26, 2024

I'm OK with that.

from puppet-foreman.

kostyrev avatar kostyrev commented on August 26, 2024

Thanks!
When will new foreman-installer be available with those params?

from puppet-foreman.

domcleal avatar domcleal commented on August 26, 2024

They would be in the next major version, 1.12 (http://projects.theforeman.org/projects/foreman/wiki/Foreman_112_Schedule).

from puppet-foreman.

kostyrev avatar kostyrev commented on August 26, 2024

Great!
Thanks guys.
You rock!

from puppet-foreman.

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.