Project

General

Profile

Actions

Bug #5292

closed

The find call used to get all the files to include in the CFEngine run is not usable on AIX

Added by Matthieu CERDA over 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Techniques
Target version:
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 #1

Updated by Matthieu CERDA over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Nicolas CHARLES
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/445

PR is ready !

Actions #2

Updated by Matthieu CERDA over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:6734e65f088d255cd5f52de9ed2cc0d98e9437d6.

Actions #3

Updated by Nicolas CHARLES over 10 years ago

Applied in changeset commit:eea6e2e45db2a21b5345a212febe8b1012b532a0.

Actions #4

Updated by Matthieu CERDA over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.4, which was released today.
Check out:

The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-August/000106.html
The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog210
Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions #5

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 24 to Rudder
  • Category changed from Techniques to Techniques
Actions

Also available in: Atom PDF