PageRenderTime 122ms CodeModel.GetById 80ms app.highlight 2ms RepoModel.GetById 38ms app.codeStats 1ms

/tests/unit/test_tmplconfig.ini

https://bitbucket.org/ianb/silverlining/
INI | 53 lines | 45 code | 8 blank | 0 comment | 0 complexity | 33c3319aece13e916f0b39b5b64554a2 MD5 | raw file
 1[general]
 2# Just naming the general setup:
 3name = my-server-setup
 4# This is used for filling in node names if they aren't explicitly given:
 5base_domain = foobar.com
 6# If you set this to false, then /etc/hosts won't be updated:
 7set_etc_hosts = false
 8
 9[provider]
10# You can just look up a provider in ~/.silverlining.conf:
11name = whatever
12# Or specify all the values:
13provider = rackspace
14username = foobar
15secret = XXX
16# or:
17secret_file = {{environ.FAKE_HOME}}/.rackspace-secret.txt
18
19[appserver]
20# This describes the app server
21# You can have multiple things setup:
22locations =
23    http://foobar.com/ APP_NAME1
24
25# You can setup multiple nodes:
26nodes = 10
27# default being 1, of course.
28
29# You can indicate the size of these nodes too:
30size = id 1
31# You can also give the size in MB of ram (since that generally
32# increments):
33size = ram 256MB
34
35# This is used to name the nodes:
36node_name = app{{n}}.foobar.com
37
38# If not provided, this will be automatically determined by the
39# number of nodes (1=no balancing), and the existence of a
40# [balancer] section.
41load_balancer = true
42
43[service:mysql]
44# How many nodes to assign:
45nodes = 1
46# Without special support, generally just 1 node is supported
47# also node_name/size
48
49[balancer]
50# Describes the load balancer
51node_name = balancer.foobar.com
52hostnames = foobar.com
53    baz.com