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

Resolve DMI ChassisType for Windows too #2501

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yakatz
Copy link

@yakatz yakatz commented Jul 7, 2022

We use the dmi.chassis.type fact (as a poor way) to determine whether a system in compatible with Dell server management tools. No reason it shouldn't be available on Windows.

@yakatz yakatz requested a review from a team as a code owner July 7, 2022 03:56
@puppetlabs-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@CLAassistant
Copy link

CLAassistant commented Apr 19, 2023

CLA assistant check
All committers have signed the CLA.

@yakatz yakatz force-pushed the feature/windows_chassistype branch from ff9eec6 to 783816a Compare April 19, 2023 23:10
Query dmi for chassis information on Windows also
@yakatz yakatz force-pushed the feature/windows_chassistype branch from 783816a to 1692fc8 Compare April 19, 2023 23:17
@joshcooper joshcooper added the enhancement New feature or enhancement label Apr 11, 2024
module Facter
module Resolvers
class DMISystemEnclosure < BaseResolver
@log = Facter::Log.new(self)
Copy link
Contributor

Choose a reason for hiding this comment

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

It's no longer recommended/needed to create a log instance, see 0168116 Could you rebase on main and drop this line?

@joshcooper
Copy link
Contributor

Going to close and reopen to rekick tests

@joshcooper joshcooper closed this Jul 26, 2024
@joshcooper joshcooper reopened this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants