diff --git a/recipes/default.rb b/recipes/default.rb index 3c38951..5814d4c 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -19,8 +19,10 @@ influxdb_config node['influxdb']['config_file_path'] do config node['influxdb']['config'] + notifies :restart, 'service[influxdb]', :delayed end service 'influxdb' do + supports(restart: true) action [:enable, :start] end