You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails instantiate the template which it has boolean type USER_INPUTS by onetemplate command, because src/cli/one_helper/onetemplate_helper.rb lacks 'boolean' case.
To Reproduce
$ onetemplate list --no_expand
ID USER GROUP NAME REGTIME
11 oneadmin oneadmin something_tmpl 01/04 22:06:48
$ cat ./user_inputs_boolean.txt
USER_INPUTS=[
BOOLEAN_VAR="M|boolean|SAMPLE| |NO" ]
$ onetemplate update -a something_tmpl ./user_inputs_boolean.txt
$ onetemplate show something_tmpl | grep -A2 '^USER_INPUTS'
USER_INPUTS=[
BOOLEAN_VAR="M|boolean|SAMPLE| |NO" ]
$ onetemplate instantiate something_tmpl
There are some parameters that require user input. Use the string <<EDITOR>> to launch an editor (e.g. for multi-line inputs)
* (BOOLEAN_VAR) SAMPLE
Wrong type for user input:
BOOLEAN_VAR: M|boolean|SAMPLE| |NO
$ echo $?
255
Expected behavior
The prompt accepts user input which it is stricted YES or NO.
Description
It fails instantiate the template which it has boolean type USER_INPUTS by
onetemplate
command, becausesrc/cli/one_helper/onetemplate_helper.rb
lacks 'boolean' case.To Reproduce
Expected behavior
The prompt accepts user input which it is stricted YES or NO.
Details
Additional context
I have found this problem when trying Service Kubernetes Appliance exported from Marketplace.
Progress Status
The text was updated successfully, but these errors were encountered: