Commit be871577 authored by Scotty Logan's avatar Scotty Logan
Browse files

starting yum support

parent 4c28b6ee
Loading
Loading
Loading
Loading

manifests/yum.pp

0 → 100644
+24 −0
Original line number Diff line number Diff line
# == Class: base::yum
#
# Generic YUM configuration for Emerging Technology systems.
#
# === Authors
#
# Xueshan Feng <sfeng@stanford.edu>
# Scotty Logan <swl@stanford.edu>
#
# === Copyright
#
# Copyright (c) 2016 The Board of Trustees of the Leland Stanford Junior
# University
#
class base::yum(
  $sources
) {
  
  validate_hash($sources)

  if $sources {
    create_resources('yumrepo', $sources)
  }
}