Serverspec

インストール [#r14e9754]

 # cd /usr/share/
 # mkdir serverspec
 # cd severspec
 # vim Gemfile
 ---
 source 'https://rubygems.org'
 
 gem 'serverspec'
 gem 'rake'
 gem 'highline'
 ---
 # gem install bundle
 Successfully installed bundler-1.10.6
 Successfully installed bundle-0.0.1
 2 gems installed
 Installing ri documentation for bundler-1.10.6...
 Installing ri documentation for bundle-0.0.1...
 File not found: lib
 
 # bundle
 Fetching gem metadata from https://rubygems.org/.......
 Fetching version metadata from https://rubygems.org/..
 Resolving dependencies...
 Using rake 10.4.2
 Installing diff-lcs 1.2.5
 Installing highline 1.7.8
 Installing multi_json 1.11.2
 Installing net-ssh 2.9.2
 Installing net-scp 1.2.1
 Installing net-telnet 0.1.1
 Installing rspec-support 3.4.1
 Installing rspec-core 3.4.1
 Installing rspec-expectations 3.4.0
 Installing rspec-mocks 3.4.0
 Installing rspec 3.4.0
 Installing rspec-its 1.2.0
 Installing sfl 2.2
 Installing specinfra 2.44.6
 Installing serverspec 2.24.3 
 Using bundler 1.10.6
 Bundle complete! 3 Gemfile dependencies, 17 gems now installed.
 Use `bundle show [gemname]` to see where a bundled gem is installed.