Actions
Bug #35886
closedAllow installed_debs method
Difficulty:
trivial
Triaged:
Yes
Pull request:
Description
I need to use installed_debs method in my Job template to search a installed packages in Debian/Ubuntu hosts. Like that https://github.com/maccelf/foreman_kernel_care/blob/552a493012762938db3c29f1cbfd5643900e8a0c/app/views/foreman_kernel_care/job_templates/kernel_version.erb#L11
So to do it i need to allow installed_debs method in class ::Host::Managed::Jail
class ::Host::Managed::Jail < Safemode::Jail
allow :installed_debs
Actions