Sha256: 5580c7afb0ac15d4b99267b64ca0ae22d1d535400ccbea6f7a674dd6c74334c8

Contents?: true

Size: 1.16 KB

Versions: 7

Compression:

Stored size: 1.16 KB

Contents

#!/usr/bin/ruby

#    This file is part of EC2 on Rails.
#    http://rubyforge.org/projects/ec2onrails/
#
#    Copyright 2007 Paul Dowman, http://pauldowman.com/
#
#    EC2 on Rails is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    EC2 on Rails is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.


#    To customize the nginx config files, you can setup a template like:
#    /etc/ec2onrails/balancer_members.erb
#    /etc/ec2onrails/nginx_upstream_members.erb


require "#{File.dirname(__FILE__)}/../lib/roles_helper"
include Ec2onrails::RolesHelper

puts "Roles: "
pp roles

resolve_hostnames_in_roles_file
set_hostnames
process_config_file_templates

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
ewoutvonk-ec2onrails-0.9.10.4.001 server/files/usr/local/ec2onrails/bin/set_roles
gigpark-ec2onrails-0.9.10.3 server/files/usr/local/ec2onrails/bin/set_roles
pauldowman-ec2onrails-0.9.10.0 server/files/usr/local/ec2onrails/bin/set_roles
pauldowman-ec2onrails-0.9.10.1 server/files/usr/local/ec2onrails/bin/set_roles
pauldowman-ec2onrails-0.9.10.2 server/files/usr/local/ec2onrails/bin/set_roles
pauldowman-ec2onrails-0.9.10.3 server/files/usr/local/ec2onrails/bin/set_roles
pauldowman-ec2onrails-0.9.10.4 server/files/usr/local/ec2onrails/bin/set_roles