Skip to content

Unable to run unbanips Puppet Task #241

Description

@DimiChrys

When attempting to run the unbanip Puppet task, the following error occurs when loading metadata:

Error loading metadata: Type declaration "Array[Stdlib::IP::Address]" for parameter "ips" is not a valid type

Steps to Reproduce:

  • Run the unbanip task (from the fail2ban module).

  • Observe the metadata validation error.

Versions in Use / Module Requirements:

  • Fail2Ban.
    • Using v5.0.2 (latest)
  • ExtLib.
    • Using v7.2.0
    • "version_requirement": ">= 3.0.0 < 8.0.0"
  • StdLib.
    • Using v9.6.0
    • "version_requirement": ">= 4.25.0 < 10.0.0"

Expected Behavior:

  • The unbanip task should accept an array of IP addresses and run successfully.

Actual Behavior:

  • Task fails to load due to an invalid type declaration for ips.

Additional Context:

  • The parameter in tasks/unbanip.json is currently defined as:
    "ips": { "description": "IP addresses to unban", "type": "Array[Stdlib::IP::Address]"
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions