Project

General

Profile

Anomalie #3817

utilisation de "for" dans era

Added by Karim Ayari over 10 years ago. Updated over 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Gwenael Remond
Category:
-
Start date:
Due date:
% Done:

100%

Distribution:
EOLE 2.3

Description

vu avec Gwen, era supporte mal l'utilisation de la boucle for.
par exemple avec cette règle en inclusion statique :

%for %%res_adriatic in %%network_adriatic
/sbin/iptables -t nat -I POSTROUTING -s %%adresse_ip_ped_srv1/255.255.255.255 -d %%res_adriatic/%%res_adriatic.netmask_adriatic -j SNAT --to-source %%adresse_ip_nat_ped_srv1
%end for

au moment du reconfigure il nous informe qu'il ne connait pas la variable %%res_adriatic.


Related issues

Related to ERA - Anomalie #1251: Pb avec inclusion statique Fermé 12/03/2010
Precedes ERA - Anomalie #4735: Syntaxe Creole invalide dans certains cas Fermé 01/21/2013 01/25/2013

Associated revisions

Revision 05d7917c (diff)
Added by Gwenael Remond over 10 years ago

static rules accepts non-creole variables now fixes #3817

Revision 112e3d1f (diff)
Added by Gwenael Remond over 10 years ago

static rules accepts non-creole variables now for real (2.2 version, (see #3817)

Revision d14ac8f9 (diff)
Added by Gwenael Remond over 10 years ago

static rules accepts non-creole variables now fixes #3817 for real

Revision cb3a8e99 (diff)
Added by Gwenael Remond over 10 years ago

static rules accepts non-creole variables see #3817 end

Revision 7ff9442f (diff)
Added by Gwenael Remond over 10 years ago

static rules accepts non-creole variables see #3817 end

Revision 2d41f344 (diff)
Added by Gwenael Remond over 10 years ago

static rules accepts non-creole variables see #3817 end and end

Revision dab3b47e (diff)
Added by Gwenael Remond over 10 years ago

static rules accepts non-creole variables see #3817 end and end

Revision 86b52af2 (diff)
Added by Johan Cwiklinski almost 5 years ago

Improve isCron check; fixes #3817

History

#1 Updated by Gwenael Remond over 10 years ago

  • Status changed from Nouveau to Accepté
  • Assigned To set to Gwenael Remond

#2 Updated by Joël Cuissinat over 10 years ago

  • Project changed from Amon to ERA

#3 Updated by Gwenael Remond over 10 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat over 10 years ago

  • Target version set to Mises à jour 2.3.6 RC

#5 Updated by Gwenael Remond over 10 years ago

#6 Updated by Joël Cuissinat over 10 years ago

  • Status changed from Résolu to Fermé

nb : je n'ai pas testé personnellement :)

Also available in: Atom PDF