Project

General

Profile

Actions

Bug #23787

closed

Hammer Overriden Smart Variable Formatting Issues

Added by Eric Hansen almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Smart variables
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Modify a smart variable like so,
hammer sc-param add-override-value --match fqdn=atm-centos75-orcl12c.automation.local --puppet-class-id 59 --smart-class-parameter-id 944 --value 12.1.0.2

Get an error, like so... no way around it that I see. The variable is a "string" with validation to be one of the values listed. I manually see this JSON format in the GUI as well, so no way I can turn off the validation to get this to work.

Could not create the override value:
Validation failed: Value ["12.1.0.2"] is not one of 12.2.0.1, 12.1.0.2, 11.2.0.1


Files

Capture.JPG View Capture.JPG 36.2 KB Eric Hansen, 06/04/2018 11:14 PM
Actions

Also available in: Atom PDF