Resource Type: selinux_state

Defined in:
lib/puppet/type/selinux_state.rb
Providers:
selinux_state

Overview

Toggle the enforcement of selinux

Properties

  • ensure (defaults to: enforcing)

    Set the SELinux state on the system

    Supported values:
    • false
    • true
    • disabled
    • permissive
    • enforcing

Parameters

  • autorelabel (defaults to: true)

    Automatically determine if the filesystem needs to be relabeled.

    Enforcing > Permissive > Disabled
    

    Going to the right requires relabeling.

    Supported values:
    • true
    • false
    • yes
    • no
  • name (namevar)

    An arbitrary, but unique, name for the resource.

  • provider

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