Coder Social home page Coder Social logo

Comments (16)

domcleal avatar domcleal commented on August 26, 2024

Yeah, they should probably go to stdlib if possible.

from puppet-foreman.

aptituz avatar aptituz commented on August 26, 2024

Yes, indeed, if puppetlabs would include them. But an own module would be a good alternative, otherwise.

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

We did talk about this in the past, but never got around to it. I do wonder how well puppetlabs likes cached_data because it caches on the master, so it doesn't work on multi master setup. One way to find out I suppose :)

from puppet-foreman.

aptituz avatar aptituz commented on August 26, 2024

Well, not working properly in a multi-master setup is just one use-case. It's still useful in other (and certainly quiet common) use-cases.

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

I fully agree it's useful.

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

puppetlabs/puppetlabs-stdlib#521 has been opened, but the initial response isn't positive.

from puppet-foreman.

ehelms avatar ehelms commented on August 26, 2024

This other option would be to re-purpose and use a puppet-common (we could rename) we have had for a while, e.g. theforeman/puppet-common#9

from puppet-foreman.

ehelms avatar ehelms commented on August 26, 2024

Looks like they rejected that attempt to get the functionality into stdlib but suggested trying extlib. What are your opinions on putting it in extlib vs having our own module that contains common functionalities?

from puppet-foreman.

aptituz avatar aptituz commented on August 26, 2024

Oh, never heard from extlib before.

Now that I'm aware of it's existence: Might indeed be a better place instead of stdlib. Do you know if it's being maintained in similar diligent way like stdlib?

I don't have a strong opinion weither to put it into your puppet-common module or extlib, but I'd hope it would make it to forge :) (and btw. puppet-common is a quiet over-generic name for a reusable module outside of katello, isn't it? :o)

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

I could repeat what @aptituz said, but I fully agree.

from puppet-foreman.

ehelms avatar ehelms commented on August 26, 2024

Based on your feedback, I moved it to extlib -- voxpupuli/puppet-extlib#17. Feedback on the design around namespacing or not would be greatly appreciated.

from puppet-foreman.

aptituz avatar aptituz commented on August 26, 2024

Great. Will think about it and come back to you ASAP.

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

cache_data has been pushed but has a different function signature so beware. I think we'll mention this in the changelog once we migrate. random_password should be done as well IMHO.

from puppet-foreman.

ehelms avatar ehelms commented on August 26, 2024

My stab at moving random_password to extlib -- voxpupuli/puppet-extlib#19 (This one may make sense in stdlib, I just started where I left off)

from puppet-foreman.

ekohl avatar ekohl commented on August 26, 2024

Given both PRs are merged in extlib, I'm considering this closed. Big thank you to @ehelms for fixing this.

from puppet-foreman.

aptituz avatar aptituz commented on August 26, 2024

Thank from me aswell!

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.