Project

General

Profile

Actions

Bug #16700

closed

Garbled generated policies in 6.0

Added by Nicolas CHARLES almost 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

Policy generation failed in 6.0, after https://issues.rudder.io/issues/16699

content is completly garbled

bundle agent cleanForceInventoryFlagFile
{

  files:
      "${g.rudder_base}/etc/force_inventory" 
        delete     => tidy,
        ifvarclass => "inventory_sent"; # if the force inventory file was present, and we successfully sent an inventory, clean up the flag file

}
icurl} --no-verify --put --authentication ${g.davuser}:${g.davpw} --file"; 
      "download_command_suffix"   string => "--url ${download_endpoint}";

  classes:
    any::
  insert_lines:
      "${file_edit_header}" 
        location    => start,
        insert_type => "preserve_block";
}

      "${str}" not_matching => "true";

  insert_lines:
      "${str}";
}

Files

promises.cf (34.7 KB) promises.cf Nicolas CHARLES, 2020-02-10 17:02
Actions

Also available in: Atom PDF