Puppet Class: yum::updatesd

Defined in:
manifests/updatesd.pp

Summary

Manage yum-updatesd which is available on EL5, though not EL6 This is defaulted to being disabled.

Overview

Parameters:

  • updatesd_package (String) (defaults to: 'yum-updatesd')

    Specify name of yum updatesd package.

  • updatesd_package_ensure (String) (defaults to: 'absent')

    Set ensure attribute for package resource. Valid values are: 'present', 'absent', 'latest', and 'purged'.

  • updatesd_service (String) (defaults to: 'yum-updatesd')

    Specify name of yum updatesd service.

  • updatesd_service_ensure (Stdlib::Ensure::Service) (defaults to: 'stopped')

    Set ensure attribute for service resource. Valid values are: 'running' and 'stopped'.

  • updatesd_service_enable (Variant[String,Boolean]) (defaults to: false)

    Set enable attribute for service resource. Valid values are: 'true', 'false', 'manual', and 'mark'.



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'manifests/updatesd.pp', line 22

class yum::updatesd (
  String $updatesd_package                         = 'yum-updatesd',
  String $updatesd_package_ensure                  = 'absent',
  String $updatesd_service                         = 'yum-updatesd',
  Stdlib::Ensure::Service $updatesd_service_ensure = 'stopped',
  Variant[String,Boolean] $updatesd_service_enable = false,
) {

  package { 'yum_updatesd_package':
    ensure => $updatesd_package_ensure,
    name   => $updatesd_package,
  }

  service { 'yum_updatesd_service':
    ensure => $updatesd_service_ensure,
    name   => $updatesd_service,
    enable => $updatesd_service_enable,
    before => Package['yum_updatesd_package'],
  }
}