```ruby
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
```

Make sure we only check for the sudo library on debian
user
```ruby
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
```
assistant