Closed josegonzalez closed 8 years ago
@josegonzalez -- this is already possible; you just have to specify the SUBCOMMAND
type when invoking fpm-cook
. For instance:
$ fpm-cook package -h
Usage:
fpm-cook package [OPTIONS] [RECIPE]
Parameters:
[RECIPE] the recipe file (default: "recipe.rb")
Options:
-c, --color toggle color
-D, --debug enable debug output
-t, --target TARGET set desired fpm output target (deb, rpm, etc)
-p, --platform PLATFORM set the target platform (centos, ubuntu, debian)
-q, --quiet Disable verbose output like progress bars
-V, --version show fpm-cookery and fpm version
--[no-]deps enable/disable dependency checking
--tmp-root DIR directory root for temporary files
--pkg-dir DIR directory for built packages
--cache-dir DIR directory for downloaded sources
--data-dir DIR directory for Hiera data files
--hiera-config FILE Hiera configuration file
--skip-package do not call FPM to build the package
-h, --help print help
Oooh fance, didn't see that. Thanks!
It would be great to be able to specify a specific
recipe.rb
on the cli. For instance, one might want to place many runtimes in a single directory, which would enable the following:Files said recipes would use could be generic across all the recipes, so duplicating them for each recipe would be a bit annoying.