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

Install Stage breaking entire puppet run due to missing dependencies #7

Closed
jmswick opened this issue Jul 30, 2013 · 2 comments
Closed

Comments

@jmswick
Copy link

jmswick commented Jul 30, 2013

When using this on a fresh machine, the install stage ends up breaking the entire puppet run if it can't install any of the dependencies. On CentOS 6, the 'libyaml-devel' package is only available out of the EPEL repos and I'm using the stahnma/puppet-module-epel module to manage the EPEL repo on the machines I'm working with.

Since the rvm-install stage is before main, the package install fails which then blocks the main stage from running and preventing the installation of the EPEL repos on the machine.

Is having the install stage necessary?

@carlossg
Copy link
Member

The upstream repo added the stage. I configure it like this

https://github.com/maestrodev/puppet-rvm/blob/maestrodev/tests/init.pp

@jmswick
Copy link
Author

jmswick commented Jul 30, 2013

Thank you. Unfortunately that method breaks when you're doing "include epel" in other modules as then you end up with a duplicate class definition in the catalog.

As it may break things for other people, I'll create a fork so that doesn't impact you or any one else to remove the stage.

@jmswick jmswick closed this as completed Jul 30, 2013
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

2 participants