PageRenderTime 51ms CodeModel.GetById 45ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/unit/test_tmplconfig.ini

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