Skip to content

Commit

Permalink
fixing Amazon Linux 2 support. Monit defaults to reading monitrc file…
Browse files Browse the repository at this point in the history
…, not monit.conf on Amazon Linux 2
  • Loading branch information
erik-frontify committed Aug 3, 2022
1 parent adc7bf8 commit 500670b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
case $::operatingsystemmajrelease {
'2': {
$monit_version = '5'
$config_file = '/etc/monit.conf'
$config_file = '/etc/monitrc'
}
default: {
fail("monit supports Amazon Linux 2. Detected operatingsystemmajrelease is <${::operatingsystemmajrelease}>.")
Expand Down

0 comments on commit 500670b

Please sign in to comment.