Here's my obscure learning of the day. If you're in the top directory
of a puppet module and execute "puppet module build," the resulting
file is the same as
$PWD/pkg/$(jq -r '[.name,.version] | join("-")' < metadata.json).tar.gz
Which might be handy if you're installing a module locally. You can
bundle that into a makefile target or a utility script:
puppet module install --force \
$PWD/pkg/$(jq -r '[.name,.version] | join("-")' < metadata.json).tar.gz
You'll need the very handy 'jq' utility installed; it's available in
most distro package sets.
--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W
_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug