Actions
Bug #4700
closedcf-agent fails on systems that don't support "find . -not ..." (AIX, in particular)
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
#4460 introduced many changes to Techniques to support UNIX systems, but missed one, that causes this error:
find: bad option -not
This comes from the dynamic inputs calculation in promises.cf:
"ncf_inputs" slist => splitstring(execresult("/usr/bin/find /var/rudder/ncf -name '*.cf' -not -name 'promises.cf'", "noshell"), "\n", 10000);
This can be easily replaced with the POSIX supported "!" option instead.
Actions