Puppet Class: cloudinsight_agent::integrations::ntp

Inherits:
cloudinsight_agent::params
Defined in:
manifests/integrations/ntp.pp

Overview

Parameters:

  • offset_threshold (Any) (defaults to: 60)


16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'manifests/integrations/ntp.pp', line 16

class cloudinsight_agent::integrations::ntp(
  $offset_threshold = 60,
) inherits cloudinsight_agent::params {

  file { "${cloudinsight_agent::params::conf_dir}/ntp.yaml":
    ensure  => file,
    owner   => $cloudinsight_agent::params::cloudinsight_user,
    group   => $cloudinsight_agent::params::cloudinsight_group,
    mode    => '0600',
    content => template('cloudinsight_agent/agent-conf.d/ntp.yaml.erb'),
    require => Package[$cloudinsight_agent::params::package_name],
    notify  => Service[$cloudinsight_agent::params::service_name]
  }
}