Coder Social home page Coder Social logo

knife plugin? about chef-zero HOT 7 CLOSED

chef avatar chef commented on July 27, 2024
knife plugin?

from chef-zero.

Comments (7)

jkeiser avatar jkeiser commented on July 27, 2024

Absolutely, I can imagine knife plugins being part of this. What sort of plugin were you thinking?

from chef-zero.

erikh avatar erikh commented on July 27, 2024

Probably to start, just something to start it and spit out a URI on stdout -- that way it could be consumed by other tools.

e.g., knife role from file roles/foo.json -s knife zero uri

"uri" (or perhaps something less on-the-spot) would start the service if necessary.

-Erik

On Apr 28, 2013, at 5:53 PM, John Keiser [email protected] wrote:

Absolutely, I can imagine knife plugins being part of this. What sort of plugin were you thinking?


Reply to this email directly or view it on GitHub.

from chef-zero.

jkeiser avatar jkeiser commented on July 27, 2024

I don't mind the plugin at all (I'd accept patches), though it seems like chef-zero itself is the executable you want for that (that's what it does) :)

One useful value-add could be a plugin that starts chef-zero, and writes out a .chef/knife.rb along with a bogus client key so that you can do knife and chef-client. In fact, I could also see this being an option to the chef-zero executable. For bonus, I could see an exe or knife plugin that does knife upload / after starting the server, and maybe catches ctrl+c and does a knife download / at the end or something.

from chef-zero.

jkeiser avatar jkeiser commented on July 27, 2024

One thing I could see as a super interesting option, is a change to knife itself to support chef_server_url = :local_server. Then knife, chef-client, and everybody else would spin up chef-zero and dump the repo into it before continuing.

from chef-zero.

erikh avatar erikh commented on July 27, 2024

Yeah, that'd play well with chef workflow too. I'll see what I can whip up over the upcoming week.

On Apr 29, 2013, at 8:30 AM, John Keiser [email protected] wrote:

One thing I could see as a super interesting option, is a change to knife itself to support chef_server_url = :local_server. Then knife, chef-client, and everybody else would spin up chef-zero and dump the repo into it before continuing.

from chef-zero.

erikh avatar erikh commented on July 27, 2024

Just also wanted to say -- this is more or less what chef-workflow does already, just with a standard chef server instead -- hence my interest.

I'll touch base in a week or so, update you on what progress I've made here. Thanks for the awesome work!

On Apr 29, 2013, at 8:28 AM, John Keiser [email protected] wrote:

I don't mind the plugin at all (I'd accept patches), though it seems like chef-zero itself is the executable you want for that (that's what it does) :)

One useful value-add could be a plugin that starts chef-zero, and writes out a .chef/knife.rb along with a bogus client key so that you can do knife and chef-client. In fact, I could also see this being an option to the chef-zero executable. For bonus, I could see an exe or knife plugin that does knife upload / after starting the server, and maybe catches ctrl+c and does a knife download / at the end or something.


Reply to this email directly or view it on GitHub.

from chef-zero.

erikh avatar erikh commented on July 27, 2024

I haven't had time to do this. I'm going to close this for now, will circle back when I have more time.

from chef-zero.

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.