]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
removed lsb-release package
authorTomas Barton <barton.tomas@gmail.com>
Sun, 26 Jan 2014 23:14:34 +0000 (00:14 +0100)
committerTomas Barton <barton.tomas@gmail.com>
Sun, 26 Jan 2014 23:14:34 +0000 (00:14 +0100)
manifests/debian.pp
spec/classes/init_spec.rb

index ff2d7b12ea51d5c9c2033c6f5676ae0f686365ee..d827078a3bb9a4acd6e029f40a8ec6692f03f7b1 100644 (file)
@@ -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',
   }
index 7628be0e6a7090735e43ade60d8425e7357a6f9f..e3003d14a3e1b490cfbe981bb90348d3fd307449 100644 (file)
@@ -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