Closed nerdalertdk closed 2 years ago
I'm only trying Omaha to get access to the transpile_container_linux_config
since the pull request for adding ignition support in Foreman have been ready since 2020 with no merge 😞
Hi @nerdalertdk,
my Foreman 2.3 environment works fine with a minimal template of
<%= transpile_container_linux_config({}) %>
This results in:
{"ignition":{"config":{},"security":{"tls":{}},"timeouts":{},"version":"2.2.0"},"networkd":{},"passwd":{},"storage":{},"systemd":{}}
I also had a look at my local dev box with Foreman 3.0.0 where the Macro is broken. I will look more into this.
Hi
I am using Foreman 3.0, so good to know i'm not alone :)
Can you have a look at https://github.com/theforeman/foreman_omaha/pull/57 and see if this solves your problem?
Hi
Had to manual overwrite the files but you're fix works :D
Hi
After installing Omaha and trying to use the
transpile_container_linux_config
I'm getting this error I can see from the Help section "Global methods (macros)" the macro should be availableTemplate is pretty basic