News for hackers. Stuff that matters.
Re:How to write idempotent Bash scripts by itchyouch on Sunday July 07, 2019 @11:16AM (#20375488)
Chef does have an action on their primitives, so it is possible in the directory example to set the action to :delete instead of only implying :create
Re:How to write idempotent Bash scripts by mnutt on Sunday July 07, 2019 @12:45PM (#20376008)
You’re right, it’s totally functional, the (minor) challenge I see with it is that it breaks the illusion that you’re describing the state of the system, and feels more like describing a set of changes you want to make.