Coder Social home page Coder Social logo

Comments (10)

sawanoboly avatar sawanoboly commented on June 17, 2024

Please try edit files in nodes/ to update run_list directly.
It will be kept after converge.

Is this the kind of thing that you wanted to know?

from knife-zero.

sawanoboly avatar sawanoboly commented on June 17, 2024

F.Y.I http://docs.chef.io/nodes.html#node-objects

There are no difference between chef-server's node and nodes/ folder.

from knife-zero.

patcon avatar patcon commented on June 17, 2024

We can do it martin, but the node object is very noisy and edits makes environments less reproducible, so I made efforts to make it unnecessary to edit it. I would consider changes made at the node level an anti-pattern that we should avoid if possible

from knife-zero.

patcon avatar patcon commented on June 17, 2024

But if we need to, best to use knife node edit example.com, and make changes only at "normal" level of precendence. (As mentioned here, that command filters out the other precendence levels for clarity. But again, I'm currently considering this an anti-pattern, at least in our setups.)

EDIT: knife node edit blah.com --all shows the whole node object. This might be better than direct edit with emacs as there's the added benefit of doing json checks before saving

from knife-zero.

sawanoboly avatar sawanoboly commented on June 17, 2024

Thank you for detailed teaching @patcon . It had been optimistic that when he try it, he will know.

from knife-zero.

patcon avatar patcon commented on June 17, 2024

@sawanoboly Maybe we could start a wiki on this repo with recommendations as we figure out best practices?

Also, I'm planning to use knife-skeleton (with this feature PR) to make a skeleton of our starter chef-repo for starting projects. Might be something helpful for us all to collaborate on :)

(To clarify, I am contracting with @mrjcleaver, but it could be done on my own time too, depending on how he feels about it)

from knife-zero.

sawanoboly avatar sawanoboly commented on June 17, 2024

@patcon
You probably noticed that I don't have English force enough, So if I make some mistakes and delays , please be patient.

I had been writing usage on my blog or others, But it's written in Japanese πŸ˜“
I agree with stating create document at wiki or github pages (such like the knife-solo, the Serverspec).
Then, would you mind if I added you to collaborators for this Repo or documentation Repo?

from knife-zero.

patcon avatar patcon commented on June 17, 2024

Yes, please do :) Thanks!

from knife-zero.

sawanoboly avatar sawanoboly commented on June 17, 2024

@patcon I've created new issue #49 .

@mrjcleaver Could I close this ( #47 ) issue ?

from knife-zero.

sawanoboly avatar sawanoboly commented on June 17, 2024

http://knife-zero.github.io/20_getting_started/

from knife-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.