Hands-on lab BrokenCluster

Add a Line Only Once

Write a helper that ensures a config line exists, safe to run any number of times, even on files without a final newline.

Shellmedium 10 min
Start the lab