Re: Problems while upgrading to latest cfengine-community LTS
Berthold Cogel <[email protected]> Tue, 13 Jan 2026 16:21:22 +0100
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
Am 23.12.25 um 16:29 schrieb 'Nick Anderson' via help-cfengine:
> Hey Berthold,
>
> That seems like it's related to this blog post about change in behavior
> for |findfiles()| (https://cfengine.com/blog/2025/change-in-behavior-
> findfiles/ <https://cfengine.com/blog/2025/change-in-behavior-findfiles/>).
>
> But, that post doesn't mention any intent to alter the trailing slash
> that signals directory. I am not sure if it was intentional or not.
>
> * Old Behavior (<= 3.23.0): When findfiles("path/*/") is used, the
> returned file list included the trailing slash (e.g., /path/to/dir/).
> * New Behavior (>= 3.24.0): The trailing slash is stripped from the
> returned file list (e.g., /path/to/dir), causing mismatches when
> compared against lists that expect the trailing slash.
>
Hello Nick.
thank you very much!
I used macros as a switch for the change in behavior. The upgrade was
successful.
Berthold
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/help-cfengine/addab131-a44d-4af4-8b89-89490ce9e668%40uni-koeln.de.