Project

General

Profile

Actions

Bug #23789

closed

hammer sc-param setting Type

Added by Stephen Cooke over 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Smart variables
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

hammer sc-param info --id 1759
Id: 1759
Parameter: latest
Default Value: false
Override: true
Puppet class: yum::client
Description:
Type: string

I am having trouble getting true/false values set using hammer sc-param

The values are going in as strings with ["true"] and not just "true"

can someone explain where the [" "] is coming from please. as this is causing Boolean validation to fail when updating the class

I need to get hammer to add TYPE=Boolean , how is this done please?

class myclass (
Boolean $myvar = true
) {
....some stuff
}

Actions

Also available in: Atom PDF