summaryrefslogtreecommitdiff
path: root/spec/classes/ntp_install_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/classes/ntp_install_spec.rb')
-rw-r--r--spec/classes/ntp_install_spec.rb22
1 files changed, 1 insertions, 21 deletions
diff --git a/spec/classes/ntp_install_spec.rb b/spec/classes/ntp_install_spec.rb
index 2102878..4ed263e 100644
--- a/spec/classes/ntp_install_spec.rb
+++ b/spec/classes/ntp_install_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe 'ntp::install' do
- ['Debian', 'RedHat', 'SuSE', 'FreeBSD'].each do |osfamily|
+ ['Debian', 'RedHat', 'SuSE', 'FreeBSD', 'Archlinux'].each do |osfamily|
describe "for osfamily #{osfamily}" do
let(:facts) {{ :osfamily => osfamily }}
@@ -49,24 +49,4 @@ describe 'ntp::install' do
end
- describe "for distribution archlinux" do
-
- let(:facts) {{ :osfamily => 'Linux', :operatingsystem => 'ArchLinux' }}
- let(:params) {{
- :package_ensure => 'present',
- :package_name => 'ntp',
- }}
-
- it { should contain_package('ntp').with(
- :ensure => 'present',
- :name => 'ntp'
- )}
-
- it 'should allow package ensure to be overridden' do
- params[:package_ensure] = 'latest'
- subject.should contain_package('ntp').with_ensure('latest')
- end
-
- end
-
end