Actions
Bug #5292
closedThe find call used to get all the files to include in the CFEngine run is not usable on AIX
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The current call is defined like this:
any:: "ncf_common_inputs" slist => splitstring(execresult("${ncf_find}/common -name '*.cf' -not -name 'promises.cf'", "noshell"), "\n", 10000); "ncf_local_inputs" slist => splitstring(execresult("${ncf_find}/local -name '*.cf' -not -name 'promises.cf'", "noshell"), "\n", 10000);
Maybe it should be instead:
!aix:: "ncf_common_inputs" slist => splitstring(execresult("${ncf_find}/common -name '*.cf' -not -name 'promises.cf'", "noshell"), "\n", 10000); "ncf_local_inputs" slist => splitstring(execresult("${ncf_find}/local -name '*.cf' -not -name 'promises.cf'", "noshell"), "\n", 10000); aix:: "ncf_common_inputs" slist => splitstring(execresult("${ncf_find}/common -name '*.cf' | grep -v 'promises.cf'", "useshell"), "\n", 10000); "ncf_local_inputs" slist => splitstring(execresult("${ncf_find}/local -name '*.cf' | grep -v 'promises.cf'", "useshell"), "\n", 10000);
Actions