From 07e7ca64d92c2b6376287232cd9bde687c0e9be9 Mon Sep 17 00:00:00 2001 From: Dave Simons Date: Wed, 10 Jul 2013 21:58:06 +0200 Subject: Archlinux now also has osfamily fact Signed-off-by: Dave Simons --- manifests/params.pp | 22 +++++++++++----------- 1 file 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' -- cgit v1.2.3