Project

General

Profile

Bug #14927

Cannot set 'use puppet default' value for smart parameter overrides using hammer-cli

Added by Adam Ruzicka almost 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Variables
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Run

hammer sc-param add-override-value --match "$match" --puppet-class $class --smart-class-parameter $param --use-puppet-default=1

Current result:

Could not create the override_value:
  Missing arguments for 'override_value[value]'

Expected result:
Override value created

Associated revisions

Revision a9fffdb1 (diff)
Added by Ori Rabin almost 4 years ago

Fixes #14927 - correct override value requirment

override value should only be required when use_puppet_default is false

Revision c37d431f (diff)
Added by Ori Rabin almost 4 years ago

Fixes #14927 - correct override value requirment

override value should only be required when use_puppet_default is false

(cherry picked from commit a9fffdb15c2e20b4ca11cbfe4ca7a89d34e35773)

Revision 40c3235e (diff)
Added by Dominic Cleal almost 4 years ago

refs #14927 - revert string change

History

#1 Updated by Adam Ruzicka almost 4 years ago

The 'value' is set as required in Foreman's API

#2 Updated by Ori Rabin almost 4 years ago

  • Status changed from New to Need more information
  • Assignee set to Ori Rabin

#3 Updated by Ori Rabin almost 4 years ago

  • Status changed from Need more information to Assigned

#4 Updated by The Foreman Bot almost 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3493 added

#5 Updated by Ori Rabin almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal almost 4 years ago

  • Category set to Smart Variables
  • Legacy Backlogs Release (now unused) set to 155

Also available in: Atom PDF