bird_spec.rb 558 B

1234567891011121314151617181920212223242526272829
  1. require 'serverspec'
  2. describe package('bird') do
  3. it { should be_installed }
  4. end
  5. # At least on Ubuntu doesn't open a port. Is this a problem?
  6. describe port(179) do
  7. it { should be_listening.with('tcp') }
  8. it { should be_listening.with('tcp6') }
  9. end
  10. describe process('bird') do
  11. it { should be_running }
  12. end
  13. describe process('bird6') do
  14. it { should be_running }
  15. end
  16. #describe service('bird') do
  17. # it { should be_running }
  18. # it { should be_enabled }
  19. #end
  20. #describe service('bird6') do
  21. # it { should be_running }
  22. # it { should be_enabled }
  23. #end