lib/cloudstrap/bootstrap_agent.rb in cloudstrap-0.29.7.pre vs lib/cloudstrap/bootstrap_agent.rb in cloudstrap-0.30.1.pre
- old
+ new
@@ -235,9 +235,14 @@
Contract None => String
def vpc
find_vpc || create_vpc
end
+ Contract None => Bool
+ def enable_dns_support
+ ec2.vpc_supports_dns?(vpc) || ec2.enable_dns_support(vpc)
+ end
+
Contract None => String
def create_jumpbox
upload_ssh_key
cache.store(:jumpbox_id, ec2.create_instance(