Molder is a handy command line tool for generating and running (in parallel, using a pool of processes with a configurable size) a set of related and yet different commands. A YAML file defines both the attributes and the command template, and Molder then merges the two with CLI arguments to give you a consistent set of commands for, eg. provisioning thousands of virtual hosts in a cloud. The gem is not limnited to any particular cloud, tool, or a command, and can be used across various domains to generate a consistent set of commands based on the YAML-supplied attributes and templates, that might vary across custom dimensions. For example, you could generate 600 provisioning commands for hosts in EC2, numbered from 1 to 100, but constrained to the zones "a", "b", "c", and data centers "dc" (values: ['us-west2', 'us-east1' ]). Behind the scenes Molder uses another Ruby gem Parallel — for actually running the provisioning commands.
Required Ruby Version
>= 0
Authors
Konstantin Gredeskoul
Versions
-
0.2.1
-
source
- 0.2.1 source April 13, 2018 (383 KB)
-
-
0.2.0
-
source
- 0.2.0 source April 13, 2018 (320 KB)
-
-
0.1.4
-
source
- 0.1.4 source April 02, 2018 (319 KB)
-