diff --git a/manifests/params.pp b/manifests/params.pp index fa4766d01..a3cde9ea5 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -86,7 +86,7 @@ '2.centos.pool.ntp.org', ] } - 'SuSE': { + 'Suse': { $config = $default_config $keys_file = $default_keys_file $driftfile = '/var/lib/ntp/drift/ntp.drift' diff --git a/spec/acceptance/ntp_config_spec.rb b/spec/acceptance/ntp_config_spec.rb index 48c89af7e..689ba8e6c 100644 --- a/spec/acceptance/ntp_config_spec.rb +++ b/spec/acceptance/ntp_config_spec.rb @@ -7,7 +7,7 @@ line = '0.debian.pool.ntp.org iburst' when 'RedHat' line = '0.centos.pool.ntp.org' -when 'SuSE' +when 'Suse' line = '0.opensuse.pool.ntp.org' when 'Gentoo' line = '0.gentoo.pool.ntp.org' diff --git a/spec/classes/ntp_spec.rb b/spec/classes/ntp_spec.rb index 4a9fd44f9..809bc12f5 100644 --- a/spec/classes/ntp_spec.rb +++ b/spec/classes/ntp_spec.rb @@ -3,7 +3,7 @@ describe 'ntp' do let(:facts) {{ :is_virtual => 'false' }} - ['Debian', 'RedHat','SuSE', 'FreeBSD', 'Archlinux', 'Gentoo', 'Gentoo (Facter < 1.7)'].each do |system| + ['Debian', 'RedHat','Suse', 'FreeBSD', 'Archlinux', 'Gentoo', 'Gentoo (Facter < 1.7)'].each do |system| context "when on system #{system}" do if system == 'Gentoo (Facter < 1.7)' let :facts do @@ -287,9 +287,9 @@ end end - describe "on osfamily SuSE" do + describe "on osfamily Suse" do let :facts do - super().merge({ :osfamily => 'SuSE' }) + super().merge({ :osfamily => 'Suse' }) end it 'uses the opensuse ntp servers by default' do