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

Add FreeBSD 12 support #179

Merged
merged 11 commits into from
Jul 28, 2019
Merged

Add FreeBSD 12 support #179

merged 11 commits into from
Jul 28, 2019

Conversation

olevole
Copy link

@olevole olevole commented Jul 8, 2019

We have everything to run this module on FreeBSD
using pkg/repo install_method.
It would be very nice to have this module available
for FreeBSD users ( no need to mark it as supported platform
in metadata.json )

Tested on: FreeBSD 12.0-RELEASE, FreeBSD 13-HEAD

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

We have everything to run this module on FreeBSD
using pkg/repo install_method.
It would be very nice to have this module available
for FreeBSD users ( no need to mark it as supported platform
in metadata.json )

Tested on: FreeBSD 12.0-RELEASE, FreeBSD 13-HEAD
@ghoneycutt
Copy link
Member

Great work @olevole this needs FreeBSD added to the metadata.json file. I think that will cause the spec tests to also test against FreeBSD.

@ghoneycutt ghoneycutt added the needs-work not ready to merge just yet label Jul 8, 2019
We have everything to run this module on FreeBSD
using pkg/repo install_method.
It would be very nice to have this module available
for FreeBSD users ( no need to mark it as supported platform
in metadata.json )

Tested on: FreeBSD 12.0-RELEASE, FreeBSD 13-HEAD
@olevole
Copy link
Author

olevole commented Jul 8, 2019

@ghoneycutt metadata.json updated

metadata.json Outdated Show resolved Hide resolved
@@ -0,0 +1,7 @@
---
grafana::cfg_location: '/usr/local/etc/grafana.ini'
grafana::data_dir: '/var/db/grafana',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comment at the end isn't valid. If you remove it, the tests might pass.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, my bad. Thanks!

@bastelfreak
Copy link
Member

Can you please take a look at the failing travis jobs?

added dependency for x11-fonts/fontconfig
@@ -143,6 +150,11 @@
name => $grafana::package_name,
}
}
'FreeBSD': {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this package required? It doesn't sound like anything grafana specific. Is the FreeBSD package for grafana lacking a dependency? If this is a generic package, it might be already managed by other modules which results in a duplicate resource error.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the dependency already exists in the package. I just duplicated the previous entries (other distributions have no valid dependencies in grafana? I'll fix it now

official repository from the Grafana project does not exist for FreeBSD.
Therefore, we use a common FreeBSD project repository.
@bastelfreak bastelfreak added enhancement New feature or request and removed needs-work not ready to merge just yet tests-fail labels Jul 28, 2019
@bastelfreak bastelfreak changed the title Add FreeBSD platform support Add FreeBSD 12 support Jul 28, 2019
@bastelfreak bastelfreak merged commit e0bf8cf into voxpupuli:master Jul 28, 2019
@olevole
Copy link
Author

olevole commented Jul 28, 2019

@bastelfreak Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants