Sha256: fb853fd77519b45596f8d6b60b501f0e71a23d9108a33f12ab57e57b551d79eb
Contents?: true
Size: 915 Bytes
Versions: 5
Compression:
Stored size: 915 Bytes
Contents
# This is starter example rna template. # This is meant be be modified to your needs. ################################### # Settings default_inherits 'base' global_attributes(:except => ['base']) do set 'framework_env', 'production' end ################################### # Post processing rules that run at the end rule do set 'framework_env', 'production' if name =~ /^prod/ set 'framework_env', 'staging' if name =~ /^stag/ end ################################### # Roles # base role 'base' do run_list ['base'] end # api role 'prod-api-redis', 'stag-api-redis' do run_list ['base','api_redis'] end role 'prod-api-app', 'stag-api-app' do run_list ['base','api_app'] set 'application', 'api' set 'deploy_code', true set 'repository', 'git@github.com:br/api.git' end role 'prod-api-resque', 'stag-api-resque' do inherits 'prod-api-app' run_list ['base','api_resque'] set 'workers', 8 end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rna-0.1.7 | lib/files/rna.rb |
rna-0.1.6 | lib/files/rna.rb |
rna-0.1.5 | lib/files/rna.rb |
rna-0.1.4 | lib/files/rna.rb |
rna-0.1.1 | lib/files/rna.rb |