Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After a fair bit of digging, i stumbled across this thread ( puppet user mail list) which led me to a simple solution that seems to be working

adding a ".sort" to the template line appears to have resolved my issue

So my template line now looks like this:

<% @ncpa_passive_checks.sort.each do | key,hash | %>%HOSTNAME%|<%= hash['test_name'] %> = <%= hash['ncpa_branch']%> <%= hash['args'] %>

So far this has worked, so i'll leave the rest as it is... but I have a feeling the other solution presented would work as well in the event my "solution" has issues...