Project

General

Profile

Actions

Bug #33821

open

Kafo should not allow passing parameters for disabled classes

Added by Eric Helms over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
High
Assignee:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Based on a discussion in https://github.com/theforeman/forklift/pull/1430#discussion_r739191912.

If a class (let's say puppet) is disabled, you can pass

--puppet-server true
but that's silently ignored. You need to explicitly pass
--enable-puppet --puppet-server true
to get the option to be recognized and passed to the Puppet.

The alternative is to silently enable the class but this may surprise a user. An explicit error allows users to understand they're enable additional functionality.

Actions #1

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Eric Helms over 2 years ago

  • Priority changed from Normal to High
Actions

Also available in: Atom PDF