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

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

}