Define servers with block
ryotarai opened this issue · 2 comments
ryotarai commented
Server.define(:app) do |server|
server.address '192.168.10.10'
server.vagrant
server.from :proxy
server.mysql({user: 'user', password: 'password'})
end
otahi commented
On #51 it could be as follows.
Infrataster::Server.define(:app) do |server|
server.address = '172.16.0.0/16'
server.vagrant = true
server.from = :proxy
server.mysql = {user: 'user', password: 'password'}
end
Deleted user commented
should this issue be closed?