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

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

describe package('libsss-sudo') do
  it { should be_installed }
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])
  describe package('libsss-sudo') do
    it { should be_installed }
  end
end

Make sure we only check for the sudo library on debian
Make sure we only check for the sudo library on debian

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