Resource Type: selinux_fcontext

Defined in:
lib/puppet/type/selinux_fcontext.rb
Providers:
semanage

Overview

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

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • file_type (defaults to: a)

    The file type to match

    Supported values:
    • %r{^[abcdflps]$}
  • selrange

    The SELinux range

    Supported values:
    • %r{\w+}
  • selrole

    The SELinux role

    Supported values:
    • %r{\w+}
  • seltype

    The SELinux type to apply to the paths

    Supported values:
    • %r{\w+}
    • <>
  • seluser

    The SELinux user name

    Supported values:
    • %r{\w+}

Parameters

  • pathspec

    Path regular expression

  • provider

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

  • title

    The namevar. Should be of the format pathspec_filetype