wondering what the generally accepted best-pratices are for handling
hierarchical custom facts in facter. Right now, we're using underscores.
For example, if I'm collecting infromation about the raid array, it would
be something like this:
custom_hw_localstorage_ctrl_0_array_0_raid => 1
custom_hw_localstorage_ctrl_0_array_1_raid => 5
Where the implied hierachy is something like:
0: raid = 1
1: raid = 5
And of course, there would be many, many more sub-items under "custom",
"hw", "localstorage", etc...
I'm using the facter 2 and puppet 3 RCs and I know they have hiera
included, but I'm not sure if or how that could help with this. Ultimately,
I'd like to be able to use these facts for decision making in puppet.
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/9Zy_zeh12owJ.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.