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

yum repo doesn't work on Amazon Linux #71

Open
jfacevedo opened this issue Sep 2, 2019 · 0 comments
Open

yum repo doesn't work on Amazon Linux #71

jfacevedo opened this issue Sep 2, 2019 · 0 comments

Comments

@jfacevedo
Copy link

baseurl "#{node['uchiwa']['yum_repo_url']}/#{branch}/$releasever/$basearch/"

When the repo is going to be configured on Amazon Linux AMI, it fails because the $releasever variable is set as "latest" so the repo URL tries to create as "http://repositories.sensuapp.org/yum/latest/..." and latest doesn't exist. In addition, if you try to lock the AMI to a specific version, $releasever changes to the AMI release date. Eg. "2018.02" and that link also doesn't work.

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