Permalink
Browse files

Use hostname specified in attributes.

Change attribute definition to use the hostname from the system.
  • Loading branch information...
roidrage committed Mar 12, 2013
1 parent 7144327 commit 7e61c17ecf653529ac0ff24e52c6d5e32608fc9f
Showing with 2 additions and 2 deletions.
  1. +1 −1 worker_host/travis_worker/attributes/default.rb
  2. +1 −1 worker_host/travis_worker/recipes/bluebox.rb
@@ -10,7 +10,7 @@
}
default[:travis][:worker][:vms] = 20
default[:travis][:worker][:env] = 'ruby'
-default[:travis][:worker][:hostname] = "#{node[:travis][:worker][:env]}.worker.travis-ci.com"
+default[:travis][:worker][:hostname] = "#{node[:hostname]}.bluebox.travis-ci.com"
default[:travis][:worker][:log_level] = 'info'
default[:travis][:worker][:workers] = 1
default[:papertrail][:watch_files] = {}
@@ -71,7 +71,7 @@
mode "0600"
variables :amqp => node[:travis][:worker][:amqp],
:worker => node[:travis][:worker],
- :hostname => worker_name,
+ :hostname => node[:travis][:worker][:hostname],
:bluebox => node[:bluebox],
:librato => node[:collectd_librato]

0 comments on commit 7e61c17

Please sign in to comment.