Project

General

Profile

Actions

Bug #4700

closed

cf-agent fails on systems that don't support "find . -not ..." (AIX, in particular)

Added by Jonathan CLARKE over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
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.


Related issues 1 (0 open1 closed)

Related to Rudder - User story #4460: UNIX support - implementation for other Techniques - general casesReleasedJonathan CLARKE2014-02-10Actions
Actions

Also available in: Atom PDF