head.daveops.net

Snippets for yer computer needs

Concepts - Idempotency

Concepts - Idempotency

Something that should always have the same result, no matter how many times it runs.

# /tmp/thing should exist no matter how many times you run this: mkdir -p /tmp/thing