dev/provisioning/modules/yum/manifests/params.pp
author ymh <ymh.work@gmail.com>
Wed, 09 Nov 2016 23:41:15 +0100
changeset 407 2dba812c7ef2
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
add a way to build rpm for puppet files, correct elasticsearch provisioning, correct error on elasticsearch queries + tests

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