Resource Type: selinux_port

Defined in:


Manage SELinux port definitions. You should use selinux::port instead of this directly.


  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • high_port

    The high end of the port range to manage

  • low_port

    The low end of the port range to manage

  • protocol

    The protocol of the SELinux port definition

    Supported values:
    • tcp
    • udp
  • seltype

    The SELinux type of the SELinux port definition

  • source

    Source of the port configuration - either policy or local

    Supported values:
    • policy
    • local


  • provider

    The specific backend to use for this ‘selinux_port` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • title

    Should be of the form “protocol_lowport-highport” or the type may misbehave