describe service('sssd') do
  it { should be_enabled }
  it { should be_running }
end

describe package('sssd') do
  it { should be_installed }
end

if %w(debian ubuntu).include?(os[:family])
  describe package('libsss-sudo') do
    it { should be_installed }
  end
end

describe service('sssd') do
  it { should be_enabled }
  it { should be_running }
end

describe package('sssd') do
  it { should be_installed }
end

if %w(debian ubuntu).include?(os[:family])
  if os[:family] == 'debian' && os[:release].to_i <= 7
    describe package('libsss-sudo0') do
      it { should be_installed }
    end
  else
    describe package('libsss-sudo') do
      it { should be_installed }
    end
  end
end

Add back Debian 7 integration test
Add back Debian 7 integration test

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
