Created
January 27, 2015 12:40
-
-
Save halfninja/cacf43ce67e85b9644da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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