Wednesday, October 5, 2016

Puppet module install on puppetmaster


Puppet module install on puppet master from puppetforge online repository.


If your Puppet master server is behind a proxy server, set the following, replacing <PROXY IP> and <PROXY PORT> with the proxy’s IP address and port:

export http_proxy=http://<PROXY IP>:<PROXY PORT>
export https_proxy=http://<PROXY IP>:<PROXY PORT>



  1. To search for a puppet module , run the following command from the puppet master server.
puppet module search < module_name >

eg: 

puppet module search apache






 2. To  install the puppet module from the search result

puppet module install puppetlabs-apache



3.  The installed modules file can be found in the location /etc/puppetlabs/code/environments/production/modules/ [for puppet enterprise edition]




No comments:

Post a Comment