Project

General

Profile

Actions

Bug #9924

closed

User story #9711: Add generic methods to share files between nodes using rudder relay API

Broken syntax in parent ticket

Added by Alexis Mousset almost 8 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:60:58: error: syntax error
==> centos6_relay:       "sha512sum" expression => fileexists("${sha512sum}";
==> centos6_relay:                                                          ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:60:58: error: Expected ',', wrong input ';'
==> centos6_relay:       "sha512sum" expression => fileexists("${sha512sum}";
==> centos6_relay:                                                          ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:61:33: error: Invalid function argument, wrong input '"${canonified_path}_signed"'
==> centos6_relay:       "${canonified_path}_signed" => fileexists("${file_path}.sign");
==> centos6_relay:                                 ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:61:36: error: Expected ',', wrong input '=>'
==> centos6_relay:       "${canonified_path}_signed" => fileexists("${file_path}.sign");
==> centos6_relay:                                    ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:61:47: error: Invalid function argument, wrong input 'fileexists'
==> centos6_relay:       "${canonified_path}_signed" => fileexists("${file_path}.sign");
==> centos6_relay:                                               ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:61:48: error: Expected ',', wrong input '('
==> centos6_relay:       "${canonified_path}_signed" => fileexists("${file_path}.sign");
==> centos6_relay:                                                ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:61:67: error: Invalid function argument, wrong input '"${file_path}.sign"'
==> centos6_relay:       "${canonified_path}_signed" => fileexists("${file_path}.sign");
==> centos6_relay:                                                                   ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:64:41: error: syntax error
==> centos6_relay:       "${old_class_prefix}_exist_true" => "${old_class_prefix}_exist_kept";
==> centos6_relay:                                         ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:64:41: error: Expected ';', got '=>'
==> centos6_relay:       "${old_class_prefix}_exist_true" => "${old_class_prefix}_exist_kept";
==> centos6_relay:                                         ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:65:42: error: syntax error
==> centos6_relay:       "${old_class_prefix}_exist_false" => "${old_class_prefix}_exist_repaired";
==> centos6_relay:                                          ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:65:42: error: Expected ';', got '=>'
==> centos6_relay:       "${old_class_prefix}_exist_false" => "${old_class_prefix}_exist_repaired";
==> centos6_relay:                                          ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:66:37: error: syntax error
==> centos6_relay:       "${class_prefix}_exist_true" => "${class_prefix}_exist_kept";
==> centos6_relay:                                     ^
==> centos6_relay: /var/rudder/ncf/common/30_generic_methods/sharedfile_to_node.cf:66:37: error: Expected ';', got '=>'
==> centos6_relay:       "${class_prefix}_exist_true" => "${class_prefix}_exist_kept";
==> centos6_relay:                                     ^
==> centos6_relay: Too many errors

Actions #1

Updated by Alexis Mousset almost 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Alexis Mousset almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/ncf/pull/509
Actions #3

Updated by Alexis Mousset almost 8 years ago

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

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released
  • Priority set to 0
Actions #5

Updated by Alexis Mousset over 2 years ago

  • Target version changed from master to ncf-1.2
Actions

Also available in: Atom PDF