Project

General

Profile

Actions

Support #656

closed

'has_variable'

Added by Goa Cid about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Unattended installations
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

In puppet I used to call 'has_variable' function.
I modify the preseed.rhtml file including this line :

d-i pkgsel/include string <%= @host.params["common_package_list"] %> <% if has_variable?("is_vm") -%> <%= @host.params["vm_package_list"] %> <% end -%>

Then I have the error below :
ActionView::TemplateError (undefined method `has_variable?' for #<ActionView::Base:0x7f8681e67c10>) on line #75 of app/views/unattended/preseed.rhtml:

How can I had the puppet method to foreman , if it is possible of course :)

Actions

Also available in: Atom PDF