From: James Edward Gray II Date: 2010-10-26T04:36:31+09:00 Subject: Re: DSL and indirection question On Oct 25, 2010, at 2:20 PM, Matt Lawrence wrote: > I'm trying to figure out the best way of writing a script that describes various requirements in the form of "12.34.56" (from a requirement document) that I can then create methods for reporting, verifying and remediating the requirment on a system. > > This is script for checking and fixing systems based on a bunch of security requirements. There are a couple of hundred rules and a few hundred systems. I am thinking about building a hash of Procs, but I think it is going to be too ugly. Any suggestions on a clean and easy to read way of doing this? This almost sounds like a job for Chef or Puppet, if I understood correctly. I'm not really getting what you are aiming for here. Can you show a simple example or two? James Edward Gray II