Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Suspecting that it might be a scope issue, I made the following change:

    exec { "grubby --update-kernel=DEFAULT --args=\"${kdump::params::grubby_param}\"":
        path => ["/sbin", "/bin" ],
        unless => "grep -q -E \"kernel /vmlinuz-$kernelrelease .* ${kdump::params::grubby_param}\" /etc/grub.conf",
    }

After making this change, the variable 'came into existence'. I do not know if that is the way you are supposed reference variables 'included' from other classes. It does not align with many examples that I have seen.