summaryrefslogtreecommitdiff
path: root/manifests/config.pp
blob: b34ef4fde11ea896591304c4c8b9115a60b55c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class ntp::config(
  $config          = $ntp::config,
  $config_template = $ntp::config_template,
  $panic           = $ntp::panic,
  $restrict        = $ntp::restrict,
  $servers         = $ntp::servers,
) inherits ntp {

  file { $config:
    ensure  => file,
    owner   => 0,
    group   => 0,
    mode    => '0644',
    content => template($config_template),
  }

}