Puppet Class: fancontrol

Defined in:
manifests/init.pp

Overview

Parameters:

  • modules (Array[String]) (defaults to: ['coretemp', 'jc42', 'w83627ehf', 'w83795'])


12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/init.pp', line 12

class fancontrol (
  Array[String] $modules = ['coretemp', 'jc42', 'w83627ehf', 'w83795']
) {
  package { 'lm_sensors': }

  -> file { '/etc/conf.d/lm_sensors':
    ensure  => file,
    content => template('fancontrol/lm_sensors.conf.erb')
  }

  -> service { 'lm_sensors':
    ensure => running,
    enable => true
  }
}