Hello,
I need to convert my variable $(domain), which is lowercase by default,
but I need to put it to /etc/krb5.conf, where the realm is expected to
appear in uppercase. Is there a simple way to do that without using
external commands like 'tr'?
I tried looking for this in cfengine's string functions but there is
none of this sort there. I don't see it possible to be done with regular
expression, either.
What I need is something like
files:
"/etc/krb5.conf"
create => "true",
edit_line => insert_lines(to_uppercase("$(g.domain)"));
Anyone?
Best regards,
Boleslaw Tokarski
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine