Files
mgmt/examples/lang/symlink.mcl
James Shubin de970ee557 engine: resources: Add symlink param to the file res
This adds initial symlink support to the file resource, and while it is
hopefully correct, there are always sneaky edge cases around symlinks
and security, so review and tests are highly encouraged!
2025-04-22 02:21:58 -04:00

18 lines
252 B
Plaintext

file "/tmp/symlink1" {
state => "exists",
source => "foo",
symlink => true,
}
file "/tmp/symlink2" {
state => "exists",
source => "food/",
symlink => true,
}
file "/tmp/symlink3" {
state => "exists",
source => "/tmp/foo",
symlink => true,
}