Puppet Install Enterprise Module

I did this kind of action when I have installed this module https://forge.puppetlabs.com/puppetlabs/sqlserver
as is possible read from the web page

If you have a valid PE license, you can install by running the following command on your master:

I had many errors with my firsts attempts
 puppet module install puppetlabs-sqlserver
Notice: Preparing to install into /home/giuseppe/.puppet/modules ...
Notice: Downloading from https://forge.puppetlabs.com ...
Error: Could not execute operation for 'puppetlabs/sqlserver'
  The server being queried was https://forge.puppetlabs.com
  The HTTP response we received was '403 Forbidden'
    Check the author and module names are correct.

and also with
puppet module search puppetlabs-sqlserver

I didn't find the module
It is important follow the rule written here https://docs.puppetlabs.com/pe/latest/modules_installing.html#puppet-enterprise-modules
  • Are you logged in as the root user? If not, log in as root and try again.
  • Are you using either the puppet module install or puppet module upgrade command? If not, you must use the Puppet module subcommands to install or upgrade Puppet Enterprise modules.
  • Does the node you’re on have a valid Puppet Enterprise license? If not, switch to a node that has a valid PE license on it.

to do this you need to put the key file license in /etc/puppetlabs/license.key and verify with the command

puppet license
  • Are you running Puppet Enterprise 2015.2? If not, you will not be able to download Puppet Enterprise modules until you upgrade. you need to upgrade to the latest version of puppet enterprise master or you can't find some modules
  • Do you have access to the internet on the node? If not, you need to switch to a node that has access to the internet.
Salvo diversa indicazione, il contenuto di questa pagina è sotto licenza Creative Commons Attribution-ShareAlike 3.0 License