tuned
Table of Contents
- Module Description - What the module does and why it is useful
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
Module Description
This module manages tuned on RedHat systems. This Puppet module simplifies the task of creating tuned profile and the management of the active one
Usage
Basic usage
include ::tuned
Enable a standard profile
class {'::tuned':
active_profile => 'virtual-guest',
}
Define and enable a custom profile
class {'::tuned':
active_profile => 'mongodb',
}
tuned::profile { 'mongodb':
conf_content => 'template("mymodule/mongodb_tuned.erb")',
scripts => {
'thp.sh' => 'template("mymodule/disable_thp.sh.erb")',
}
}
Reference
Public classes
Example:
class {'::tuned':
active_profile => 'virtual-guest',
}
Public Defined types
Example:
tuned::profile { 'mongodb':
conf_content => 'template("mymodule/mongodb_tuned.erb")',
scripts => {
'thp.sh' => 'template("mymodule/disable_thp.sh.erb")',
}
}