1 # Copy this file to application.yml and edit to suit.
3 # Consult application.default.yml for the full list of configuration
6 # The order of precedence is:
7 # 1. config/environments/{RAILS_ENV}.rb (deprecated)
8 # 2. Section in application.yml corresponding to RAILS_ENV (e.g., development)
9 # 3. Section in application.yml called "common"
10 # 4. Section in application.default.yml corresponding to RAILS_ENV
11 # 5. Section in application.default.yml called "common"
18 # This is suitable for AWS; see common section below for a static example.
19 compute_node_nameservers: <%=
21 ['local', 'public'].collect do |iface|
22 Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
25 # You must customize these. See config.defaults.yml for information.
27 compute_node_ec2_tag_enable: ~
28 compute_node_domain: ~
29 compute_node_spot_bid: ~
35 compute_node_nameservers: