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

Fix class containment #121

Merged
merged 1 commit into from
Apr 27, 2015
Merged

Conversation

juniorsysadmin
Copy link
Member

The nodejs::repo::nodesource class includes a few classes that are not contained properly, meaning for instance that the NodeSource repository might be created after the Node.js package is installed when the distribution comes with a native Node.js package. This PR is an attempt to fix this without using inheritance, making some anchor readability changes as well. Failing RSpec test should already be fixed in #120 .

@igalic
Copy link
Contributor

igalic commented Mar 19, 2015

mutters something about contain

@juniorsysadmin
Copy link
Member Author

I would prefer not to leave Puppet < 3.4.0 unsupported just yet

@juniorsysadmin
Copy link
Member Author

I would prefer not to leave Puppet < 3.4.0 unsupported just yet

I've changed my mind on this - the last commit use contain and therefore drops support for any Puppet version less than 3.4.0. If there are no objections on this I will squash the commits shortly.

@juniorsysadmin
Copy link
Member Author

Squashed and rebased

@bmjen
Copy link
Member

bmjen commented Apr 23, 2015

Thanks @juniorsysadmin! Can you please rebase one more time to pick up the travis.yml updates from #127? Thanks!

This patch uses contain and therefore removes support for Puppet versions
below 3.4.0
@juniorsysadmin
Copy link
Member Author

Rebased

bmjen added a commit that referenced this pull request Apr 27, 2015
@bmjen bmjen merged commit 8e52c7a into voxpupuli:master Apr 27, 2015
@juniorsysadmin juniorsysadmin deleted the fix-repo-deps branch May 3, 2015 03:00
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

Successfully merging this pull request may close these issues.

3 participants