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

Refresh service after package update #215

Open
bastelfreak opened this issue May 19, 2015 · 1 comment
Open

Refresh service after package update #215

bastelfreak opened this issue May 19, 2015 · 1 comment
Labels
enhancement New feature or request

Comments

@bastelfreak
Copy link
Member

Hey,
I'm using this class to manage logstash, the class is able to update the package, it also has a restart_on_change option, but this only refreshes the service if the config changes, not if the service(version) itself changes:

# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for clusternode1..de
Info: Applying configuration version '1432021731'
Notice: /Stage[main]/Logstash::Repo/Yumrepo[logstash]/baseurl: baseurl changed 'http://packages.elasticsearch.org/logstash/1.4/centos' to 'http://packages.elasticsearch.org/logstash/1.5/centos'
Notice: /Stage[main]/Logstash::Package/Logstash::Package::Install[logstash]/Package[logstash]/ensure: ensure changed '1.4.2-1_2c0f5a1' to '1:1.5.0-1'
Notice: Finished catalog run in 26.83 seconds

Could you implement another param to enable/disable service refresh after version change or implement it for the restart_on_change param?

@shoggeh
Copy link

shoggeh commented Jun 27, 2017

+1 for this. In addition to restart_on_change it would particularly useful to have the same options as ES has - restart_config_change, restart_package_change, restart_plugin_change

@fatmcgav fatmcgav added the enhancement New feature or request label Jun 11, 2018
@ninaspitfire ninaspitfire removed their assignment Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants