Project

General

Profile

Actions

Bug #5324

closed

ncf should write techniques using ifvarclass instead of direct classes

Added by Vincent MEMBRÉ over 10 years ago. Updated over 2 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
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 over 10 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É over 10 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É over 10 years ago

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

Updated by Benoît PECCATTE over 9 years ago

  • Target version set to 0.x
Actions #6

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released
Actions #7

Updated by Alexis Mousset over 2 years ago

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

Updated by Alexis Mousset over 2 years ago

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

Also available in: Atom PDF