voxpupuli / puppet-augeasproviders_grub

Augeas-based grub type and providers
Apache License 2.0
9 stars 33 forks source link

modulesync 6.0.0 #72

Closed bastelfreak closed 1 year ago

bastelfreak commented 1 year ago

modulesync 5.3.0

bastelfreak commented 1 year ago

I'm wondering if the acceptance tests are even supposed to work in docker

smortex commented 1 year ago

I'm wondering if the acceptance tests are even supposed to work in docker

I think you are right. Since there is no kernel to load in docker, the images do not have grub installed. While we can install it, it is not functional form the acceptance tests point of view:

    Error: /Stage[main]/Main/Kernel_parameter[audit]: Could not evaluate: Execution of '/usr/sbin/grub-mkconfig' returned 1: /usr/sbin/grub-probe: error: failed to get canonical path of `overlay'.
    Error: Could not prefetch grub_user provider 'grub2': No grub configuration found at '/etc/grub2.cfg', '/etc/grub2-efi.cfg', '/boot/efi/EFI/debian/grub.cfg', '/boot/grub2/grub.cfg', '/boot/grub/grub.cfg'

Looks like the acceptance tests would work in a VM.