summaryrefslogtreecommitdiff
path: root/manifests/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config.pp')
-rw-r--r--manifests/config.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
new file mode 100644
index 0000000..b34ef4f
--- /dev/null
+++ b/manifests/config.pp
@@ -0,0 +1,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),
+ }
+
+}