Skip to content

Instantly share code, notes, and snippets.

@ftnk
Created March 25, 2013 15:25
Show Gist options
  • Save ftnk/5237925 to your computer and use it in GitHub Desktop.
Save ftnk/5237925 to your computer and use it in GitHub Desktop.
require 'spec_helper'
describe 'apache-22', :os => :solaris do
it { should be_installed }
end
describe 'apache22', :os => :solaris do
it { should be_enabled }
it { should be_running }
end
describe 'port 80', :os => :solaris do
it { should be_listening }
end
describe '/etc/apache2/2.2/httpd.conf', :os => :solaris do
it { should be_file }
it { should contain "ServerName 127.0.0.1" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment