Sha256: 64045195514e874618251f35581319261c99d4c799ac2b1c1ab9667656a930d1

Contents?: true

Size: 526 Bytes

Versions: 17

Compression:

Stored size: 526 Bytes

Contents

# This class is called from the kafo configure script
# and expects a yaml file to exist at either:
#   optional $answers class parameter
#   $modulepath/config/answers.yaml
#   /etc/kafo-configure/answers.yaml
#
# @param add_progress
#   Whether to add a progress bar. Only works on Puppet < 6.
class kafo_configure(
  Boolean $add_progress = $::kafo_add_progress,
) {
  if $add_progress and SemVer($facts['puppetversion']) =~ SemVerRange('< 6.0.0') {
    add_progress()
  }

  lookup('classes', {merge => unique}).include
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
kafo-6.5.0 modules/kafo_configure/manifests/init.pp
kafo-6.4.1 modules/kafo_configure/manifests/init.pp
kafo-6.4.0 modules/kafo_configure/manifests/init.pp
kafo-6.3.0 modules/kafo_configure/manifests/init.pp
kafo-6.2.1 modules/kafo_configure/manifests/init.pp
kafo-6.2.0 modules/kafo_configure/manifests/init.pp
kafo-6.1.2 modules/kafo_configure/manifests/init.pp
kafo-6.1.1 modules/kafo_configure/manifests/init.pp
kafo-6.1.0 modules/kafo_configure/manifests/init.pp
kafo-6.0.0 modules/kafo_configure/manifests/init.pp
kafo-5.1.0 modules/kafo_configure/manifests/init.pp
kafo-5.0.1 modules/kafo_configure/manifests/init.pp
kafo-5.0.0 modules/kafo_configure/manifests/init.pp
kafo-4.1.0 modules/kafo_configure/manifests/init.pp
kafo-4.0.1 modules/kafo_configure/manifests/init.pp
kafo-4.0.0 modules/kafo_configure/manifests/init.pp
kafo-3.0.0 modules/kafo_configure/manifests/init.pp