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

Question about pkg source #7

Open
plainlystated opened this issue Sep 3, 2014 · 2 comments
Open

Question about pkg source #7

plainlystated opened this issue Sep 3, 2014 · 2 comments

Comments

@plainlystated
Copy link

I'm new to both arch and salt, so maybe I'm missing something here... When I get to this line [1] to install the nagios package, I get an error saying that the package cannot be found. It looks like the package is in the AUR, but not community or any other official repo, so pacman won't install it. Is there a way to add AUR to my pacman sources? Or some other way to use this?

Thanks,
Patrick

[1] https://github.com/saltstack-formulas/nagios-formula/blob/master/nagios/server/init.sls#L3

@wwentland
Copy link
Contributor

@plainlystated thank you for your comment. Unfortunately I am not very familiar with Arch and simply kept the Arch specific bits of this formula as they were.

If you could elaborate on the steps that need to be taken to configure Arch so that it is able to install these packages we can think about adding documentation for that. However, my understanding was that formulas should not configure repositories needed for their usage, but that doing so is left to the user.

More documentation would, however, not hurt.

@galaux
Copy link

galaux commented Dec 4, 2014

Packages from AUR are source packages that first need to be built (install base-devel group, clone sources, and makepkg). I would recommend building package(s) from AUR, get them somewhere on the drive and make salt install these (just a quick look at the doc and it seems salt has built-in support for direct package install using parameter sources).

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

3 participants