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

Remove anchor resource from r10k::install::gem #519

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

alexjfisher
Copy link
Member

I've refactored the class to not use the anchor resource.
Since
78283bd#diff-41c34a669409f2dbaa4211d5f642a003L40
it is not being referred to from any other class.

If someone needs to create a similar relationship, they can use
Class['r10k::install::gem'] instead.

I've refactored the class to not use the anchor resource.
Since
voxpupuli@78283bd#diff-41c34a669409f2dbaa4211d5f642a003L40
it is not being referred to from any other class.

If someone needs to create a similar relationship, they can use
`Class['r10k::install::gem']` instead.
case $manage_ruby_dependency {
'include': {
include ruby
include ruby::dev
Class['::ruby']
-> Class['ruby::dev']
Copy link
Member Author

Choose a reason for hiding this comment

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

Previously, this class needed to become the anchor resource. By requireing it instead, we get the same effect.

@alexjfisher alexjfisher merged commit 8a7dbd5 into voxpupuli:master Apr 3, 2020
@alexjfisher alexjfisher deleted the remove_anchor branch April 3, 2020 13:53
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.

2 participants