aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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