Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
itchyouch
on July 7, 2019
|
parent
|
context
|
favorite
| on:
How to write idempotent Bash scripts
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
mnutt
on July 7, 2019
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: