Issue #15579 has been reported by Garrett Honeycutt.

----------------------------------------
Feature #15579: Add support for the OS, Proxmox
https://projects.puppetlabs.com/issues/15579

Author: Garrett Honeycutt
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 1.6.10
Keywords: proxmox
Branch: 
Affected Facter version: 


>From the puppet-users mailing list

<pre>
Hi,

I want to introduce "Proxmox" as new value in $::operatingsystem.
"Proxmox" is based on Debian, so the normal value is currently "Debian".

To change that, I just write a custom fact based on the facter fact 
"operatingsystem"

    Facter.add(:operatingsystem) do
     ...
       setcode do
       ...
       elsif FileTest.exists?("/usr/bin/pveversion")
           "Proxmox"
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to