Skip to content

Instantly share code, notes, and snippets.

@halfninja
Created January 27, 2015 12:40
Show Gist options
  • Save halfninja/cacf43ce67e85b9644da to your computer and use it in GitHub Desktop.
Save halfninja/cacf43ce67e85b9644da to your computer and use it in GitHub Desktop.
#!/bin/bash
# vi:syntax=bash
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
cd "${SCRIPT_DIR}/.."
# Install the required Puppet modules from a special Puppetfile into a special directory.
PUPPETFILE=Puppetfile.docs \
PUPPETFILE_DIR=docs_modules \
bundle exec r10k puppetfile install
# Now run `puppet strings`
bundle exec puppet strings --modulepath=docs_modules "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment