puppet-modules | Puppet Modules meta-repository | Configuration Management library
kandi X-RAY | puppet-modules Summary
kandi X-RAY | puppet-modules Summary
The modules present here are either self-contained or depend exclusively on other modules present here, detailed in each module’s Modulefile. The modules should all be very easy to understand and reuse. See each module’s README file for more information, as well as the auto-generated documentation. One of the goal is to only perform the repetitive and generic parts, leaving all specificties outside of modules, yet providing means to inteface them cleanly. A good example would be the ISC BIND DNS server, for which zone files installed with the provided definition automatically reload named when changed. Most of these modules can be downloaded from the Puppet Forge here :
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of puppet-modules
puppet-modules Key Features
puppet-modules Examples and Code Snippets
Community Discussions
Trending Discussions on puppet-modules
QUESTION
I am experimenting with Puppet using Vagrant. I'm new to Puppet.
I'm installing modules in my Puppet manifest using the approach suggested at: Can I install puppet modules through puppet manifest?
My default.pp contains something like:
...ANSWER
Answered 2017-Dec-12 at 15:39No, you cannot do this. When your catalog is compiled, Puppet will search in the appropriate directories for all of the required code and data. Since the java
module does not exist until catalog application, the compilation of a catalog (occurs prior to application) depending upon it will fail. You are absolutely dealing with a "chicken and egg" situation here. I highly recommend against using Puppet code to install Puppet code.
Alternatively, the recommended approach to install and manage your Puppet modules is to use one of these solutions:
- librarian-puppet: http://librarian-puppet.com/
- r10k: https://github.com/puppetlabs/r10k
- code-manager (PE only): https://puppet.com/docs/pe/2017.3/code_management/code_mgr.html
These will also solve the problem for you within the Vagrant if you are using the agent
provisioner and subscribing the Vagrant instance to a Puppet Master.
If you are using the apply
provisioner inside of Vagrant, then you will need to go a different route. The simplest solution is to use the shell
provisioner to install Puppet modules via module install
after the Puppet installation (unless you are using a Vagrant box with Puppet baked in, in which case you are probably not installing Puppet on it). Alternatively, you could share a directory with the host where your modules are installed, or install the librarian-puppet
or r10k
gems onto the Vagrant box and then use them to install into the appropriate path. I can go into more detail on these upon request.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install puppet-modules
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page