I don't actually access any Facter facts currently in my kickstart.erb
file, but I think the syntax would be something like this:
node.facts['bios_release_date']
I believe you should be able to access any of the sources of information
listed when you run:
razor nodes $node-number | grep 'additional details'
So, that'd be these sources of information:
[facts, hw_info, log, metadata, policy, state, tags]
For example, I use a kickstart variable in my kickstart.erb:
partition_type="<%= node.metadata['partition_type'] %>"
if [ "$partition_type" == "small" ]; then
...
fi
partition_type is a custom variable that's part of the node's metadata
that we set manually:
razor update-node-metadata node12 partition_type small
--
Brian McNally
> --
> You received this message because you are subscribed to the Google
> Groups "puppet-razor" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
puppet-razor...@googlegroups.com
> <mailto:
puppet-razor...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/puppet-razor/9bb77067-84cb-4fe8-8445-c2db75ac4760%40googlegroups.com
> <
https://groups.google.com/d/msgid/puppet-razor/9bb77067-84cb-4fe8-8445-c2db75ac4760%40googlegroups.com?utm_medium=email&utm_source=footer>.