nwops / puppet-debugger

A interactive live debugger and REPL for the puppet language
https://gitlab.com/puppet-debugger/puppet-debugger
MIT License
121 stars 11 forks source link

Facterdb default filter no longer works #76

Open b4ldr opened 2 months ago

b4ldr commented 2 months ago

This is related to the fact that factedb has dropped support for legacy facts in facterdb v3

There is a previous similar issues but i suspect its unrelated https://github.com/nwops/puppet-debugger/issues/46

b4ldr commented 2 months ago

Im also seeing issues the facterdb 2.1.0 I recive the following error

Using filter: operatingsystem=Fedora and operatingsystemrelease=23 and architecture=x86_64 and facterversion=/^3\.1/
Bad FacterDB filter, please change the filter so it returns a result set.
See https://github.com/camptocamp/facterdb/#with-a-string-filter

however running the following works

$ facterdb operatingsystem=Fedora and operatingsystemrelease=23 and architecture=x86_64 and facterversion=/^3\.1/

For now i have got things working using the debian bookworm version 1.12.1-1