diff --git a/plugins/modules/smart_class_parameter.py b/plugins/modules/smart_class_parameter.py index c71e2c95c..369043d1f 100644 --- a/plugins/modules/smart_class_parameter.py +++ b/plugins/modules/smart_class_parameter.py @@ -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 @@ -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(