You can add modules to a Bolt project on an (air-gapped) offline workstation by adding them from a release tarball, by configuring an alternate Forge, or by configuring a proxy.
Version and installation information
PE version: All supported versions.
Installation type: air-gapped
Solution
Choose one of these options based on your deployment.
Add modules using a release tarball
-
To create a
modules
directory in the Bolt project directory:mkdir modules
-
To install a module, run the
install
command from the Bolt project directory:puppet module install /path/to/module/tarball -i modules --ignore-dependencies
For example, to install a release tarball that’s saved to the home directory:
puppet module install ~/puppetlabs-stdlib-6.6.0.tar.gz -i modules --ignore-dependencies
After running the install
command, your Bolt project directory has this structure:
$ tree -aL 2
.
├── bolt-debug.log
├── bolt-project.yaml
└── modules
└── stdlib
Add modules using an alternate Forge
Configure Bolt to use an alternate Forge when it installs Forge modules using steps in our documentation.
Add modules using a proxy
Configure a proxy to install modules using steps in our documentation.
How can we improve this article?
0 comments
Please sign in to leave a comment.
Related articles