Forge Home


Manages the configuration of Power Management profiles on Suse Enterprise LInux


6,996 latest version

4.2 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.3.0 (latest)
  • 1.2.1
  • 1.2.0 (deleted)
  • 1.1.0 (deleted)
  • 1.0.0 (deleted)
  • 0.0.10 (deleted)
  • 0.0.9 (deleted)
  • 0.0.8 (deleted)
  • 0.0.7 (deleted)
  • 0.0.6 (deleted)
  • 0.0.5 (deleted)
  • 0.0.4 (deleted)
  • 0.0.3 (deleted)
  • 0.0.2 (deleted)
  • 0.0.1 (deleted)
released Feb 3rd 2017
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.0.0 < 5.0.0

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'exodusftw-pm_profiler', '1.3.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add exodusftw-pm_profiler
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install exodusftw-pm_profiler --version 1.3.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



exodusftw/pm_profiler — version 1.3.0 Feb 3rd 2017


Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module
  7. Extensibility
  8. Authors
  9. Change Log


Manages installation and configuration of SUSE power management profiles

To retrieve from Puppet Forge either:

  • Click Here
  • Execute Command puppet module install exodusftw-pm_profiler

Module Description

Manages the installation, configuration, and maintenance of the SUSE Enterprise Linux Power Management Profiles

In order to get started with installation, ensure the Packages listed Here are available in your package manager of Choice:

Also - Please update the following variables for your environment as necessary in params.pp

  • pm_profiler_version: Version of pm-profiler package to install - defaults to present

What Is Managed


  • /etc/pm-profiler.conf


  • pm-profiler


  • pm-profiler

Other Resources

  • exec entries


  • puppetlabs/stdlib



class { 'pm-profiler':
  pm_profiler_version => 'latest',

ENC Setup

Overrides are available for:

  • pm_profiler_version - Defaults to present
    • To force installation of latest version - ensure latest RPM's are present in backend YUM/SMT Repo
    • Configure necessary Matcher values in ENC and set value to: latest


Classes and Parameters

  • pm_profiler: The main module class Code Detail
  • pm_profiler::params: Default Params class Code Detail
  • pm_profiler::install: Manages installation of pm-profiler package Code Detail
  • pm_profiler::config: Manages configuration in /etc/pm-profiler.conf Code Detail
  • pm_profiler::service: Manages and Ensures Agent process are running Code Detail

Defined Types Provided

  • pm_profiler::pm_config: Enables creation and application of custom power management profile Code Detail

  • available type attributes:

    • description: Description of Power Management Profile

      • Data Type: string
    • cpu_governor: CPU frequency scaling governor

      • Valid values: powersave, performance, ondemand, userspace
      • Data Type: string
    • read_ahead_kb: Read ahead size in KB

      • Defaults to Empty String - ``
      • Data Type: integer
    • power_savings: CPU Power Savings

      • Defaults to 0
      • Data Type: integer
    • sata_alpm: SATA Aggressive Link Power Management

      • Valid values: min_power, max_performance, medium_power
      • Data Type: string
    • hal_disable_polling: Disable polling on drives with removable media

      • Defaults to Empty String - ``
      • Data Type: integer
    • dirty_writeback_centisecs: Kernel buffers writes to files that applications perform for a period of time

      • Defaults to Empty String - ``
      • Data Type: integer
    • external_hook: External script or binary which gets executed at the end of profile activation

      • Data Type: string
    • power_button_hook: Command to execute when the power button is pressed and there is no active and running X session

      • Data Type: string
    • ondemand_up_threshold: Defines the time the CPU has to be busy in order to switch up frequencies

      • Defaults to Empty String - ``
      • Data Type: string
    • ondemand_sampling_rate: Modify kernel default sampling rate value

      • Defaults to Empty String - ``
      • Data Type: integer
    • ondemand_powersave_bias: Lowers the target CPU frequency by a specified percent

      • Defaults to Empty String - ``
      • Configured in units of 0.1%, so it has an effective range of 1 through 1000, resulting in 0.1% to 100% impact
      • Data Type: integer


pm_profiler::pm_config  { 'sap_hana':
  description  => 'Power management profile for sap_hana',
  cpu_governor => 'performance',

Facts Provided



Tested on:

  • SLES 10sp4
  • SLES 11 (SP1, SP2, SP3)
  • SLES 12


No special development requirements