Giter Site home page Giter Site logo

Thoughts about knife-skeleton HOT 4 CLOSED

patcon avatar patcon commented on July 28, 2024
Thoughts

from knife-skeleton.

Comments (4)

PierreRambaud avatar PierreRambaud commented on July 28, 2024

Hi,
Don't know this option was available, I only use berkshelf for cookbook dependencies.
But if you're interessting about this feature, don't hesitate to test the custom-template branch and if your ok, as you said, I can do the same for chef-repo quickly.
For example a knife repo create command.

Regards

from knife-skeleton.

patcon avatar patcon commented on July 28, 2024

Hey Pierre, I did test it out and am very appreciative, but when filing some bugs, I realized there were already some things out there. It might even be possible to alias chef generate cookbook to knife skeleton create COOKBOOK --generator-cookbook /path/to/generator

Anyhow, I'll be investigating. Not sure I like the idea of a "generator cookbook", as a directory of erb's might be simpler to grok and fork

from knife-skeleton.

PierreRambaud avatar PierreRambaud commented on July 28, 2024

With the patch on the branch you can use knife cookbook create COOKBOOK_NAME --template_directory /path/to/directory containing a list of *.erb files.

It's possible and easy to come back to a skeleton command, for examples:
knife skeleton cookbook create
knife skeleton repo create
And both will have approximately the sames parameters.

from knife-skeleton.

PierreRambaud avatar PierreRambaud commented on July 28, 2024

No response for three months, I can close this issue.

from knife-skeleton.

Related Issues (3)

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.