edelight/chef-mongodb

Updating node['mongodb']['config'] does not trigger server restart/reload

brodock opened this issue · 1 comments

I was trying with chef-solo (can't say if it's only because of that), and updated node config variables. That did not triggered server restart.

I beleive this is the culprit:

if(platform_family?('rhel') && node['platform_version'].to_i >= 7)

(I'm using Ubuntu 14.04 with 10gen repo running on vagrant wich chef-solo)

were you changing values?

:bind_ip => node['mongodb']['config']['bind_ip'],
:port => node['mongodb']['config']['port']