This module will tune a linux system to use the lowest amount of power. It will spindown harddisks and also tune the system using powertop.
green
: green Main class, includes all other classes.
green::disk
: This class handles harddisk power optimizations. Avoid modifying private classes.green::powertop
: This class handles powertop. Avoid modifying private classes.
The following parameters are available in the green
class.
Data type: Boolean
Whether to use powertop optimizations.
Data type: String
Whether to install the Powertop package, and what version to install. Values: 'present', 'latest', or a specific version number. Default value: 'present'.
Data type: Boolean
Whether to manage the Powertop package. Default value: true.
Data type: Array[String]
Specifies the Powertop package to manage. Default value: ['powertop'] (except on AIX and Solaris).
Data type: Boolean
Whether to enable the Powertop service at boot. Default value: true.
Data type: Enum['running', 'stopped']
Whether the Powertop service should be running. Default value: 'running'.
Data type: Boolean
Whether to manage the Powertop service. Default value: true.
Data type: String
The Powertop service to manage. Default value: varies by operating system.
Data type: String
Which service provider to use for Powertop. Default value: 'undef'.
Data type: Boolean
Data type: String
Data type: Boolean
Data type: Array[String]
Data type: Boolean
Data type: Enum['running', 'stopped']
Data type: Boolean
Data type: String
Data type: Optional[String]
Data type: Boolean
Data type: Boolean
Data type: Hash[String, Integer]
Data type: Integer