- Overview
- Module Description - What is the windows_power module?
- Setup - The basics of getting started with windows_power
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Puppet module for managing windows power settings
The purpose of this module is to manage each of the windows power schemes and the various global power settings
- Creates new power schemes (which will alter registry settings)
Create new power scheme:
windows_power::schemes::scheme { 'test scheme':
scheme_name => 'test',
scheme_guid => '381b4222-f694-41f0-9685-ff5bbxx65ddx',
template_scheme => '381b4222-f694-41f0-9685-ff5bb260df2e',
activation => 'active',
ensure => 'present',
}
Parameters within windows_power::schemes::scheme
:
The name of the scheme to configure
The windows guid used to uniquely identify the power scheme
The windows guid of an existing scheme to be used as a template for the current scheme
Set the current scheme as the active scheme
Configure if the scheme is present or absent The initial version
Parameters within windows_power::schemes::settings
:
The name of the scheme to configure
The setting to configure
The value set the setting to - minutes or throttle
Parameters within windows_power::global::battery
:
Battery alarm setting to The initial versionconfigure
Setting configuration (on/off) or percentage (in the case of the level setting)
The level of battery criticality at which to provide an alarm. LOW or HIGH.
Parameters within windows_power::global::flags
:
The global power flag to configure
Setting configuration (on/off)
Parameters within windows_power::global::hibernation
:
Setting configuration (on/off)
Parameters within windows_power::devices::override
:
Specifies one of the following caller types: PROCESS, SERVICE, DRIVER
Specifies one or more of the following Power Request Types: Display, System, Awaymode
Parameters within windows_power::devices::wake
:
Specifies the device name
Enable or disable the device for waking
windows_power::schemes::scheme
: Guides the management of windows power schemeswindows_power::schemes::settings
: Configures individual settings with a given scheme.windows_power::global::battery
: Configure power battery alarms.windows_power::global::flags
: Configure the global settings for windows power schemeswindows_power::global::hiberation
: Configure the hibernation settingwindows_power::devices::override
: Configure power overrides for certain deviceswindows_power::devices::wake
: Configure the device wake settings
This module is tested on the following platforms:
- Windows 2008 R2
It is tested with the OSS version of Puppet only.
Please read CONTRIBUTING.md for full details on contributing to this project.