Puppet Class: yum_cron::install

Defined in:
manifests/install.pp

Summary

Install yum-cron

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/install.pp', line 3

class yum_cron::install {
  if $caller_module_name != $module_name {
    fail("Use of private class ${name} by ${caller_module_name}")
  }

  package { 'yum-cron':
    ensure => $yum_cron::package_ensure_real,
    name   => $yum_cron::package_name,
  }

  if $facts['os']['name'] =~ /Scientific/ and $yum_cron::yum_autoupdate_ensure == 'absent' {
    package { 'yum-autoupdate':
      ensure  => absent,
    }
  }
}