Hi Martin
On 03/08/17 08:58, Martin Simons wrote:
> In CFEngine 3.7.5
> On a Debian Wheezy box sys.flavour reports: debian_wheezy (where it
> reported debian_7 previously)
> On a Debian Jessie box sys.flavour reports debian_8, like it used to.
I am running 3.7.5 on a laptop, and Debian stretch. Everything looks
normal here (see output below).
I don't remember about wheezy throwing out the debian_wheezy class, it
was too long ago. However, I remember we had to build a debian_info
bundle in Opera to get consistent information about debian. One of the
things was to build classes like debian_wheezy or debian_jessie using
classmatch(). So it's either that the debian_${codename} was not there
after wheezy, or that it wasn't there at all for any distribution.
> bronto@nelson:~$ lsb_release -d
> Description: Debian GNU/Linux 9.1 (stretch)
> bronto@nelson:~$ sudo cf-agent -V
> CFEngine Core 3.7.5
> bronto@nelson:~$ sudo cf-promises --show-classes | grep debian
> debian inventory,attribute_name=none,source=agent,hardclass
> debian_9 inventory,attribute_name=none,source=agent,derived-from=sys.flavor,hardclass
> debian_9_1 inventory,attribute_name=none,source=agent,hardclass
> debian_pure source=promise,inventory,attribute_name=none
> bronto@nelson:~$ sudo cf-promises --show-vars | grep 'flavo'
> default:end.sys#flavour debian_9 source=agent
> default:inventory_os.sys#flavor debian_9 source=agent
> default:sys.flavor debian_9 inventory,source=agent,attribute_name=none
> default:sys.flavour debian_9 source=agent
> bronto@nelson:~$
ciao
-- bronto