Issue #13680 has been updated by Stefan Schulte.

facter could return different values for `operatingsystem` depending on facter 
fact `puppetversion` I guess. So it will only return Funtoo if a recent puppet 
version or no puppet version at all is detected and will return Gentoo 
otherwise. Don't know if that has other implications though.

But having the dependencies in the ebuild seems like the best approach and 
since the ebuilds seem to be pretty well maintained 
(https://github.com/funtoo/portage/tree/gentoo.org/app-admin/puppet) I expect 
that most Funtoo people install it with the native package manager and are not 
running it directly from source.
----------------------------------------
Feature #13680: Distinguish "Funtoo" from "Gentoo" Linux
https://projects.puppetlabs.com/issues/13680#change-60582

Author: Marc Richter
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: 
Category: facter
Target version: 
Affected Puppet version: 2.7.12
Keywords: gentoo, funtoo
Branch: 


[Funtoo Linux](http://www.funtoo.org/) is a Fork of Gentoo Linux from the 
former creator of Gentoo Linux, Daniel Robbins.
The two derivates behave mostly the same, but they are differing more and more 
over time. So the package manager portage (and it's frontend emerge) for 
example are behaving a little different already. Packages are named different, 
versions differ, and so on.
It would be great if one could differ between Funtoo and Gentoo in his 
manifests to install different package versions on Funtoo/Gentoo or package 
versions or deliver different configurations.

You can differ between Funtoo and Gentoo Linux from the content of the file 
/etc/gentoo-release

Funtoo:
jb2 ~ # cat /etc/gentoo-release
Funtoo Linux - baselayout 2.1.8

Gentoo:
gentoo-ds ~ # cat /etc/gentoo-release
Gentoo Base System release 2.1

Best regards,
Marc


-- 
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