Project

General

Profile

Actions

Bug #27209

open

Unknown function 'kafo_configure::dump_variables'

Added by малъ скрылевъ over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hello,

I've got an error saying to refuse using an unknow function, when I trying to use "foreman-installer" with the "kafo" version 3.0.0:

Error: Evaluation Error: Unknown function: 'kafo_configure::dump_variables'. (file: /usr/lib/ruby/gems/2.5.0/gems/kafo-3.0.0/modules/kafo_configure/manifests/dump_values.pp, line: 15, column: 18) on node vm15
[ERROR 2019-07-02T18:48:10 main] Could not get default values, cannot continue

I've grepped the foreman-installer sources and its modules to match the function and it hadn't find this one. I've stubbed the code as follows,

  $dumped_vars = [] # kafo_configure::dump_variables($variables)
  $dumped_lookups = [] #kafo_configure::dump_lookups($lookups)
  $dumped = "--- []\n" # kafo_configure::to_yaml($dumped_vars, $dumped_lookups)

But it seems that is the crutch. So the question it how to fix it correctly?

Actions

Also available in: Atom PDF