dev/provisioning/modules/yum/manifests/params.pp
author ymh <ymh.work@gmail.com>
Tue, 11 Jul 2017 09:49:26 +0200
changeset 540 07239de796bb
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
When building the rpm, ignore folder with transient content

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}")
    }
  }
}