Skip to content

Instantly share code, notes, and snippets.

@jradmacher
Created December 29, 2020 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jradmacher/fc373c4aa99cffca2baefda9702b5f97 to your computer and use it in GitHub Desktop.
Save jradmacher/fc373c4aa99cffca2baefda9702b5f97 to your computer and use it in GitHub Desktop.
find . -iname 'metadata.json' -exec bash -c 'jq ".requirements[]| select( .name == \"puppet\" )|.version_requirement" {} |grep -v -P -e "[7-9]\.0\.0\"$" ' \; -printf "%p\n\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment