dev/provisioning/modules/yum/manifests/params.pp
author ymh <ymh.work@gmail.com>
Sat, 10 Jun 2017 08:33:03 +0200
changeset 532 1190ea937f2d
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
make things work after node 8, npm 5 migration. Migrate to lodash 4

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