diff --git a/CHANGELOG.md b/CHANGELOG.md index eb183f2..330065c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # orchestrator +## 2.1.1 +Make orchestrator reload config upon changes + ## 2.1.0 * use build-essential to install gcc,make, etc * rubocop (.rubocop.yml added and files corrected) diff --git a/metadata.rb b/metadata.rb index 2c69386..3aaaf59 100644 --- a/metadata.rb +++ b/metadata.rb @@ -7,7 +7,7 @@ source_url 'https://github.com/silviabotros/chef-orchestrator' issues_url 'https://github.com/silviabotros/chef-orchestrator/issues' chef_version '>= 12.5.0' -version '2.1.0' +version '2.1.1' depends 'apt' depends 'build-essential' diff --git a/recipes/_database_setup.rb b/recipes/_database_setup.rb index 414ea8f..ad24b90 100644 --- a/recipes/_database_setup.rb +++ b/recipes/_database_setup.rb @@ -25,7 +25,7 @@ end end -include_recipe 'build-essential' +include_recipe 'build-essential::default' include_recipe 'percona::server' include_recipe 'percona::client' diff --git a/recipes/default.rb b/recipes/default.rb index 3584a1b..5f5290b 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -25,6 +25,7 @@ file '/etc/orchestrator.conf.json' do sensitive true content JSON.pretty_generate(node['orchestrator']['config']) + notifies :reload, 'service[orchestrator]' end # clean up config from legacy config path