Skip to content

Commit

Permalink
Fix filebeat template rendering conditions (#104)
Browse files Browse the repository at this point in the history
* Render separately based on presence or absence of ssl

* Fix filebeat template rendering conditions
  • Loading branch information
sudeephb committed Jan 23, 2023
1 parent f5aef92 commit 2ea2e90
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions reactive/filebeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@ def blocked_until_reinstall():
status.blocked(msg)


@when_any(
'beat.render',
'apt.installed.filebeat',
'certificates.available'
)
@when("beat.render")
@when("apt.installed.filebeat")
@restart_on_change({
LOGSTASH_SSL_CERT: ['filebeat'],
LOGSTASH_SSL_KEY: ['filebeat'],
Expand Down

0 comments on commit 2ea2e90

Please sign in to comment.