canonify'ing / classify'ing the LHS of a class statement

2012-10-04 Thread Mike Svoboda
I'm writing a policy that will test network firewall rules to make sure basic pieces of infrastructure work. Here's an example of something I have written in policy. vars: "ntp_service_hosts" slist => {"box1-linkedin.com", "box2-linkedin.com," }; classes: "ntp_udp_failure_$(ntp

slist inside array

2012-10-04 Thread dennis . cabooter
Hi all, The slist I put into the array doesn't expand. Can anybody tell me how to get this right? Please review the code below. Many thanks in advance. bundle agent manage_services { vars: "services[ntp][service]" string => "ntp"; "services[ntp][config]" string => "/etc/ntp.co