hmmm... thanks for the suggestion, I wrote something, but I may give that a
try.
On Tuesday, October 17, 2017 at 4:22:20 PM UTC-5, Ryan Murphy wrote:
>
> So I have the following powershell command that gives me the data I want,
> but I'm not sure how I can get Puppet to ingest it as a fact.
>
> Get-WMIObject Win32_Volume | Where-Object {$_.DriveType -eq "3" -and
> $_.Label -ne "System Reserved" } | select Name, Label
>
> The Output looks like this.
> Name
> Label
> ----
> -----
> E:\
> EVol
> D:\
> DVol
> C:\
>
> I wanted to get the Drive letters and labels in to a single fact in Puppet
> so that I could build Nagios disk checks off of them, But I'm not sure how
> to get the output to a format that Puppet will like.
>
> Any powershell / puppet fact outputs out there able to help?
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/270db899-4eb7-4c83-a8e9-31897363b632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.