Install modules on nodes without internet
To manually install a module on a node with no internet, download the module on a connected machine, and then move a module package to the unconnected node. If the module is a PE-only module, the download machine must have a valid PE license.
Before you begin: 
                                                
                                            Make sure you have PDK installed. You'll use PDK to build a module package that you can move to your unconnected node. For installation instructions, see the PDK install docs.
 On machines with no internet access, you must install
                    any module dependencies manually. Check your dependencies at the beginning of
                    this process, so that you can move all of the necessary modules to the
                    unconnected node at one time.
                                            - On a node with internet access, run 
puppet module install puppetlabs-<MODULE> - Change into the module's directory by running
                        
cd <MODULE_NAME> - Build a package from the installed module by
                    running 
pdk build - Move the 
*.tar.gzto the machine on which you want to install the module. - Install the 
tar.gzpackage with thepuppet module installcommand. For example:puppet module install puppetlabs-pe_module-0.1.0.tar.gz
 - Manually install the module's dependencies.
                    Without internet access, 
puppet module installcannot install dependencies automatically.