Last active
February 3, 2017 20:05
-
-
Save gkspranger/642611408a9bce878c97804eaf1c0312 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
# check to make sure the httpd package is installed | |
describe package('httpd') do | |
it { should be_installed } | |
end | |
# check to ensure the httpd service is running and enabled | |
describe service('httpd') do | |
it { should be_running } | |
it { should be_enabled } | |
end | |
# check to make sure port 80 is listening | |
describe port(80) do | |
it { should be_listening } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment