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

Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, monit supports Amazon Linux 2. Detected operatingsystemmajrelease is <2>. #21

Closed
coolguydork opened this issue Mar 31, 2021 · 0 comments · Fixed by #23

Comments

@coolguydork
Copy link

coolguydork commented Mar 31, 2021

Could someone please help me?

When running on Amazon Linux 2, the following error arises:

Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, monit supports Amazon Linux 2. Detected operatingsystemmajrelease is <2>.

This error leads to the following line:
https://github.com/solution-libre/puppet-monit/blob/5160f6239dc672e8e92192e36dfed09de281503e/manifests/params.pp#L68

Troubleshooting, I get the following:

[root@puppetserver etc]# cat /etc/*release*
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Amazon Linux release 2 (Karoo)
cpe:2.3:o:amazon:amazon_linux:2

The entry in my Puppetfile is as follows:
mod 'soli-monit', '3.0.0'

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

Successfully merging a pull request may close this issue.

1 participant