Version information
released Jul 4th 2024
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >=2.7.20 <9.0.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'thias-tuned', '1.0.5'
Learn more about managing modules with a PuppetfileDocumentation
thias/tuned — version 1.0.5 Jul 4th 2024
puppet-tuned
Overview
Install, enable and configure the tuned adaptive system tuning daemon found in Red Hat Enterprise Linux.
tuned
: Class to install and enable tuned
Examples
Install and enable tuned with the ''default'' profile :
include '::tuned'
Install and enable tuned with the ''virtual-host'' profile :
class { '::tuned': profile => 'virtual-host' }
Check the output of tuned-adm list
to see the available profiles on your
systems.
Install and enable tuned with a custom profile, contained in another module :
class { '::tuned':
profile => 'my-super-tweaks',
source => 'puppet:///modules/mymodule/tuned-profiles/my-super-tweaks',
}
The above expects
modules/mymodule/files/tuned-profiles/my-super-tweaks/tuned.conf
and may
include additional scripts next to tuned.conf
.
Install and enable tuned with a custom profile :
class { '::tuned':
profile => 'my-super-tweaks',
settings => {
'main' => {
'include' => 'virtual-guest',
},
'sysctl' => {
'vm.dirty_ratio' => '30',
'vm.swappiness' => '30',
},
},
}
To completely stop, disable and remove tuned :
class { '::tuned': ensure => 'absent' }
2024-07-04 - 1.0.5
- Use os::family==RedHat to detect supported OS (#21, @olifre).
- Add settings parameter for hash based custom tuned profile (#15, @GiooDev).
- Add new $scripts parameter and update README about source being a dir.
2019-11-20 - 1.0.4
- Ensure systemd starts tuned before some DBMS services (#20, @osgpcq).
2016-02-11 - 1.0.3
- Fix ordering, the service must be running to set profile with tuned-adm.
2015-04-28 - 1.0.2
- Notify service(s) when the profile files change.
2015-04-01 - 1.0.1
- Set default profile to 'balanced' on RHEL7 and Fedora.
2014-11-11 - 1.0.0
- Add support for newer RHEL/CentOS 7 (#7, @stzilli).
2014-04-08 - 0.2.1
- Make tuned fail gracefully on unsupported systems (idea from cstackpole).
- Add support for CloudLinux (#3, Maurits Landewers).
- Fix missing /sbin from tuned-adm profile exec (#5, @mlehner616).
2013-03-07 - 0.2.0
- Support external custom profiles.
- Support ensure => absent for removal.
- Change to 2 space indent.
- Add examples and use markdown for the README.
2012-10-11 - 0.0.1
- Initial module release.
Copyright (C) 2012-2016 Matthias Saou Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.