Issue #13680 has been updated by Ken Barber.
I've separated the Facter ticket out to #13683 to track it, and linked it as a blocker. This ticket I'm typing in now can now be used to track any Puppet work. So from a Puppet perspective with #13683 - if we distinguish the operatingsystem for 'funtoo', the portage provider confine will not work. We could possibly include 'funtoo' in the confines to make it work. Even with such a patch - the cost here by breaking out the 'operatingsystem' fact: if someone happens to run a newer version of facter, and an older version of Puppet (with say a package patch added) 'funtoo' may stop working. While in the future we are considering pinning the minimum Facter revision to a Puppet revision, this kind of scenario is only really fixed with pinning a maximum version as well - to avoid users from running a more modern (possibly breakable) version of Facter. So I think for 'package/portage.rb' a safer attitude is to remove the confine instead of adding 'funtoo' too it and rely on the commands to confine ... thus clearing the reliance on the fact being right. For 'service/gentoo.rb' we could do a similar thing, since rc-update seems to be 'gentoo' specific, but I'm not so sure about this. ---------------------------------------- Feature #13680: Distinguish "Funtoo" from "Gentoo" Linux https://projects.puppetlabs.com/issues/13680#change-59781 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: https://github.com/puppetlabs/facter/pull/190 [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.
