dev/provisioning/modules/yum/manifests/params.pp
author Chloe Laisne <chloe.laisne@gmail.com>
Wed, 03 Aug 2016 22:47:49 +0200
changeset 249 e4204b1a579a
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Quickfix micro-cuts

class yum::params {
  case $::osfamily {
    redhat: {
      $keepcache = false
      $debuglevel = 2
      $exactarch = true
      $obsoletes = true
      $gpgcheck = true
      $installonly_limit = 5
      $keep_kernel_devel = false
    }

    default: {
      fail("Unsupported OS family: ${::osfamily}")
    }
  }
}