There are two ways to deploy packages to a local repository:
Using the Artifactory UI Once you have created your Puppet repository, you can select it in the Tree Browser and click Deploy to upload the Puppet module. Select your module(s), and click Deploy.
Using Artifactory REST API
curl -uadmin:AP7eCk6M6JokQpjXbkGytt7r4sf -XPUT http://localhost:8080/artifactory/puppet-local/<TARGET_FILE_PATH> -T <PATH_TO_FILE>