I wrote my own fact for facter. And as you can see from my copy and
paste it appears to be working.
disk => ["/dev/sda", "/dev/sdb"]
disk_count => 2
The problem I appear to have is. This is the code for my template.
<%- @disk.each do |dev| %>
disk <%= dev %>
<%- end %>
And the result I get back is/
as opposed to
Would anyone know why I am getting a string as opposed to an array.
Another question, if you dont mind. Is there a reason why the interfaces
fact is a string and not an array?
interfaces => eth0,eth1,lo
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.