summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Barton <barton.tomas@gmail.com>2014-01-27 00:14:34 +0100
committerTomas Barton <barton.tomas@gmail.com>2014-01-27 00:14:34 +0100
commitbf16ec7bc701ea7cfda7d64319920e3b9cca4a16 (patch)
treea1a70da426258a8c63245d3ec258d3a12b049313
parent9dc5a1db18ac634512a5509685eaf3b3a60cf6c7 (diff)
removed lsb-release package
-rw-r--r--manifests/debian.pp5
-rw-r--r--spec/classes/init_spec.rb2
2 files changed, 0 insertions, 7 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index ff2d7b1..d827078 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,10 +1,5 @@
class sshd::debian inherits sshd::linux {
- # the templates for Debian need lsbdistcodename
- ensure_resource('package', 'lsb-release', {'ensure' => 'present' })
- #requires stdlib >= 3.2
- #ensure_packages(['lsb-release'])
-
Package[openssh]{
name => 'openssh-server',
}
diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb
index 7628be0..e3003d1 100644
--- a/spec/classes/init_spec.rb
+++ b/spec/classes/init_spec.rb
@@ -41,7 +41,6 @@ describe 'sshd' do
}
end
it_behaves_like "a Linux OS"
- it { should contain_package('lsb-release') }
it { should contain_package('openssh') }
it { should contain_class('sshd::debian') }
it { should contain_service('sshd').with(
@@ -56,7 +55,6 @@ describe 'sshd' do
}
end
it_behaves_like "a Linux OS"
- it { should contain_package('lsb-release') }
it { should contain_package('openssh') }
it { should contain_service('sshd').with({
:hasrestart => true