summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/config.pp2
-rw-r--r--manifests/params.pp10
2 files changed, 6 insertions, 6 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index 30a46aa..3295548 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -10,7 +10,7 @@ class ntp::config(
owner => 0,
group => 0,
mode => '0644',
- content => template("ntp/${config_template}"),
+ content => template($config_template),
}
}
diff --git a/manifests/params.pp b/manifests/params.pp
index ba9a540..9d20a13 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -8,7 +8,7 @@ class ntp::params() {
case $::osfamily {
'Debian': {
$config = '/etc/ntp.conf'
- $config_template = 'ntp.conf.debian.erb'
+ $config_template = 'ntp/ntp.conf.debian.erb'
$package_name = [ 'ntp' ]
$service_name = 'ntp'
$servers = [
@@ -20,7 +20,7 @@ class ntp::params() {
}
'RedHat': {
$config = '/etc/ntp.conf'
- $config_template = 'ntp.conf.el.erb'
+ $config_template = 'ntp/ntp.conf.el.erb'
$package_name = [ 'ntp' ]
$service_name = 'ntpd'
$servers = [
@@ -31,7 +31,7 @@ class ntp::params() {
}
'SuSE': {
$config = '/etc/ntp.conf'
- $config_template = 'ntp.conf.suse.erb'
+ $config_template = 'ntp/ntp.conf.suse.erb'
$package_name = [ 'ntp' ]
$service_name = 'ntp'
$servers = [
@@ -43,7 +43,7 @@ class ntp::params() {
}
'FreeBSD': {
$config = '/etc/ntp.conf'
- $config_template = 'ntp.conf.freebsd.erb'
+ $config_template = 'ntp/ntp.conf.freebsd.erb'
$package_name = ['net/ntp']
$service_name = 'ntpd'
$servers = [
@@ -58,7 +58,7 @@ class ntp::params() {
case $::operatingsystem {
'Archlinux': {
$config = '/etc/ntp.conf'
- $config_template = 'ntp.conf.archlinux.erb'
+ $config_template = 'ntp/ntp.conf.archlinux.erb'
$package_name = ['ntp']
$service_name = 'ntpd'
$servers = [