Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2019 14:20:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240566] sysutils/facter
Message-ID:  <bug-240566-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240566

            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@FreeBSD.org
          Reporter: albert.shih@obspm.fr
             Flags: maintainer-feedback?(puppet@FreeBSD.org)
          Assignee: puppet@FreeBSD.org

Hi,=20

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.=20

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 so=
me
legacy variable.

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

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

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 lega=
cy
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240566-7788>