Sha256: a1c865f237beabff1982b70b21b940b91289674b46a534c7f003c182055208d7

Contents?: true

Size: 368 Bytes

Versions: 16

Compression:

Stored size: 368 Bytes

Contents

# @summary Manage /tmp/ntp.conf file
#
# Given an array of ntpservers, manage the /tmp/ntp.conf file
#
# @example
#   include ntp::config
#
# @param ntpservers
#   An array of ntpserver(s) that should be present in the conf file
class ntp::config(
  Array[String[1], 1] $ntpservers = undef,
) {

  file { '/tmp/ntp.conf':
    content => epp('ntp/ntp.conf.epp')
  }

}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
puppet-8.10.0 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.10.0-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.10.0-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.10.0-universal-darwin examples/hiera/modules/ntp/manifests/config.pp
puppet-8.9.0 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.9.0-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.9.0-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.9.0-universal-darwin examples/hiera/modules/ntp/manifests/config.pp
puppet-8.8.1 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.8.1-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.8.1-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.8.1-universal-darwin examples/hiera/modules/ntp/manifests/config.pp
puppet-8.7.0 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.7.0-x86-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.7.0-x64-mingw32 examples/hiera/modules/ntp/manifests/config.pp
puppet-8.7.0-universal-darwin examples/hiera/modules/ntp/manifests/config.pp