Last active
December 19, 2015 17:19
-
-
Save tily/5990140 to your computer and use it in GitHub Desktop.
JTF ニフティクラウドオートメーション ハンズオン資料の回答例
This file contains 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' | |
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 | |
describe file('/etc/my.cnf') do | |
it { should be_file } | |
end |
This file contains 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' | |
describe command('curl http://localhost/wp-admin/install.php') do | |
it { should return_stdout /Welcome to the famous five minute WordPress installation process!/ } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment