To support authentication, you need to add your Artifactory credentials to your puppet.conf
file:
Note: your credentials should be formatted as username:password
as a Base64 encoded strings
Your Artifactory credentials, formatted username:password
as Base64 encoded strings.
For example:
[main] module_repository=http://admin:AP7eCk6M6JokQpjXbkGytt7r4sf@localhost:8080/artifactory/api/puppet/puppet-local
Note
Make sure you have an Artifactory user in order to publish modules.