Project

General

Profile

Actions

Bug #321

closed

external-node importer does not overwrite class list

Added by Dis Connect over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Importers
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If you are migrating and run the external-node importer, it should overwrite the class list for each host with the new information each time. (Instead, it combines them.)

Starting node info:

--- 
classes: 
  - base
  - class2
  - class3
  - class4
parameters: 
...

Run the import:external_nodes. Foreman shows (correctly) base, class2, class3, class4.
Edit the node in the external tool:
--- 
classes: 
  - base
  - class2
  - class5
parameters: 
...

(Remove class3, class4. Add class5.)
rake import:external_nodes again. Foreman will now show "base, class2, class3, class4, class5" - the removed classes do not go away.

Actions #1

Updated by Ohad Levy over 14 years ago

  • Target version set to 0.1-6

well.. this was suppose to be a one time operation.... not a continues effort ;)

Actions #2

Updated by Ohad Levy over 14 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100
Actions #3

Updated by Ohad Levy over 14 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF