pivotal/lobot — Issue #7: Chef::Mixin::Template::TemplateError (can't convert String into Integer)
Author: pivotale20
Created: 2011-11-01 22:24:42+00:00
State: open

```
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: execute[install nginx] ran successfully
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Processing execute[touching marker file /home/ci/.install_markers/nginx_1_0_1 after successful run] on domU-12-31-39-16-9C-1C.compute-1.internal
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: Processing execute[touching marker file /home/ci/.install_markers/nginx_1_0_1 after successful run] action run (pivotal_server::nginx line 35)
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: execute[touching marker file /home/ci/.install_markers/nginx_1_0_1 after successful run] sh(touch /home/ci/.install_markers/nginx_1_0_1)
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: execute[touching marker file /home/ci/.install_markers/nginx_1_0_1 after successful run] ran successfully
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Processing execute[nginx owns nginx dirs] on domU-12-31-39-16-9C-1C.compute-1.internal
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: Processing execute[nginx owns nginx dirs] action run (pivotal_server::nginx line 36)
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: execute[nginx owns nginx dirs] sh(chown -R nginx /usr/local/nginx)
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: execute[nginx owns nginx dirs] ran successfully
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Processing directory[/etc/nginx] on domU-12-31-39-16-9C-1C.compute-1.internal
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: Processing directory[/etc/nginx] action create (pivotal_server::nginx line 40)
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: directory[/etc/nginx] created directory /etc/nginx
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Processing template[/etc/nginx/nginx.conf] on domU-12-31-39-16-9C-1C.compute-1.internal
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: Processing template[/etc/nginx/nginx.conf] action create (pivotal_server::nginx line 42)
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Current content's checksum:
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Rendered content's checksum: 57b59226fe42af3335d49fc64c2abd8b396cf11f88288dee1a35f05d28684534
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: template[/etc/nginx/nginx.conf] mode changed to 744
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: template[/etc/nginx/nginx.conf] updated content
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Processing template[/etc/nginx/mime.types] on domU-12-31-39-16-9C-1C.compute-1.internal
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: Processing template[/etc/nginx/mime.types] action create (pivotal_server::nginx line 47)
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Current content's checksum:
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Rendered content's checksum: 18c235085ce5f39a6c1d25ed5c3fe1ba4020ad505b8e1e22fae004ae03c60ac8
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: template[/etc/nginx/mime.types] mode changed to 744
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: template[/etc/nginx/mime.types] updated content
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Processing template[/etc/nginx/htpasswd] on domU-12-31-39-16-9C-1C.compute-1.internal
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] INFO: Processing template[/etc/nginx/htpasswd] action create (pivotal_server::nginx line 52)
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] ERROR: template[/etc/nginx/htpasswd] (pivotal_server::nginx line 52) has had an error
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] ERROR: template[/etc/nginx/htpasswd] (/var/ci/scebusiness/chef/cookbooks/pivotal_server/recipes/nginx.rb:52:in `from_file') had an error:
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] Chef::Mixin::Template::TemplateError (can't convert String into Integer) on line #2:
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] 1: <% node["nginx_settings"]["basic_auth_users"].each do |user| %>
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] 2: <%= "#{user["username"]}:#{user["password"].crypt("AA")}" %>
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] 3: <% end %>
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] (erubis):2:in `[]'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] (erubis):2:in `block (2 levels) in evaluate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/node/attribute.rb:136:in `call'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/node/attribute.rb:136:in `block in each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/node/attribute.rb:129:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/node/attribute.rb:129:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] (erubis):1:in `block in evaluate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `instance_eval'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `evaluate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/mixin/template.rb:41:in `render_template'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:99:in `render_with_context'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:39:in `action_create'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource.rb:437:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:45:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block (2 levels) in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] 10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:92:in `execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:76:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:312:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:160:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:192:in `block in run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `loop'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application.rb:67:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/bin/chef-solo:25:in `'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `load'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `

'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/mixin/template.rb:43:in `rescue in render_template'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/mixin/template.rb:39:in `render_template'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:99:in `render_with_context'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:39:in `action_create'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resourc
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] e.rb:437:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:45:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block (2 levels) in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:92:in `execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:76:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:312:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:160:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:192:in `block in run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `loop'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application.rb:67:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/bin/chef-solo:25:in `'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `load'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/r
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] uby-1.9.3-p0/bin/chef-solo:19:in `

'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] ERROR: Running exception handlers
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] ERROR: Exception handlers complete
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Re-raising exception: Chef::Mixin::Template::TemplateError - can't convert String into Integer
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/mixin/template.rb:43:in `rescue in render_template'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/mixin/template.rb:39:in `render_template'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:99:in `render_with_context'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:39:in `action_create'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource.rb:437:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:45:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block (2 levels) in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:92:in `execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:76:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:312:in `c
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] onverge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:160:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:192:in `block in run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `loop'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application.rb:67:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/bin/chef-solo:25:in `'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `load'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `

'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] DEBUG: Chef::Mixin::Template::TemplateError:
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] Chef::Mixin::Template::TemplateError (can't convert String into Integer) on line #2:
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] 1: <% node["nginx_settings"]["basic_auth_users"].each do |user| %>
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] 2: <%= "#{user["username"]}:#{user["password"].crypt("AA")}" %>
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] 3: <% end %>
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] (erubis):2:in `[]'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] (erubis):2:in `block (2 levels) in evaluate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/node/attribute.rb:136:in `call'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/node/attribute.rb:136:in `block in each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/node/attribute.rb:129:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/node/attribute.rb:129:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] (erubis):1:in `block in evaluate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `instance_eval'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `evaluate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/mixin/template.rb:41:in `render_template'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:99:in `render_with_context'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:39:in `action_create'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource.rb:437:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:45:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block (2 levels) in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/rub
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] y-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:92:in `execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:76:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:312:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:160:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:192:in `block in run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `loop'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application.rb:67:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/bin/chef-solo:25:in `'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `load'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `

'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com]
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/mixin/template.rb:43:in `rescue in render_template'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/mixin/template.rb:39:in `render_template'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:99:in `render_with_context'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/provider/template.rb:39:in `action_create'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource.rb:437:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] :45:in `run_action'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block (2 levels) in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `each'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block in converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/resource_collection.rb:92:in `execute_each_resource'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/runner.rb:76:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:312:in `converge'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/client.rb:160:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:192:in `block in run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `loop'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `run_application'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/lib/chef/application.rb:67:in `run'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm/gems/ruby-1.9.3-p0/gems/chef-0.10.4/bin/chef-solo:25:in `'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `load'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] /home/ci/.rvm//gems/ruby-1.9.3-p0/bin/chef-solo:19:in `

'
** [out :: ec2-174-129-139-192.compute-1.amazonaws.com] [Tue, 01 Nov 2011 18:22:44 -0400] FATAL: Chef::Mixin::Template::TemplateError: can't convert String into Integer
command finished in 866133ms
failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'ruby-1.9.3-p0' -c 'cd /var/ci/scebusiness && PATH=/usr/sbin:$PATH APP_NAME=scebusiness APP_DIR=/var/ci/scebusiness LOG_LEVEL=debug soloist'" on ec2-174-129-139-192.compute-1.amazonaws.com
```