Issue #15579 has been updated by Hailee Kenney.

Status changed from Merged - Pending Release to Closed

This was actually rejected... but I have no idea how to make Redmine close this 
ticket any other way then marking it as "Merged" first since it was marked as 
"In Topic Branch Pending Review". If anyones knows the secret to this Redmine 
status business, please enlighten me. 
----------------------------------------
Feature #15579: Add support for the OS, Proxmox
https://projects.puppetlabs.com/issues/15579#change-67864

Author: Garrett Honeycutt
Status: Closed
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