Sha256: b31f8d2353d945749196c0d7bd6c7d67edc6a8ce4ebf0723a6858312ea098aa0

Contents?: true

Size: 207 Bytes

Versions: 743

Compression:

Stored size: 207 Bytes

Contents

# lookup ntpservers from hiera, or allow user of class to provide other value
class ntp::config($ntpservers = hiera('ntpservers')) {
  file{'/tmp/ntp.conf':
    content => template('ntp/ntp.conf.erb')
  }
}

Version data entries

743 entries across 743 versions & 2 rubygems

Version Path
puppet-7.34.0 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.34.0-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.34.0-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.34.0-universal-darwin examples/hiera/modules/ntp/manifests/config.pp
puppet-7.33.0 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.33.0-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.33.0-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.33.0-universal-darwin examples/hiera/modules/ntp/manifests/config.pp
puppet-8.3.0 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.3.0-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.3.0-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.3.0-universal-darwin examples/hiera/modules/ntp/manifests/config.pp
puppet-7.32.1 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.32.1-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.32.1-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.32.1-universal-darwin examples/hiera/modules/ntp/manifests/config.pp
puppet-7.31.0 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.31.0-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.31.0-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-7.31.0-universal-darwin examples/hiera/modules/ntp/manifests/config.pp