Project

General

Profile

Actions

Bug #3527

closed

error on migration about escaping directive in migration script

Added by Vincent MEMBRÉ over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

when the ldif about a directive to convert is wrapped on multiple line, the sed executed just after is does not catch the line.

here : ou=Rudder,cn=rudder-configuration should be match

dn: directiveId=c2dd0579-3ce1-4277-aad0-628804f3a99e,activeTechniqueId=16d8e55
 3-da18-41e8-a4e6-238dba0da201,techniqueCategoryId=systemManagement,techniqueC
 ategoryId=systemSettings,techniqueCategoryId=Active Techniques,ou=Rudder,cn=r
 udder-configuration
directiveVariable: MOTD[0]:Hello les gens \"bisous\" 
directiveVariable: MOTD_EMPTY[0]:false

before the sed we have to use

        | perl -p0e "s/\n //g" \

to put the line in one line

Actions #1

Updated by Vincent MEMBRÉ over 11 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
Actions #2

Updated by Vincent MEMBRÉ over 11 years ago

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

Applied in changeset packages:commit:5e4a6ae6b68d223da9187bcd9c6858d2493d57df.

Actions #3

Updated by Jonathan CLARKE over 11 years ago

Applied in changeset packages:commit:fe12616acc0c349058839c87eae77eb2e7ed106c.

Actions #4

Updated by Jonathan CLARKE over 11 years ago

  • Pull Request set to https://github.com/Normation/rudder-packages/pull/46
Actions #5

Updated by Jonathan CLARKE over 11 years ago

  • Project changed from Rudder to 34
  • Category deleted (13)
Actions #6

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending release to Released
Actions #7

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF