Skip to content

Commit

Permalink
add puppetclass/smart_class_parameter aliases to smart_class_parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Aug 23, 2023
1 parent 6f16984 commit fb26556
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions plugins/modules/smart_class_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@
description: Name of the puppetclass that own the parameter
required: true
type: str
aliases:
- puppetclass
parameter:
description: Name of the parameter
required: true
type: str
aliases:
- smart_class_parameter
description:
description: Description of the Smart Class Parameter
type: str
Expand Down Expand Up @@ -205,8 +209,8 @@ def ensure_override_values(self, entity, expected_override_values):
def main():
module = ForemanSmartClassParameterModule(
argument_spec=dict(
puppetclass_name=dict(required=True),
parameter=dict(required=True),
puppetclass_name=dict(required=True, aliases=['puppetlcass']),
parameter=dict(required=True, aliases=['smart_class_parameter']),
state=dict(default='present', choices=['present_with_defaults', 'present']),
),
foreman_spec=dict(
Expand Down

0 comments on commit fb26556

Please sign in to comment.