~charmers/charms/precise/rails/trunk

« back to all changes in this revision

Viewing changes to cookbooks/proxy-relation/recipes/joined.rb

  • Committer: Pavel Pachkovskij
  • Date: 2013-08-21 10:46:29 UTC
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: pavel.pachkovskij@gmail.com-20130821104629-zgrf6efx90tkf0ps
add rvm-installer, move cookbooks to CHARM_DIR

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
private_address = unit_get('private-address')
 
2
 
 
3
relation_set do
 
4
  variables(
 
5
    port: 80,
 
6
    hostname: private_address,
 
7
    private_address: private_address,
 
8
    all_services: [
 
9
      {
 
10
        'service_name' => 'rack',
 
11
        'service_port' => 80
 
12
      }
 
13
    ].to_yaml
 
14
  )
 
15
end
 
 
b'\\ No newline at end of file'