Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orchestrator reloads config upon changes to file #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion recipes/_database_setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
end
end

include_recipe 'build-essential'
include_recipe 'build-essential::default'
include_recipe 'percona::server'
include_recipe 'percona::client'

Expand Down
1 change: 1 addition & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down