Skip to content

Commit

Permalink
Use worker increment at the end of host name.
Browse files Browse the repository at this point in the history
  • Loading branch information
roidrage committed Mar 15, 2013
1 parent 449bbfb commit 9e07a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion worker_host/travis_worker/metadata.rb
Expand Up @@ -2,5 +2,5 @@
maintainer_email "mathias@travis-ci.org"
license "Apache 2.0"
description "Installs/Configures the Travis Worker"
version "0.5.2"
version "0.5.3"
depends "runit"
2 changes: 1 addition & 1 deletion worker_host/travis_worker/recipes/bluebox.rb
Expand Up @@ -28,7 +28,7 @@
worker_name = "#{app}.#{node[:fqdn]}"
home = "#{node[:travis][:worker][:home]}/#{app}"
service_name = "travis-worker-#{worker}"
host_name = "#{worker}.#{node[:travis][:worker][:hostname]}"
host_name = "#{node[:travis][:worker][:hostname]}-#{worker}.#{node[:travis][:worker][:domain]}"

service service_name do
action :nothing
Expand Down

0 comments on commit 9e07a93

Please sign in to comment.