README.md in infrataster-0.2.1 vs README.md in infrataster-0.2.2

- old
+ new

@@ -75,11 +75,29 @@ from: :proxy # access to this machine via SSH port forwarding from proxy ) # Code generated by `rspec --init` is following... ``` +Or +```ruby +# spec/spec_helper.rb +require 'infrataster/rspec' + +Infrataster::Server.define(:proxy) do |server| + server.address = '192.168.0.0/16' + server.vagrant = true +end +Infrataster::Server.define(:app) do |server| + server.address = '172.16.0.0/16' + server.vagrant = true + server.from = :proxy +end + +# Code generated by `rspec --init` is following... +``` + Then, you can write spec files: ```ruby # spec/example_spec.rb require 'spec_helper' @@ -248,9 +266,15 @@ ### `pgsql_query` resource `pgsql_query` resource sends a query to PostgreSQL server. `pgsql_query` is provided by [infrataster-plugin-pgsql](https://github.com/SnehaM/infrataster-plugin-pgsql) by [@SnehaM](https://github.com/SnehaM). + +### `dns` resource + +`dns` resource send query to DNS server. + +`dns` is provided by [infrataster-plugin-dns](https://github.com/otahi/infrataster-plugin-dns) by [@otahi](https://github.com/otahi). ## Example * [example](example) * [spec/integration](spec/integration)