diff --git a/recipes/default.rb b/recipes/default.rb index 05d96fbd..6db6a311 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -25,3 +25,5 @@ else Chef::Application.fatal!("[consul::default] unknown install method, method=#{node['consul']['install_method']}") end + +include_recipe 'consul::service' diff --git a/recipes/install_binary.rb b/recipes/install_binary.rb index 6117c149..5c244ede 100644 --- a/recipes/install_binary.rb +++ b/recipes/install_binary.rb @@ -44,5 +44,3 @@ link Chef::Consul.active_binary(node) do to Chef::Consul.latest_binary(node) end - -include_recipe 'consul::_service' diff --git a/recipes/install_packages.rb b/recipes/install_packages.rb index 3b5b94e4..3f5f70fa 100644 --- a/recipes/install_packages.rb +++ b/recipes/install_packages.rb @@ -30,5 +30,3 @@ package 'consul' package 'consul-webui' - -include_recipe 'consul::_service' diff --git a/recipes/install_source.rb b/recipes/install_source.rb index 8b49d293..d0fec1e2 100644 --- a/recipes/install_source.rb +++ b/recipes/install_source.rb @@ -43,5 +43,3 @@ link Chef::Consul.active_binary(node) do to Chef::Consul.source_binary(node) end - -include_recipe 'consul::_service' diff --git a/recipes/_service.rb b/recipes/service.rb similarity index 100% rename from recipes/_service.rb rename to recipes/service.rb