diff options
author | Tomas Barton <barton.tomas@gmail.com> | 2014-01-27 00:14:34 +0100 |
---|---|---|
committer | Tomas Barton <barton.tomas@gmail.com> | 2014-01-27 00:14:34 +0100 |
commit | bf16ec7bc701ea7cfda7d64319920e3b9cca4a16 (patch) | |
tree | a1a70da426258a8c63245d3ec258d3a12b049313 | |
parent | 9dc5a1db18ac634512a5509685eaf3b3a60cf6c7 (diff) | |
download | puppet-sshd-bf16ec7bc701ea7cfda7d64319920e3b9cca4a16.tar.gz puppet-sshd-bf16ec7bc701ea7cfda7d64319920e3b9cca4a16.tar.bz2 |
removed lsb-release package
-rw-r--r-- | manifests/debian.pp | 5 | ||||
-rw-r--r-- | spec/classes/init_spec.rb | 2 |
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 |