summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAshley Penney <apenney@gmail.com>2013-07-12 06:03:46 -0700
committerAshley Penney <apenney@gmail.com>2013-07-12 06:03:46 -0700
commit8ecb0c94a4633e90f8e892098da10ef08a30b5bc (patch)
tree50fafbcd4f6ad6856785dbf1cc504278936766e2 /manifests
parent4e815f995d059f462f6c1966ebd6ffbcffa4807e (diff)
parentca913f8a265ea78ca4acae484ff2e817c668d14c (diff)
Merge pull request #69 from simonsd/master
Archlinux now also has an osfamily fact
Diffstat (limited to 'manifests')
-rw-r--r--manifests/params.pp22
1 files changed, 11 insertions, 11 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index f370f8d..3fd8eaf 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -61,20 +61,20 @@ class ntp::params {
'3.freebsd.pool.ntp.org iburst maxpoll 9',
]
}
+ 'Archlinux': {
+ $config = '/etc/ntp.conf'
+ $config_template = 'ntp/ntp.conf.archlinux.erb'
+ $package_name = ['ntp']
+ $service_name = 'ntpd'
+ $servers = [
+ '0.pool.ntp.org',
+ '1.pool.ntp.org',
+ '2.pool.ntp.org',
+ ]
+ }
'Linux': {
# Account for distributions that don't have $::osfamily specific settings.
case $::operatingsystem {
- 'Archlinux': {
- $config = '/etc/ntp.conf'
- $config_template = 'ntp/ntp.conf.archlinux.erb'
- $package_name = ['ntp']
- $service_name = 'ntpd'
- $servers = [
- '0.pool.ntp.org',
- '1.pool.ntp.org',
- '2.pool.ntp.org',
- ]
- }
'Gentoo': {
$config = '/etc/ntp.conf'
$config_template = 'ntp/ntp.conf.gentoo.erb'