Skip to content

Latest commit

 

History

History
164 lines (101 loc) · 5.05 KB

File metadata and controls

164 lines (101 loc) · 5.05 KB

Reference

Table of Contents

Classes

Defined types

Classes

kernel

File:: init.pp Author:: Sebastien Varrette (Sebastien.Varrette@uni.lu) Copyright:: Copyright (c) 2011 Sebastien Varrette License:: GPLv3


= Class: kernel

Configure various aspects of Linux kernel (modules etc.)

== Requires:

n/a

== Sample Usage:

import kernel

You can then specialize the various aspects of the configuration, for instance:

    include 'kernel'

== Warnings

/!\ Always respect the style guide available here[http://docs.puppetlabs.com/guides/style_guide]

[Remember: No empty lines between comments and class definition]

kernel::common

File:: init.pp Author:: Sebastien Varrette (Sebastien.Varrette@uni.lu) Copyright:: Copyright (c) 2011 Sebastien Varrette License:: GPLv3


= Class: kernel::common

Base class to be inherited by the other kernel classes

Note: respect the Naming standard provided here[http://projects.puppetlabs.com/projects/puppet/wiki/Module_Standards]

kernel::common::debian

File:: debian.pp Author:: Sebastien Varrette (Sebastien.Varrette@uni.lu) Copyright:: Copyright (c) 2011 Sebastien Varrette License:: GPLv3


= Class: kernel::common::debian

Specialization class for Debian systems

kernel::common::redhat

File:: redhat.pp Author:: Sebastien Varrette (Sebastien.Varrette@uni.lu) Copyright:: Copyright (c) 2011 Sebastien Varrette License:: GPLv3


= Class: kernel::common::redhat

Specialization class for Redhat systems

kernel::params

File:: kernel-params.pp Author:: Sebastien Varrette (Sebastien.Varrette@uni.lu) Copyright:: Copyright (c) 2011 Sebastien Varrette License:: GPL v3


= Class: kernel::params

In this class are defined as variables values that are used in other kernel classes. This class should be included, where necessary, and eventually be enhanced with support for more OS

== Warnings

/!\ Always respect the style guide available here[http://docs.puppetlabs.com/guides/style_guide]

The usage of a dedicated param classe is advised to better deal with parametrized classes, see http://docs.puppetlabs.com/guides/parameterized_classes.html

[Remember: No empty lines between comments and class definition]

Defined types

kernel::module

File:: kernel-module.pp Author:: Sebastien Varrette (Sebastien.Varrette@uni.lu) Copyright:: Copyright (c) 2011 Sebastien Varrette (www[http://varrette.gforge.uni.lu]) License:: GPLv3

Time-stamp: <Tue 2011-10-04 22:37 svarrette>

= Define: kernel::module

This definition permits to handle loading/unloading Linux kernel modules and also ensuring they are loaded automatically at boot. Resources: http://projects.puppetlabs.com/projects/1/wiki/Kernel_Modules_Patterns

== Pre-requisites

n/a

== Parameters

[ensure] Present/Absent (default: $sysadmin::ensure)

== Warnings

/!\ Always respect the style guide available here[http://docs.puppetlabs.com/guides/style_guide]

[Remember: No empty lines between comments and class definition]

Parameters

The following parameters are available in the kernel::module defined type:

ensure

Data type: Any

Default value: 'present'