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 in task Get chrony version #8

Closed
iLeonelPerea opened this issue Jul 12, 2018 · 4 comments
Closed

error in task Get chrony version #8

iLeonelPerea opened this issue Jul 12, 2018 · 4 comments

Comments

@iLeonelPerea
Copy link

I am using Ubuntu and in the task Get chrony version get the following error:

package chrony is not installed

@pcahyna
Copy link
Member

pcahyna commented Jul 20, 2018

Ubuntu is the controller host, or the managed host?

@mlichvar
Copy link
Collaborator

The problem is in the rpm command used to get the package version. It would be weird if it worked on Ubuntu :).

If there is a module that can get the version of packages on different systems, we could use that. However, there are other differences between Fedora/RHEL and Debian/Ubuntu, e.g. different path of chrony.conf, so more work would be needed to support the other distros..

@pcahyna
Copy link
Member

pcahyna commented Sep 30, 2019

We have some changes in progress that will eliminate the calls to rpm and use a distribution-agnostic method. As said above, more work would be needed to support Debian/Ubuntu, though.

@pcahyna
Copy link
Member

pcahyna commented Mar 9, 2020

contributed change to support Ubuntu: #62

@richm richm closed this as completed Jul 23, 2024
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

4 participants