Project

General

Profile

Actions

Bug #5324

closed

ncf should write techniques using ifvarclass instead of direct classes

Added by Vincent MEMBRÉ about 8 years ago. Updated 4 months ago.

Status:
Released
Priority:
1
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

Description

We are currently writing technique with ncf using the folowing syntax:

class::
  "method_call" => method(args...);

this does not work when class are based on variable ...and we should use the ifvarclass syntax

"method_call" => method(args...),
  ifvarclass => "class";

Actions #1

Updated by Nicolas CHARLES about 8 years ago

On 29 juillet 2014 17:52:50 CEST, wrote:

Issue #5324 has been reported by Vincent MEMBRÉ.

----------------------------------------
Bug #5324: ncf should write techniques using ifvarclass instead of
direct classes
http://www.rudder-project.org/redmine/issues/5324

Author: Vincent MEMBRÉ
Status: New
Priority: 1
Assignee: Vincent MEMBRÉ
Category:
Target version:
Pull Request:

We are currently writing technique with ncf using the folowing syntax:

>class::
>  "method_call" => method(args...);
>

this does not work when class are based on variable ...and we should
use the ifvarclass syntax

>"method_call" => method(args...),
>  ifvarclass => "class";
>

Actions #2

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/92
Actions #3

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:805b11c2867bf42fc0c0edb11a623d333e0f7e32.

Actions #4

Updated by Nicolas CHARLES about 8 years ago

Applied in changeset commit:4b22ea0deb44d9856273d3f3c9d2f8c97a6d76ea.

Actions #5

Updated by Benoît PECCATTE over 7 years ago

  • Target version set to 0.x
Actions #6

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released
Actions #7

Updated by Alexis Mousset 4 months ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #8

Updated by Alexis Mousset 4 months ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF