Version information
This version is compatible with:
- Puppet Enterprise 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, 2016.4.x
- Puppet >= 4.10.0 < 7.0.0
- , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'kclnmssys-fahclient', '0.2.7'
Learn more about managing modules with a PuppetfileDocumentation
fahclient
This module will install and configure the Folding@Home client on RedHat and Debian derived operating systems.
Development
Pull requests are accepted on GitHub.
Reference
Table of Contents
Classes
fahclient
: Folding@Home clientfahclient::params
: Distro-specific default settings
Classes
fahclient
Folding@Home client
Parameters
The following parameters are available in the fahclient
class.
user
Data type: String
Folding@Home username
passkey
Data type: String
Folding@home user's passkey
team_id
Data type: Integer
Folding@home team ID number
ensure
Data type: Enum['absent', 'present']
Ensure absent or present (default)
Default value: 'present'
version
Data type: Optional[String]
Which version to install (optional)
Default value: undef
cause
Data type: Pattern[/^[A-Z]+$/]
Which Folding@Home cause to support (ANY, COVID_19, etc)
Default value: 'ANY'
power
Data type: Enum['light', 'medium', 'full']
How much CPU/GPU resource to use
Default value: 'medium'
gpu
Data type: Boolean
Whether to use GPU
Default value: true
gpu_slots
Data type: Integer
How many GPU slots to use
Default value: 0
cpu_slots
Data type: Integer
How many CPU slots to use
Default value: 1
cpus_per_slot
Data type: Integer
How many CPUs per CPU slot
Default value: /
package_source_path
Data type: Optional[String]
URL or local file path to package file (.rpm or .deb) On RedHat-based distros this can be a URL, on Debian-based it must be a local file If set to undef, package will be installed for a pre-configured repo
Default value: $fahclient::params::package_source
uid
Data type: Optional[Integer]
Optional fixed uid for fahclient user
Default value: undef
gid
Data type: Optional[Integer]
Optional fixed gid for fahclient user
Default value: undef
manage_service
Data type: Boolean
Whether to manage service
Default value: true
service_ensure
Data type: Enum['running', 'stopped']
Whether service should be running or stopped
Default value: 'running'
service_enable
Data type: Boolean
Whether to enable service
Default value: true
fahclient::params
Distro-specific default settings
Changelog
All notable changes to this project will be documented in this file.
Release 0.1.0
Initial release.
Release 0.1.1
Documentation and code formatting, no functional changes.
Release 0.1.2
Add REFERENCE.md file.
Release 0.1.3
Minor documentation update.
Release 0.2.0
- Support multiple CPU slots to handle large CPU counts (https://foldingforum.org/viewtopic.php?f=106&t=33511&p=319452)
- Remove old/invalid configuration option
Release 0.2.1
- Fix bug
Release 0.2.2
- Updated metadata.json tags
Release 0.2.3
- Support specifying uid and gid for fahclient user
- Allow service to be kept stopped/disabled
Release 0.2.4
- Fix config.xml file definition when not managing service
Release 0.2.5
- Allow specifying version of package
Release 0.2.6
- Fix to allow underscore in cause parameter
Release 0.2.7
- Fix to allow digits in cause parameter