https://github.com/maccelf/foreman_kernel_care/blob/b926a5247f6b17f573e1a2a31b8441ac79515981/app/models/concerns/foreman_kernel_care/host_managed_extensions.rb#L67
What is the reason, why SQL querries are used instead of using Active Record?
Additionally, keep in mind that debian packages are using different model than RPM packages.
https://github.com/maccelf/foreman_kernel_care/blob/b926a5247f6b17f573e1a2a31b8441ac79515981/app/models/concerns/foreman_kernel_care/host_managed_extensions.rb#L67
What is the reason, why SQL querries are used instead of using Active Record?
Additionally, keep in mind that debian packages are using different model than RPM packages.