Skip to content

Instantly share code, notes, and snippets.

@yteraoka
Created August 5, 2013 15:22
Show Gist options
  • Save yteraoka/6156753 to your computer and use it in GitHub Desktop.
Save yteraoka/6156753 to your computer and use it in GitHub Desktop.
Ansible Tutorial の ServerSpec 設定例 (mysqld のチェック)
require 'spec_helper'
describe package('mysql-server') do
it { should be_installed }
end
describe service('mysqld') do
it { should be_enabled }
it { should be_running }
end
describe port(3306) do
it { should be_listening }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment