[Bug 240566] sysutils/facter

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 13 14:20:46 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240566

            Bug ID: 240566
           Summary: sysutils/facter
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: puppet at FreeBSD.org
          Reporter: albert.shih at obspm.fr
             Flags: maintainer-feedback?(puppet at FreeBSD.org)
          Assignee: puppet at FreeBSD.org

Hi, 

I'm not 100% sure the problem are come from facter, because even if I use a lot
puppet/facter I'm not very aware of the code himself. 

I event don't have any idea if the problem come from ruby or facter.

Anyway between facter-3.14.3/Ruby-2.5 and facter-3.14.3/ruby-2.6 we lost some
legacy variable.

With ruby 2.6
[root at filer]# facter --show-legacy|grep ^opera
operatingsystem => FreeBSD
[root at file]# facter --version
3.14.3
[root at filer]# ruby --version
ruby 2.6.4p104 (2019-08-28 revision 67798) [amd64-freebsd12]

with ruby2.5
[root at filer]# facter --show-legacy|grep ^opera
operatingsystem => FreeBSD
operatingsystemmajrelease => 12
operatingsystemrelease => 12.0-RELEASE-p9
[root at filer]# facter --version                
3.14.3
[root at filer]# ruby --version  
ruby 2.5.6p201 (2019-08-28 revision 67796) [amd64-freebsd12]
[root at filer]# 

I can understand legacy variable will some day goes away, but because facter
version did't change I will say it's not normal. I've no idea when the legacy
variable will be remove but currently (modules are mainly from puppetlabs)

[root @ modules]$ find . -type f -name "*.pp" -exec grep -l
operatingsystemmajrelease {} \;|wc
     35      35    1171

So...no close to be remove


Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list