サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
都知事選
serverspec.org
This is one of the features of Specinfra precisely, not Serverspec. But you can use this feature from Serverspec. From Itamae, you can use this feature like this. host_inventory['cpu']['total'] # => 1 host_inventory['cpu']['0']['vendor_id'] # => GenuineIntel host_inventory['cpu']['0']['cpu_family'] # => 6 host_inventory['cpu']['0']['model'] # => 58 host_inventory['cpu']['0']['model_name'] # => Int
This is the documentation of changes in Serverspec/Specinfra v2. Changes of version 2 RSpec 3 support Serverspec v2 supports RSpec 3 and does not support RSpec 2 any more. SpecInfra renamed to Specinfra SpecInfra, the base library of Serverspec, has been renamed to Specinfra. Backward Compatibility Almost all of the Serverspec test code you wrote for v1 should work with v2, but some matchers don’t
require 'highline/import' if ENV['ASK_LOGIN_PASSWORD'] options[:password] = ask("\nEnter login password: ") { |q| q.echo = false } else options[:password] = ENV['LOGIN_PASSWORD'] end set :ssh_options, options
Resource Types bond | bridge | cgroup | command | cron | default_gateway | docker_container | docker_image | file | group | host | iis_app_pool | iis_website | interface | ip6tables | ipfilter | ipnat | iptables | kernel_module | linux_audit_system | linux_kernel_parameter | lxc | mail_alias | mysql_config | package | php_config | port | ppa | process | routing_table | selinux | selinux_module | s
About V2 Serverspec/Specinfra v2 has been just released. See the document about v2. About With Serverspec, you can write RSpec tests for checking your servers are configured correctly. Serverspec tests your servers’ actual state by executing command locally, via SSH, via WinRM, via Docker API and so on. So you don’t need to install any agent softwares on your servers and can use any configuration
このページを最初にブックマークしてみませんか?
『Serverspec - Home』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く