Sha256: 2f9ebc49453da49e770328469d081563a47cdaf41784587985af3063f7239876

Contents?: true

Size: 832 Bytes

Versions: 10

Compression:

Stored size: 832 Bytes

Contents

#
# Simple module for manageing SELinux booleans
#

module Puppet
    newtype(:selboolean) do
        @doc = "Manages SELinux booleans on systems with SELinux support.  The supported booleans
            are any of the ones found in /selinux/booleans/."

        newparam(:name) do
            desc "The name of the SELinux boolean to be managed."
            isnamevar
        end

        newproperty(:value) do
            desc "Whether the the SELinux boolean should be enabled or disabled."
            newvalue(:on)
            newvalue(:off)
        end

        newparam(:persistent) do
            desc "If set true, SELinux booleans will be written to disk and persist accross reboots.
                The default is ``false``."

            defaultto :false
            newvalues(:true, :false)
        end

    end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
puppet-0.25.5 lib/puppet/type/selboolean.rb
puppet-0.25.4 lib/puppet/type/selboolean.rb
puppet-0.25.3 lib/puppet/type/selboolean.rb
puppet-0.24.9 lib/puppet/type/selboolean.rb
puppet-0.25.2 lib/puppet/type/selboolean.rb
puppet-0.25.1 lib/puppet/type/selboolean.rb
puppet-0.25.0 lib/puppet/type/selboolean.rb
puppet-0.24.6 lib/puppet/type/selboolean.rb
puppet-0.24.7 lib/puppet/type/selboolean.rb
puppet-0.24.8 lib/puppet/type/selboolean.rb