puppet-vault icon indicating copy to clipboard operation
puppet-vault copied to clipboard

Service requires config, config file restarts service on change

Open cheyngoodman opened this issue 5 years ago • 0 comments

SUMMARY

Service does not restart when config file changes.

I noticed this when adding api_addr setting, the config file was updated but the service did not restart automatically.

Adding this notify statement ensures the service will be refreshed, the requirement statement ensures the config file exists before starting or refreshing the service.

TESTS/SPECS

cheyngoodman avatar Mar 13 '20 21:03 cheyngoodman