Skip to content

Add manage_dogapi_gem, making the management of ruby in reports optional#613

Merged
albertvaka merged 6 commits intomasterfrom
albertvaka/manage-ruby
Feb 20, 2020
Merged

Add manage_dogapi_gem, making the management of ruby in reports optional#613
albertvaka merged 6 commits intomasterfrom
albertvaka/manage-ruby

Conversation

@albertvaka
Copy link
Copy Markdown
Contributor

Rebase of #227

Also included installing dogapi within the conditional. Since the code that we are making optional was there solely (if I understand correctly) to be able to install dogapi, it makes sense to me to treat it all together.

I'm not sure the name manage_ruby still makes sense though, maybe something like manage_dogapi_gem would be better?

@albertvaka albertvaka force-pushed the albertvaka/manage-ruby branch from bef05c8 to e3fe421 Compare February 17, 2020 17:51
@albertvaka albertvaka force-pushed the albertvaka/manage-ruby branch from e3fe421 to d48efbc Compare February 17, 2020 18:00
Comment thread manifests/init.pp Outdated
Comment on lines +35 to +36
# $manage_ruby
# Invoke the ruby class to manage ruby install
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree that $manage_dogapi_gem seems more fitting for what this switch enables.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Agreed, the current name is a bit misleading.

Copy link
Copy Markdown
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

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

I think the code changes are all sensible, I agree with perhaps using a different param name. Other than that 👌

@albertvaka albertvaka changed the title Add manage_ruby, making the management of ruby in reports optional Add manage_dogapi_gem, making the management of ruby in reports optional Feb 19, 2020
@albertvaka albertvaka merged commit f30c7f1 into master Feb 20, 2020
@albertvaka albertvaka deleted the albertvaka/manage-ruby branch February 20, 2020 16:38
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Apr 6, 2020
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.

4 participants