summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorDave Simons <dave@inuits.eu>2013-07-10 21:58:06 +0200
committerDave Simons <dave@inuits.eu>2013-07-10 21:58:06 +0200
commit07e7ca64d92c2b6376287232cd9bde687c0e9be9 (patch)
treee1ccd4cf49150eab1db27f5c47819f776225f9c5 /manifests
parentf9045347c3751e8184aee9d5d23a86961c5c35e6 (diff)
Archlinux now also has osfamily fact
Signed-off-by: Dave Simons <dave@inuits.eu>
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 3486f6f..a8315e7 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'