Project

General

Profile

Actions

Bug #27363

open

Constraint doesn't allow to change variable

Added by Nicolas CHARLES 8 days ago. Updated 2 days ago.

Status:
Pending release
Priority:
0 (blocking)
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Following code

    parameters = [
        rudder.TechniqueParam {
             id = "d309bcc3-0200-44eb-8310-d15c0b7da191" 
             name = "selinux_mode" 
             description = "SELinux should run in one of two modes: permissive, or enforcing." 
             default = "permissive" 
                constraints = {select = [
                rudder.SelectConstraint {value = "permissive"}
                rudder.SelectConstraint {value = "enforcing"}
            ]}
        }
    ]

does see that there is a contraint

however, selecting enforcing doesn't work: it always generate code with permissive (the default value)


Files

Actions

Also available in: Atom PDF