This allows you to omit a resource parameter programmatically, and avoids the need of an `undef` or `nil` in our language, which would contribute to programming errors, crashes, and overall reduced safety.
6 lines
152 B
Plaintext
6 lines
152 B
Plaintext
$b = true # change me to false and then try editing the file manually
|
|
file "/tmp/mgmt-elvis" {
|
|
content => $b ?: "hello world\n",
|
|
state => "exists",
|
|
}
|