dev/provisioning/modules/yum/manifests/params.pp
author ymh <ymh.work@gmail.com>
Fri, 12 Feb 2016 22:31:48 +0100
changeset 123 4c97e9da1416
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Remove use of global variables + remove ember-cli-content-security-policy from package.json to avoid bogus csp violation warnings

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