I'm using Facter 3.
For example in a message of the day module i'm using this syntax in my .erb template:
- This system is running: <%= @operatingsystem %> (displays "CentOS")
- Filesystem Type: <%= @filesystems %> (displays "xfs")
But I want to display the output of the fact: "os => release => full" instead of operatingsystem (to display: "7.1.x")
What is the correct syntax in using a more deeply nested fact in an .erb template?
↧