Hi,
when i am trying to do puppet custom facts to split [1,2,3,4,5] to
1
2
3
4
5
*It is throwing me error:*
*Error: Could not retrieve local facts: undefined method `split' for [1, 2,
3, 4, 5]:Array*
*Here is my facts*
*require 'facter'ary = [1,2,3,4,5]ary.map { |i| "'" + i.to_s +
"'"}.join(",")#str = ""ary.each do |i|#id,val = row[i] val = ary.split
","Facter.add("base") do setcode do iendendendAnyone, please help me*
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-dev/910ad676-77c4-43d1-8a95-42e398ab249d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.