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

[disk] add support for new options #508

Merged
merged 2 commits into from
Mar 25, 2019
Merged

[disk] add support for new options #508

merged 2 commits into from
Mar 25, 2019

Conversation

truthbk
Copy link
Member

@truthbk truthbk commented Mar 25, 2019

Some options have been deprecated for the disk integration in recent versions of the agent. This PR adds support for the newer options, all while keeping the old ones for customers who may still be pinned to prior versions.

@truthbk truthbk added this to the 2.5.0 milestone Mar 25, 2019
@truthbk truthbk mentioned this pull request Mar 25, 2019
Copy link

@remeh remeh left a comment

Choose a reason for hiding this comment

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

Left a comment, but otherwise LGTM!

Optional[Array[String]] $mountpoint_whitelist = undef,
Optional[Variant[String, Array[String]]] $excluded_filesystems = undef, # deprecated in agent versions >6.9
Optional[Variant[String, Array[String]]] $excluded_disks = undef, # deprecated in agent versions >6.9
Optional[Variant[String, Array[String]]] $excluded_disk_re = undef, # deprecated in agent versions >6.9
Copy link

Choose a reason for hiding this comment

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

Even if deprecated, I may be wrong but it looks like the Array variant isn't managed in the erb? Same goes for excluded_mountpoint_re. Please discard if I'm wrong.

Copy link
Member Author

Choose a reason for hiding this comment

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

No, you're right, these were strings in the past! Thank you 🙇

@truthbk truthbk merged commit a80608a into master Mar 25, 2019
@truthbk truthbk deleted the jaime/disk_options branch March 25, 2019 16:00
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Apr 6, 2020
* [disk] add support for new options

* [disk] fix optional type for deprecated types
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