Actions
Feature #6618
closedProvide a helper to indent in templates
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
When creating a cloud-init user data script, one may want to use the write-files directive to write out Foreman snippets, which would need to be indented. I'd like to add a helper called indent so I can do something like this:
#cloud-config some_directive: true foo: bar write_files: - path: /root/freeipa.sh permissions: '0755' content: | <% indent 4 do snippet "freeipa-register" end %>
Actions