> What do you mean by once? It's slow? Or some other reason? > I need to get the first item, then the second, and if the second is not > there pass the first. > (ip_list is a custom fact that lists the machines ip addresses sorted, > except 127.0.0.1)
if you already have custom facts, why not do the decision in another custom fact, which is based on the output on the ip_list fact and which does this logic for you? cheers pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.