config.pp 286 Bytes
Newer Older
Emmanuel Medernach's avatar
Emmanuel Medernach committed
1
class yum::config {
2 3 4 5 6 7

  file { "/etc/yum.conf":
    owner => 'root',
    group => 'root',
    mode => '0644',
    content => template('yum/yum.conf.erb'),
Emmanuel Medernach's avatar
Emmanuel Medernach committed
8
  }
9 10 11 12

  $listofrepos = array2hash($yum::repositories[$yum::profile], $yum::description)

  create_resources(yumrepo, $listofrepos)
Emmanuel Medernach's avatar
Emmanuel Medernach committed
13
}