Forum: Cfengine Help Subject: relative symlinks Author: schattenfell Link to topic: https://cfengine.com/forum/read.php?3,21971,21971#msg-21971
Hi, at the moment I facing the problem, that I cannot do relative symlinks (absolute are no problem). Example: [...] files: "/etc/rc0.d/K01cfengine3" comment => "CFEngine rc0.d Symlink for $(sys.fqhost)", link_from => link("relative", "../init.d/cfengine3"); [...] body link_from link(type, from) { link_type => "${type}"; source => "${from}"; } I get: Fatal cfengine error: Validation: Scalar item in source => { ../init.d/cfengine3 } in rvalue is out of bounds (value should match pattern "?((:\\.*)|(/.*))) So ".." at the beginning is not allowed in the regular expression. It seems to be a bug or do I overlook something? Best wishes Michael _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine