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

Example Chef cookbook run always restarts the collector #1110

Open
portertech opened this issue Apr 25, 2023 · 0 comments
Open

Example Chef cookbook run always restarts the collector #1110

portertech opened this issue Apr 25, 2023 · 0 comments

Comments

@portertech
Copy link
Contributor

The example Chef cookbook resource provider always restarts the collector, even if nothing was done.

For example:

Recipe: sumologic-otel-collector::default
  * sumologic_otel_collector[sumologic-otel-collector] action default
    * remote_file[/tmp/install.sh] action create (up to date)
     (up to date)
  * execute[/tmp/install.sh] action run
    - execute bash /tmp/install.sh --download-timeout 300 --tag host.group=default --tag deployment.environment=default
   (up to date)
* execute[restart Otelcol] action run
  - execute systemctl restart otelcol-sumo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant